> > b) Pressing the button on the welcome screen /tries/ to invoke an > Intent to start the quester activity > but it throws an ActivityNotFoundException (details below); here's the > Intent code: > > private void checkLogin(QLogin loginActivity, String userId, String > passwd) > { // right now a stub always returning true: > boolean authOk = authenticateUser(userId, passwd); > if (!authOk){ > Toast.makeText(this, "Unknown userid/password combo", > Toast.LENGTH_SHORT).show(); > } else { > Toast.makeText(this, "Trying to move to Quester Map", > Toast.LENGTH_SHORT).show(); > Intent questerMapIntent = new Intent(".Quester.VIEW"); > startActivity(questerMapIntent); > } > }
Try the class variant of the Intent constructor, since this is all in one application: Intent questerMapIntent=new Intent(this, Quester.class); -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---