defined mime types for them in my Manifest.
However, the standard music player is always started even though it
can't handle the format. Looking at logcat I see;
: D/MediaScannerService( 688): IMediaScannerService.scanFile: /
sdcard/download/Cybernoid.sid mimeType: audio/prs.sid
: I/ActivityManager( 578): Stopping service:
com.android.providers.media/.MediaScannerService
: I/ActivityManager( 578): Starting activity: Intent
{ action=android.intent.action.VIEW data=file:///sdcard/download/
Cybernoid.sid type=audio/prs.sid flags=0x4000000
comp={com.android.music/com.android.music.MediaPlaybackActivity} }
.. so it seems the component is explicitly set to the music player ?
Is there any way around this ?
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment