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

[android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread Gold
Hi..All, I need to disply current Position latitude and logintude .. I tried but it will show Null pointer exception.. here with i attached my code... please help me to solve this problem.. I run this application on android emulator import android.app.Activity; import android