Can i convert AMR to MP3 OR WAV in my activity?

by zeeshan » Wed, 18 Mar 2009 17:44:20 GMT


Sponsored Links
 Hi Android Experts,

i want to convert recorded AMR sound into mp3 or WAV within my
activity, is there any method or package i can use?

i am using this activity for recording:

Intent intent = new Intent
(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
 startActivityForResult(intent, SELECT_AUDIO);

this gives me amr content uri but my question is , how can i get the
mp3/wav uri?

i posted this question long ago but still no solution, please help me
as i am really stuck on this.

Thanks
--~--~---------~--~----~------------~-------~--~----~



Can i convert AMR to MP3 OR WAV in my activity?

by Dave Sparks » Wed, 18 Mar 2009 18:32:04 GMT


 No, there is no built-in package to convert from AMR to MP3 or WAVE.
If you want to do this in the current SDK, you'll need to write your
own code to do the conversion.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Can i convert AMR to MP3 OR WAV in my activity?

by zeeshan » Wed, 18 Mar 2009 22:32:38 GMT


 Thanks for reply Dave,

can anyone tell me how can i do this, i assume to install any
converter application and use it in my code to convert and return the
mp3 uri

please help me -




--~--~---------~--~----~------------~-------~--~----~



Can i convert AMR to MP3 OR WAV in my activity?

by zeeshan » Thu, 19 Mar 2009 17:22:06 GMT


 ?





--~--~---------~--~----~------------~-------~--~----~



Can i convert AMR to MP3 OR WAV in my activity?

by zeeshan » Mon, 23 Mar 2009 18:03:27 GMT


 can anyone help me?
i am really stuck on this problem.

i need to convert a recorded file from AMR to MP3.
i am using this code for recording

Intent intent = new Intent
(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
          startActivityForResult(intent, SELECT_AUDIO);


 protected void onActivityResult(int requestCode, int resultCode,
                        Intent data) {

.....

Uri selectedAudio = data.getData();


at the moment this Uri is the recorded amr file but i really need mp3/
wav format for some reason.
any solution would be appreciated!


thanks





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Restoration of SMS reading capability.

Will the capability for applications to observe incoming SMS messages
be restored in future releases?

(There's a permission, but no public API which is incongruous)

I am already aware that the Intents of former SDK releases continue to
work but I'm interested in whether there is a commitment to support
equivalent functionality in the future.

Tom.


--~--~---------~--~----~------------~-------~--~----~

2. Running Google's IM.apk, built from source

Hello all,

Has anyone been able to build Android from source and successfully
install the produced ImProvider.apk and IM.apk applications in their
SDK emulator and run them?  I am able to install ImProvider.apk, but
when I try to install IM.apk, adb reports the
INSTALL_FAILED_MISSING_SHARED_LIBRARY error and logcat reports:

     "Package com.android.im requires unavailable shared library
com.android.im.plugin; ignoring!"

Building Android from source produces the com.android.im.plugin.jar
file, but I am not sure where to put it nor how to configure it in
order for it to be correctly utilized.  I placed this file in the
android/tools/lib/ folder, where many other .JARs reside, but this
didn't help a bit.

To generalize on my issue, does anyone understand how the Android
runtime "plugin" system works?  Is there documentation on it
somewhere?  Does someone know the answer that will resolve my
issue?  :-)


Thanks!
Nathan Morse
--~--~---------~--~----~------------~-------~--~----~

3. reverse geocoder timeout?

4. What is "ANDROID_PRODUCT_OUT" ?

5. Can I record an audio file via MediaRecorder on the simulator which based on android-sdk-windows-1.0_r1?

6. obtaining an IPhone.Stub

7. onActivityResult failing to fire