> unable to start activity lang.nullPointerException

...and what did you do that raised this exception? Start an activity from
the launcher? Start an activity via an Intent, and if so, what Intent?

...and what does logcat say?

> I just made one more class extend Activity. Do any other changes need
> to be made?

They all need to be in the manifest. The one(s) to appear in the launcher
should have an intent filter like the one generated for you when you
create the product (e.g., with <action
android:name="android.intent.action.MAIN" /> and <category
android:name="android.intent.category.LAUNCHER" />). The other activities
may or may not need intent filters depending on how you plan to start
them.

Note that I have not tried having multiple activities for the same
application appear in the launcher, so there may be problems there that I
am not aware of.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to