Send Intent to App in Emulator
Is it somehow possible to send automated intents to an app inside an emulator for testing? I have a list of all my intents and I want to test them automaticily, so is it possible to just do a adb shell <myfancycommand> android.intent.action.PACKAGE_ADDED to initiate the android.intent.action.PACKAGE_ADDED action on the device? Or do I have to write a script that calls all the stuff by its own, so for example for this intent install a dummy apk on the device? Even more simple is the use of the am application. You can just run it like this from the adb shell: # am broadcast android.net.conn