Re: [android-developers] Null Pointer Exception

2012-01-01 Thread Mukesh Srivastav
OMG. Chander you need to read and understand the basics of Android ! There is a way to call or navigate from one activity to other is using Intent. secondly, not sure,why are you using AbsoulteLayout ? Please start reading the Android documentation, to start with below is the link for your refer

Re: [android-developers] Null Pointer Exception on accessing value of EditText

2011-05-20 Thread gaurav gupta
First set any value in edittext then u can get value . 1. EditText IPInput = (EditText) findViewById(R.id.ip); iPinput.setText("Value inserted successfully"); 2. IPInput.getText().toString(); System.out.println(ip); 3. System.out.println(IPInput.

Re: [android-developers] Null Pointer Exception on accessing value of EditText

2011-05-20 Thread TreKing
On Thu, May 19, 2011 at 4:16 PM, Ankur Kumar wrote: > I am getting java.lang.NullPointerException at step 3 in my code. Have not > been able to figure this out. > 1 - Use your debugger. 2 - Figure out what is null. 3 - Make it not null. -

Re: [android-developers] Null Pointer Exception

2011-01-14 Thread TreKing
On Fri, Jan 14, 2011 at 9:44 AM, Kumar Bibek wrote: > Have you declared your second activity in manifest? Better yet, have you used your debugger to figure out what is NULL? - TreKing

Re: [android-developers] Null Pointer Exception

2011-01-14 Thread Kumar Bibek
Have you declared your second activity in manifest? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 7, 2011 at 4:26 PM, sharad kumar wrote: > Hi, > I'm facing a problem with the Intent Null Pointer Exception > firstly i have Started first activity then second activ

Re: [android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread Kostya Vasilyev
Your code doesn't seem to assign any values to redbtn and greenbtn. Then you call methods on these objects - perhaps they are still Null at that point? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.09.2010 0:34 пользователь "Gold" написал: Hi..All, I need to disply

Re: [android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:33 PM, Gold wrote: > I tried but it will show Null pointer exception. Where? What's the stack trace? - TreKing - Chicag

Re: [android-developers] Null Pointer Exception with getIntent().Extras....

2010-01-09 Thread Mark Murphy
Albert wrote: > Hi, > > Can someone see what I am doing wrong here, when I try to get the > extras I sent on my intent it always returns null > > Intent activityIntent = new Intent(context, TopImage.class); > activityIntent.putStringArrayListExtra("com.mobile.dev.LIST", > mStringList); //mString