Hello,

In my application I am going to be allowing the ability to "call" and
start other activities, just like the Android spec allows.
To this extent I use the following code :-

Intent myIntent = new Intent();
myIntent.setClassName("IntentPackage", "Fully Qualified Intent");

Now I found out quite by accident if the intent fails to be found, I
accidentally misspelled my intent, it totally crashes my application
not only that nullifies my application object as well (I have a class
that extends Application). I've tried to trap this but it still always
crashes.

Can someone please advise me on how to protect my app against broken
intents (misspelled or otherwise) ?

Regards
Anthoni

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

Reply via email to