.3GP files were usually scanned and listed under gallery application
(com.android.gallery or com.android.camera)..
can you check in menu->gallery?
PS.
i've seen the files are listed solely based on file-extension or
container, rather than the encoded data format in it..
just rename .mp3 to .mp4 -> it will appear only in gallery..
> --
> unsubscribe: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
Hi,
.3GP files were usually scanned and listed under gallery application
(com.android.gallery or com.android.camera)..
can you check in menu->gallery?
-deva
# cd /sdcard
# ls te*
test_n_3gp.3gp
test_n_amr.amr
#
#
# W/IInputConnectionWrapper( 1357): showStatusIcon on inactive InputConnection
I/ActivityManager( 837): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=com.android.music/.MusicBrowserActivity }
I/ActivityManager( 837): Starting activity: Intent {
act=android.intent.action.PICK dat=
typ=vnd.android.cursor.dir/artistalbum flg=0x4000000
cmp=com.android.music/.ArtistAlbumBrowserActivity (has extras) }
D/dalvikvm( 837): GC freed 18389 objects / 958944 bytes in 88ms
I/ActivityManager( 837): Displayed activity
com.android.music/.ArtistAlbumBrowserActivity: 413 ms (total 429 ms)
E/MusicUtils( 1357): Trying to unbind for unknown Context
E/gralloc ( 837): [unregister] handle 0x4ada60 still locked (state=40000001)
I/ActivityManager( 837): Starting activity: Intent {
act=android.intent.action.PICK dat= typ=vnd.android.cursor.dir/track
cmp=com.android.music/.TrackBrowserActivity (has extras) }
I/ActivityManager( 837): Displayed activity
com.android.music/.TrackBrowserActivity: 274 ms (total 274 ms)
W/MediaPlayer( 1357): info/warning (1, 44)
D/AudioMIO( 1307): Before: ADJ_CLK old clock -462 original correction
462 correction 462 new clock 0
D/AudioMIO( 1307): After: ADJ_CLK old clock -462 correction 462 new clock 0
D/AudioMIO( 1307): Before: ADJ_CLK old clock -461 original correction
461 correction 461 new clock 0
D/AudioMIO( 1307): After: ADJ_CLK old clock -461 correction 461 new clock 0
I/ActivityManager( 837): Starting activity: Intent { flg=0x4000000
cmp=com.android.music/.MediaPlaybackActivity }
I/MediaPlayer( 1357): Info (1,44)
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioMIO( 1307): Before: ADJ_CLK old clock 230 original correction
-137 correction -137 new clock 93
D/AudioMIO( 1307): After: ADJ_CLK old clock 230 correction -137 new clock 93
D/AudioMIO( 1307): Before: ADJ_CLK old clock 230 original correction
-137 correction -137 new clock 93
D/AudioMIO( 1307): After: ADJ_CLK old clock 230 correction -137 new clock 93
I/ActivityManager( 837): Displayed activity
com.android.music/.MediaPlaybackActivity: 311 ms (total 311 ms)
D/AudioMIO( 1307): Before: ADJ_CLK old clock 245 original correction
34 correction 34 new clock 279
D/AudioMIO( 1307): After: ADJ_CLK old clock 245 correction 34 new clock 279
D/AudioMIO( 1307): Before: ADJ_CLK old clock 617 original correction
33 correction 33 new clock 650
D/AudioMIO( 1307): After: ADJ_CLK old clock 617 correction 33 new clock 650
D/dalvikvm( 1357): GC freed 8717 objects / 576920 bytes in 57ms
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioHardwareALSA( 1307): INFO: EPIPE
W/IInputConnectionWrapper( 1357): showStatusIcon on inactive InputConnection
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/AudioHardwareALSA( 1307): INFO: EPIPE
D/dalvikvm( 987): GC freed 4432 objects / 204272 bytes in 51ms
D/dalvikvm( 1357): GC freed 4616 objects / 279040 bytes in 52ms
- have ever seen a file inside gallery or music app? after booting
eclair for first time, i always have to wait like 5 minutes for
mediascanner to finish loading files.. manually you can trigger like
menu -> Dev Tools -> Mediascanner, and wait for /sdcard scan to
complete..
- rename .3gp as like .mp4 and see if it gets played under gallery
app.. i've tried this on a broken setup, where Music app will crash on
opening..
- regarding command line testing, alsa_aplay can test raw and selected formats..
u can use mediaframework tests to test audio/video record/playback
via command line (adb/shell)
source location: ./frameworks/base/media/tests/MediaFrameworkTest
build command: ./make mediaframeworktest
sample test command to play amr
./adb shell am instrument -e class
com.android.mediaframeworktest.functional.MediaPlayerApiTest#testAMRGetDuration
-w com.android.mediaframeworktest/.MediaFrameworkTestRunner
-Deva
Hi,
- have ever seen a file inside gallery or music app? after booting
eclair for first time, i always have to wait like 5 minutes for
mediascanner to finish loading files.. manually you can trigger like
menu -> Dev Tools -> Mediascanner, and wait for /sdcard scan to
complete..
- rename .3gp as like .mp4 and see if it gets played under gallery
app.. i've tried this on a broken setup, where Music app will crash on
opening..
- regarding command line testing, alsa_aplay can test raw and selected formats..
u can use mediaframework tests to test audio/video record/playback
via command line (adb/shell)
source location: ./frameworks/base/media/tests/MediaFrameworkTest
build command: ./make mediaframeworktest
sample test command to play amr
./adb shell am instrument -e class
com.android.mediaframeworktest.functional.MediaPlayerApiTest#testAMRGetDuration
-w com.android.mediaframeworktest/.MediaFrameworkTestRunner
>junit.framework.AssertionFailedError: AMR getDuration
> at com.android.mediaframeworktest.functional.MediaPlayerApiTest.testAMRGetDuration(MediaPlayerApiTest.java:101)
Assertionn is probably due to missing files., and i guess these MTS
test file paths are hardcoded.,
can you place attached file in sdcard in below path and play??
/sdcard/mts_tests/media_api/music/test_amr_ietf.amr
nothing looks positive yet., can you make sure 'ls /sdcard' is showing
valid conent??
>junit.framework.AssertionFailedError: AMR getDurationAssertionn is probably due to missing files., and i guess these MTS
> at com.android.mediaframeworktest.functional.MediaPlayerApiTest.testAMRGetDuration(MediaPlayerApiTest.java:101)
test file paths are hardcoded.,
can you place attached file in sdcard in below path and play??
/sdcard/mts_tests/media_api/music/test_amr_ietf.amr
>I have placed your test_amr_ietf.amr in /sdcard/mts_tests/media_api/music . now running command : am instrument -e class >com.android.mediaframeworktest.functional.MediaPlayerApiTest#testAMRGetDuration -w com.android.m... says :