i meet same matter before, and i solve it in same way as you .i just change the 
mediafile.java. 
i could see the file in the music in my device. but in simulator. i found i 
could not see any other files if we move them to the sdcard when i mount the 
sdcard to the system before. 




在2009-03-24,Alex <[email protected]> 写道:
>
>Hi all,  From the opencore,we can see the aac file is supported to be
>
>played back. But the aac file can not be recognized in the music
>
>player.
>
>From "http://groups.google.com/group/android-
>
>framework/browse_thread/thread/ed9f788504c3d35a/42d9c78a38235a19?
>
>#42d9c78a38235a19
>"   and after I reading the mediascanner sourcecode I think if i want
>
>to make the AAC file can be recognized in the music player I should
>to
>
>add following code to mediafile.java:
>
>    public static final int FILE_TYPE_AAC     = 8;
>    private static final int FIRST_AUDIO_FILE_TYPE = FILE_TYPE_MP3;
>    private static final int LAST_AUDIO_FILE_TYPE = FILE_TYPE_AAC;
>
>
>   addFileType("AAC", FILE_TYPE_AAC, "audio/aac");
>
>because the amr file is also be handled in this way. and form
>
>mediascanner.jave sourcecode, we can see if the aac file is only be
>
>regarded as a only aac file not the mp4 single audio. I think the
>
>mediascanner.jave should not be modified.
>
>
>but after I modified the mediaFile.java , then I opened the musci
>
>player the aac file also can not be seen , can someone tell me how to
>
>resolve it?
>
>Thank you very much!
>
>>

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

Reply via email to