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" <[email protected]> wrote:
> On Sun, Apr 18, 2010 at 9:35 PM, SheikhAman <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en