Hello,

I'm trying to follow the example of "lunching a preference" but when
its time to run:

Intent launchPreferencesIntent = new Intent().setClass(this,
options_menu.class);
startActivityForResult(launchPreferencesIntent,
REQUEST_CODE_PREFERENCES);

My application craps out.

I can only spawn the same activity but I cannot spawn the options_menu
activity. And to double check options_menu has nothing in it except:

super.onCreate(savedInstanceState);

in the "onCreate()" function. Which should make it a blank screen.
Even the Hello Android example doesn't work.

Again I can lunch the same activity meaning if I were lunching a sub
activity from "Game class", the code would look like:

Intent launchPreferencesIntent = new Intent().setClass(this,
Game.class);
startActivityForResult(launchPreferencesIntent,
REQUEST_CODE_PREFERENCES);

and it would work, I lunch the same game on top of the current game
with no problems.

Anybody have any suggestions?

Thanks


--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to