DEBUG/dalvikvm(5916): Exception Ljava/lang/NullPointerException; from
ApplicationContext.java:291 not caught locally

INFO/INFO(5916): ERROR java.lang.reflect.InvocationTargetException


How to solve this " ApplicationContext.java:291"
java/lang/NullPointerException Error???
if I dunno what is the error come from???


Wesley.

On Mon, Jun 2, 2008 at 6:15 PM, Mark Murphy <[EMAIL PROTECTED]> wrote:

>
> 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