« first day (698 days earlier)      last day (2777 days later) » 

11:00
let me show you what i have in pastebin
@CodingTiger ok got it
you should first check whether its SoapFault or result
SoapObject
solution?
how?
@ChintanRathod need one help just call me now
wait @X'Factor
if( envelope.bodyIn instanceof SoapFault ){
}
else{
@CodingTiger there is a SoapFault thrown by middleware! may be you are passing wrong argument or some error should be server side
just trying to read in a file and save contents to db table
but it says no such table
@CodingTiger Check your SoapBody. check params that you are passing, is it going in proper formate ?
hi @MDroid
after a long time
11:05
@KalaJ search for some db samples
yeah I did... I'm sure my helper and contract class are correct... I'm just curious if there's anything extra I need to do in my main activity.
i m busy right now, maybe later
that's fine, no need, I'm sure it's something minor I'm overlooking thank you
@Anjali yes :) how are you ?
11:08
@CodingTiger you are passing wrong args in : GetUserDetails
Server did not recognize the value of HTTP Header SOAPAction GetUserDetails
@MDroid then what to do, yhiu method diya hai server walo ne yr
English plz.
@CodingTiger you are not passing Header Value
you mean host url?
@ItachiUchiha ??
11:16
@MDroid I am fine .tell about u?
@Anjali just enjoyed Holidays after long time.. now back to work :)
@Anjali Yes
youtube.com/watch?v=xBSlGqIHSDU @TheLittleNaruto @AliAshiq :p
When I try to inflate view, I get non static method cannot be referenced from a static context : view = Inflater.inflate(R.layout.collection, getParent(), false);
@MDroid @TheLittleNaruto I am getting nullpointer exception in mapView.onResume() in some devices .but work well in some others.why it's so.
11:25
Use Inflater.inflate(R.layout.your_layout, null);
@KalaJ
doesn't work
it says cannot resolve method
inflate(int, null);
lol its Inflater class u are using then
Make a global LayoutInflater Inflater;
@Anjali mapView.onResume() ?
LayoutInflater Inflater;
Activity act;
String urls[];

public ViewPagerAdapter(Activity a, String i[]) {
urls = i;
act = a;
Inflater = (LayoutInflater) act
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}
lol thank you
11:28
@TheLittleNaruto yes
@berserk xD
I thought the method would be called from Inflater when I imported it
@Anjali I dont understand
Nah its LayoutInflater
follow this @KalaJ
Mine is going to be a little difference since i'm not using urls
((ViewPager) collection).addView(v1, 0);
what is collection?
the array of images?
11:30
@Override
public Object instantiateItem(View collection, int position) {
SmartImageView ?
@TheLittleNaruto As map is working well .But sometime crashes and in this line getting null pointer exception
View coming from instantiate item
also I did change SmartImageView to ImageView
Thats fine @KalaJ
I used SmartImageView coz of urls
11:31
ah ok
@CodingTiger get the solution??
@berserk Wow! I dint know about SmartImageView. Thanks :)
You should thank berserk :D
O_O
really? @TheLittleNaruto
11:32
but UIL is better options
SmartIV may crash app when large no of images or heavy ones
it gives OOM sometimes :D
btw, instead of your args for deleteItem I did,
container.removeView((RelativeLayout) object);
@berserk It has list of issues unresolved yet as well!
@KalaJ Just copy this:pastie.org/9624423#12
Hi, I have a NullPointerException with my java code.. probably something simple to solve, but I'm not an expert and would need some help, anyone? :)
11:34
Modify this code in instantiate
@TheLittleNaruto yes
@sachalondon try taking help from logcat :P
@berserk thanks, can i find him here?
@TheLittleNaruto : hi
@sachalondon maybe xD
11:36
@ChintanRathod no
@berserk just got the joke -_-
hehehe :D
still googling @ChintanRathod
@Anjali no idea!
logcat is easy to read
\it will give u exact line of crash
try it urself
it will help a lot in future ^^
11:38
@berserk yes thanks, i've debugged a code and know where it crashes but i just don't know how to fix it haha
lol
null pointer means some variable is null
check what is null and why.
@berserk i know what's null, but don't know why :P
@CodingTiger have you tried my solution
?
@Anjali show your code
@ChintanRathod bhai tumne solution kb diya :(
if( envelope.bodyIn instanceof SoapFault ){
}
else{
}
11:40
@Anjali make sure mapView.onCreate() is called
@CodingTiger don't use Hindi language dear... its restricted..
@sachalondon ok show code and tell which variable is null/
hi
everyone
berserk ur name??
11:42
Ankit Garg
:3
urs?
btw, does the android.support.v4.view.ViewPager be inside the RelativeLayout I'm using or outside or in a separate view file?
inside the parent view of ur activity layout
@ChintanRathod yeah,, i know. but i never follow the rules :)
@berserk ok.. then berserk means??
me anamika
so inside the <RelativeLayout> </RelativeLayout> or outside because I think I got an error by including them inside the tags
11:45
@CodingTiger :P
something like java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.support.v4.view.ViewPager
actually I just made a separate view for it
raged warrior it means @anamika
@berserk hi sorry pastebin.com/nJmC8iP7, the null variable is "line" - error is coming from Scanner scanner = new Scanner(line);
@girl sorry
seems to work
11:49
@KalaJ so its working?
no, not yet
problem with instantiateItem() right now
I'm going to try and fix something and see if it works
@sachalondon ur line variable is null,maybe the file which u read has no content.
kk @KalaJ
@berserk checked that, the file has content..
I think it's because I'm getting a null pointer exception at this line: view = Inflater.inflate(R.layout.collection, null);
@berserk u dont know? ok ok
11:51
use debug points and check whether it is reading anything or not?
@gIrL i know lol
it means raged warrior
btw, it seems like destroyItem() is deprecated?
@berserk the file definitely has content since the while loop counts the correct number of lines in the file
@KalaJ dont worry about it :P
@berserk ohhh gud
lol u said line variable is null @sachalondon
@gIrL :P
11:59
In your example, why are you using image urls?
Is it better to use urls vs. drawables?
@berserk yes it is after the while loop that counts the lines.. so is it because i've reached the end of the file, so when i do readLine again, it's obviously null? then how would i go back to the beginning of the file
@berserk @CodingTiger how to get the checkbox status is it checked or not .? we can check checkbox by using checkbox.isChecked().How to get status to save the status.
9
A: How to show installed app list in a listview without Checkbox getting unchecked when listview is scrolled?

Coding TigerActivity import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.pm.PackageInfo; import android.os.Bundle; import android.widget.ListView; public class AppScreen extends Activity { private ListView list; ArrayList<Datamodel> res; MyAdapter _adapte...

@Harish
@KalaJ depends
The problem is my view that gets loaded is a black screen
and the error I get in my logcat is a nullferencepointer
when I inflate the view
Right now I'm only testing with one image
not sure why the view doesn't get loaded
12:06
@sachalondon take a temporrary string and keep appending the string on it. At the end, temporary string will contain all data
@KalaJ show the adapter code
are u applying adapter to viewpager?
Adapter code
yes I am
it is activity code
oh opps
sorry
one sec
I read what you wrote too fast
12:23
Greetings
Hi karl
Hey Karl, how are you doing ?
Expecting sarcastic reply on it lol
:P
I am doing....Annoying morning. My server wouldn't let me access it directly. [No display on screen] or even remotely. I could access files, but not the server itself...
Sorry Berserk, everybody has an off day...This is mine.
12:34
How is everyone here?
same off day. Feeling a little sick and I need to get this viewpager thing working
so frustrating lol Something so simple yet so complicated lol
One of those days where to fix it all you REALLY needed to do was swap the positions of two variables in a method, but took two weeks to figure that out huh?
Hello everyone :)
Greetings!
12:37
@ChintanRathod
I am working in Augmented Camera app in which i have to show some location pics on a camera surface. the problem that am facing is when the distance of locations are too far then the pics got overlap. Found some collision of bitmap theories but its not working. Any suggessions?
yeah something like that Karl
@nisha Greetings!
hi @Karl
How you?
12:43
i am fine and you?
@CodingTiger ??
Typical...[Outside of some server annoyance this morning
means ?
he is facing server issues
I couldn't access my server itself, either at keyboard, or remotely... Not a great way to start a day
...and right now, I can't remote into it...
brb
12:46
@ItachiUchiha hi
is it possible to show only numbers and decimal except other characters
@gIrL yes of course
use regex
m talking abt keyboard
setInputType on that edittext
numberdecimal maybe
12:48
no tried that
doesnt worked
it shows other special characters also
;P
but they are not printed, do they? :3
My fan fell off the heat sink of the video card!!!!
12:50
i just need to hide other characters
from keyboard
MELTED off...
I guess that depends on keyboard of the device
@_@
That much heat?
ohh ok
@berserk do u remember one thing?
what?
12:52
Must have...
I don't have many spare video cards laying around either...
@berserk once u sent me apk in which ur google map there
Sad @Karl
what programs were u running?
@X'Factor yes i do
@ChintanRathod bhai need help now.
@berserk in that did u code for camera change listener
confuse hu, its server error or android client eror
12:54
@CodingTiger can send me apk og urs for test
one simple question i am confused when i update my record using update query and it returns 1 that means record will updated or some thing change in database
?
@CodingTiger ya tell me
good evening all
@X'Factor no
I think I'm dumping in a stupid PCI card that barely does VGA
12:55
lol nisha ge
@ChintanRathod same class cast error
@nisha You leaving me? Was it something I said?
:P
@X'Factor dekhna pdega bhai , khi hai ya ni.
becuase final code is on the server
@Karl i am not leaving
:)
12:56
@X'Factor also i did socket programming in that bro, my requireemnt is very diffrent
:)
and i think you have to use background service to update map in onlocation chnage listener
@CodingTiger ok
@nisha guddu!!
hi @X'Factor
@nisha i wished good evening as a Gudduuu
12:59
ohh good evening @X'Factor :)
understood good, but what about evening? :P
sochna padega
@ChintanRathod
kya @X'Factor?
for evening
13:01
acha
Are please koi batao google map move with current location update
use thread lol
when u update location pointer, animate camera
Already on location changed method i have animated camera
great.
@nisha :P
@nisha is this ur real name?
13:03
yes
@X'Factor
Great . Nice it is
thank you :)
@Berserk, no luck finding out what's wrong with adapter?
0
Q: How to navigate in a gridview only with DPAD?

rekireI have a multi tab application which implements a calendar. Now I'm thinking about the usage on a TV where I can use only the dpad. (Of cause there will be no tabs in the final version) I'm displaying more than 500 rows (weeks) so I cannot jump to the top navigation (ActionBar) straigt forward. ...

SCNR @TheLittleNaruto
WC :) @nisha
13:05
:)
@KalaJ i will tell u after office
what is your name @X'Factor ?
after office?
@nisha Piyush
13:05
ok
what do you mean? lol
after work?
ya loll
:) nice name
ah gotcha, thank you :D
@nisha tenku!!
13:06
@X'Factor
@TheLittleNaruto you could not resist fixing too he?^^
xD
When you'll make it, show me a video how you made it ^^
The cycle calendar already runs on it haha just the ads cannot been opened lol
13:11
Can you check for screen size and hide the visibility of Ads ?
I already detect if my app runs on a amazon tv
hi @TheLittleNaruto.
Or., you want it to be opened ?
I guess it must be possible to open it (for the ads customers)
Did you try to open it?
@nisha hey
13:13
yeah it showed me the doubleclick url^^
how are you @TheLittleNaruto ?
double click it then :D @rekire
lol
@nisha I am fine. Thanks. how are you ?
i am fine .
13:16
Greetings Rekire!
hey @Karl
@KavinKumar you need more reputation to chat here
What a morning!
what happend @Karl?
its evening @Karl
@CodingTiger i already used that code dear
13:18
Video card in my server issues
Lol its evening in India
can you paste error here
My day is just starting.
@CodingTiger
ok
13:18
@Karl I ll be here!
Frustrated by my server, and my mind is deep in the gutter!
@ChintanRathod i know bro, but y i am getting this exception, two days back code id working fie, i think its server side error
@Karl who needs a video card in a server? I work with servers only remote
@CodingTiger Could it be something else you changed is causing issues with that code?
My server was a desktop machine, now running Server software. It needs a video card to boot, plus I occasionally use it directly.
@ChintanRathod, I need help setting this up: stackoverflow.com/questions/26182290/…
13:23
bye all
bye
bye :)
Bye,,
byee
13:29
bye :)
Spammers :D
@KalaJ ok.. you can use ViewPager but you also need to implement Actionbar to do so.
Bye x 12!
Who did I just say goodbye to?
13:32
@ChintanRathod, I'm not so worried about the actionbar right now as I am about getting the PagerAdapter and ViewPager working.
I removed fragments and I Just used a pageradapter
but my view is not showing up
but its better to use fragments
hm
the problem is
I'm going to have like 20 different views to display
Similar views but small differences
I dont' want to create 20 fragments to switch between them
It's not reusable code
How can I simplify what I have so far so that I only use one view or fragment?
but at the same time create a dynamic layout?
hmm
okay.. i don't do that before.. so what comes in my mind is that.. you can use single fragment
that single fragment has all code which you want to do for
and it contains some listener methods which will do changes like hiding or showing views as per positions.
instead of maintaining views inside activity, its better to create a fragment and then use it
what do you say.. are you getting what m saying??
kind of... can you explain further?
13:42
is there any option for smileys here?
:)
No charge!
All my spare video cards are AGP [No wonder they are spares!]
:(
@KalaJ What u need to achieve? What is ur full query, can u say once again?
full query?
lol
post ur question link
13:50
0
Q: Keeping one fragment with multiple views using ViewPager

Kala JI have a few questions on what I want to achieve and how much more do I need to go or if I need to go toward a different direction. Here's a mockup on what I want to do: The user should be able to : -swipe left or right -click on the arrows on the top to go left or right The collection o...

better mockup
LOL
hmm
just use simple pager lol
simple pager? LOL
I want to do that mockup but only using one fragment or one view
13:59
ViewPager with PagerAdapter
not a million fragments or views
with swipe?

« first day (698 days earlier)      last day (2777 days later) »