Hi,

We are trying to test the Music Player (Music.apk) with Monkey.

We have added the permissions in AndroidManifest.xml of Camera
application (Camera.apk):

<uses-permission
android:name="android.permission.SET_ACTIVITY_WATCHER" />

In the same file, we have added intent for MovieView Activity:
<category android:name="android.intent.category.MONKEY" />

We use the following commands:

# Launch the Music Player
am start -a android.intent.action.MAIN -n com.android.music/
com.android.music.VideoBrowserActivity

# Launch Monkey to test Music player
monkey -p com.android.music -v -v -v 500

But, we get the error message:
"// Rejecting start of Intent { action=android.intent.action.VIEW
data=content://media/external/video/media/3 type=video/mp4 comp=
{com.android.camera/com.android.camera.MovieView} } in package
com.android.camera"


Any suggestions to solve the issue ?
Regards,
Vrukesh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to