Wesley wrote:
> I got this error...
> 
> ERROR android.content.ActivityNotFoundException: Unable to find explicit 
> activity class {com.google.apk/com.google.android.AirStrike}; have you 
> declared this activity in your AndroidManifest.xml?
> 
> mean I need to set those activity in manifest...
> is there anyway I can just set it to my code without define in 
> manifest... and run it...???

Not as an activity. As far as I know, activities must always be declared 
in the manifest.

If your goal is that you want a different UI to appear under certain 
circumstances, but that different UI is not set up as an activity at 
compile time, you might consider trying ViewFlipper. ViewFlipper behaves 
like a tabbed window minus the tabs (think CardLayout from Java/Swing). 
You could add new views at runtime to the flipper and flip to the right 
page as needed, instead of trying to start up a non-activity as if it 
were an activity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch in September! http://www.bignerdranch.com

--~--~---------~--~----~------------~-------~--~----~
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]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to