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. can i access opencore modules at application level?

Hi Dear,

i am looking for some help to access libraries in opencode at
application space.
like libOmxCore.so, CPM plugin, pvplayer etc.

if i need to change anything for CPM plugin, do i need to compile
Android source or i can do at application level?

can anybody help?

-- 

2. Editor Layout problem

hello

I m developing an android app, i ve had a problem with the layout
editor. I m using eclipse 3.5.1 for RCP/plugin developers, the android
developers kit version 0.9.5 and jdk 1.6 in ubuntu 8.04 hardy heron.

I ve been working good until one day i had to modificate my UI. when i
tried to see my main.xml layout i found the following error:

Null Pointer Exception then NoClassDefFoundError: Could not initialize
class sun.awt.X11.XToolkit

I was looking for a solution but i didn't find so i reintalled all.
Eclipse, ADT, SDK and Java. First it (layout) looked to work again but
in two days it broke again.

I m so frustrated cause i dont know what i do to get this error. First
it works then don t .why?

I hope anybody can help me

thanks

Nestor

-- 

3. Intent.ACTION_SYNC no docs or resolveInfo

4. how to set break points when developing Eclipse with an actual device

5. Robert Hockauf/GDM/GuD is t auč„˝er Haus / is out of Office

6. MediaPlayer DRM support?

7. Display a picture for few seconds before running into the main stream