Sorry.
my fault.

the emulator says-
The application has stopped unexpectedly

LogCat says-
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.abc.MyApp/com.abc.MyApp.MainActivity}:
java.lang.NullPointerException
at com.abc.MyApp.MainActivity.onCreate(MainActivity.java:16)  [16 is
the line where i am setting the listAdapter]



On Apr 19, 9:51 pm, "~ TreKing" <treking...@gmail.com> wrote:
> On Sun, Apr 18, 2010 at 9:35 PM, SheikhAman <shekh.a...@gmail.com> wrote:
> > Things stay fine until i assign the adapter to the list i have created-
>
> > as soon as i add the last line, problems start.
>
> > whats wrong?
>
> Mainly, the fact that you haven't shown what "problems start" means or what
> error you're actually getting.
> How is anyone supposed to tell you what's wrong with your own program?
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to