what is the recording format of Intent .RECORD_SOUND_ACTION?

by Marco Nelissen » Mon, 13 Apr 2009 03:19:46 GMT


Sponsored Links
 They don't really decode let alone encode those formats though, hence
the 'cheap' moniker.
Short of porting a full mp3 encoder to android, there is no way to
convert sound to mp3 format on the phone.










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



Other Threads

1. ListView and OnItemSelectedListener and clicking/touching

Two questions:

1. When does OnItemSelectedListener get called?

My expectation was that when an element of a ListView was clicked/
touched that the OnItemSelectedListener would be called. My
OnItemSelectedListener is not called when a list element is clicked/
touched. (It is called if the list has focus and I move through the
list with the arrow keys in the emulator) Is that the way it works?

This ListView has an adapter that supplies TextViews for drawing the
list elements.

2. With a ListView set up this way who handles display of selected
list items? Does the ListView do it or should the adapter configure
the views it supplies to make them look elected?
Thank you!

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

2. switch to another applications programmatically

First of all, don't use am.  All it does is call startActivity() from its
own environment, so you have just made things 10x harder for yourself,
impossible to actually integrate with your UI flow, likely to break in the
future, and not gotten to do anything more than startActivity() does.
Second, when you start an activity, it starts out at the top of its stack,
and its window has focus.  You don't need to do anything special.  I don't
know what you are doing to cause this behavior, but simply calling
startActivity() from your own activity will work.

Third, please be sure you read the application fundamentals documentation:
http://developer.android.com/guide/topics/fundamentals.html






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

3. NullPointer using default ArrayAdapter

4. Split Method

5. Device info API

6. How can I add genre info into artist a nd album list鈥

7. PMEM device