Any input on this issue? Thanks, Jean-Sebastien
----- Reply message ----- From: "jstoezel" <[email protected]> Date: Mon, Aug 17, 2009 6:19 PM Subject: [android-beginners] Can't locate com.android.settings activity To: "Android Beginners" <[email protected]> Hi, I'm trying to open the system's window (GPS enable window) using the following code. I get an exception saying the com.android.settings activity cannot be located. Any idea why this happens? Thanks, Jean ComponentName c = new ComponentName ("com.android.settings","com.android.settings.SecuritySettings"); // ("com.android.settings","com.android.settings.SecuritySettings"); Intent i = new Intent (Settings.ACTION_SECURITY_SETTINGS); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setComponent(c); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(i); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

