Yasser wrote: > I want to launch/start an already installed application like > Calculator on Android and then send some keystrokes to it.
You cannot send keystrokes to other applications. > Is there a way to programatically launch an app without having access > to its code? If you can find out an Intent that launches it, you use startActivity() like you would any other activity. Finding the proper Intent can be a bit tricky, though there are methods on the PackageManager class that may help you identify what is launchable. Bear in mind, though, that unless those Intents are publicly documented, they are likely to break in future releases of Android (or of whatever 3rd party app you attempt to launch). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---