SoundRecordingAPISample to save audio in Internal Storage

by haig » Fri, 12 Sep 2008 07:31:48 GMT


Sponsored Links
 I have looked at the SoundRecording API example, and it can save audio
to an sdcard.

I would like to save the audio in internal storage, like /data/data/
<package>/files/.

Is there a reason why this might not be possible? Any tips will help

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



SoundRecordingAPISample to save audio in Internal Storage

by Megha Joshi » Fri, 12 Sep 2008 07:35:52 GMT


 The recommended practice is to only store : ringtones, alarm and
notification sound audio files in internal storage. Rest of the media files
should be stored on sdcard.

2008/9/11 haig <[EMAIL PROTECTED]>


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


Sponsored Links


SoundRecordingAPISample to save audio in Internal Storage

by haig » Fri, 12 Sep 2008 14:28:10 GMT


 Thank you that clears things up




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



SoundRecordingAPISample to save audio in Internal Storage

by blindfold » Fri, 12 Sep 2008 20:37:55 GMT


 Which is expected to be faster: internal storage or sdcard?
I'm currently temporarily saving content to internal storage
because MediaPlayer cannot play generated content from memory,
but the speed and power penalty of doing so on physical phones
remains unclear.




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



SoundRecordingAPISample to save audio in Internal Storage

by Megha Joshi » Sat, 13 Sep 2008 02:36:54 GMT


 2008/9/12 blindfold <[EMAIL PROTECTED]>



Could you clarify what you count as generated content and memory?




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



SoundRecordingAPISample to save audio in Internal Storage

by blindfold » Sat, 13 Sep 2008 03:00:14 GMT


 Hi Megha,

Yes, by generated media content I mean content that is not some fixed
material that is already stored somewhere on the device or on some
remote server, but that is created on-the-fly in response to user
actions or sensor inputs (e.g., camera input). One may typically think
of a byte array or its corresponding stream being filled with
calculated (synthesized) content, meant to played by MediaPlayer. This
is not possible with the MediaPlayer APIs in Android SDK 0.9 beta. The
problem was reported and discussed as issue 739. Additionally, I have
today on android-internals posted concern about possible detrimental
effects on device lifetime for media-intensive processing of generated
content that currently requires this temporary storage on (flash) SD
card or (flash) internal memory.

Regards




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



SoundRecordingAPISample to save audio in Internal Storage

by Megha Joshi » Sat, 13 Sep 2008 07:31:23 GMT


 2008/9/12 blindfold <[EMAIL PROTECTED]>


The sdcard access might be faster, but it depends on the particular sdcard.
Only way to know for sure is to measure it.




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



SoundRecordingAPISample to save audio in Internal Storage

by blindfold » Sat, 13 Sep 2008 18:33:11 GMT


 Thanks Megha, I'll check it out once I have the opportunity, or maybe
turn it into a user option.




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



Other Threads

1. Google TV frame capture?

Will Google allow Android applications to grab and process individual
video frames of the currently selected channel in Google TV sets? I
would be interested in that, and the process can be very similar to
capturing preview images from a (second) camera.

Thanks


The vOICe for Android
http://www.seeingwithsound.com/android.htm

-- 

2. G1 phone and update firmware 2.0-2.2 - question

Hi All,

1. Guys please suggest some official Google/HTC link with explanation
why HTC G1 phone can't be updated to Adroid 2.0-2.2 firmware.

2. Is Google planning to sell latest versions of dev phones in the
near future?

Thanks in advance,
Evgeny

-- 

3. how to access device contact book from my own application

4. Communicating from Android Service to an Activity

5. how to access device contact book from my own application

6. android tablet emulator creation

7. Apk AlQuran