spinner item selection event

by Shrenik Vikam » Fri, 25 Sep 2009 14:28:04 GMT


Sponsored Links
 on spinner item selection i want to do some processing depending on
the selection item
like Java has ItemStateChangeListener
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Finaly Theoretical Year Of GCU Lahore

http://ieeebooks.blogspot.com

-- 

2. Streaming MP3 Playback Problems on Android 2.2

I'm developing an app that streams some audio samples from
eMusic.com.  I basically use the MediaPlayer class to play back the
sample.mp3 from a particular URL (I do use prepareAsync).  On Android
1.6-2.1, the playback is fine, however on Android 2.2 (both the
emulator and Nexus One) the playback contains tinny artifacts and
often dies with an error like:

I/AwesomePlayer(   34): calling prefetcher->prepare()
I/Prefetcher(   34): [0x175f8] cache below low water mark, filling
cache.
I/AwesomePlayer(   34): prefetcher is done preparing
E/EMD -   (  293): Duration 0
D/AudioSink(   34): bufferCount (4) is too small and increased to 12
E/MediaPlayer(  293): error (1, -2147483648)
E/MediaPlayer(  293): Error (1,-2147483648)

In case someone wants to try to reproduce this.  Download the file
http://www.emusic.com/samples/m3u/song/12039152/23641389.m3u on the
3rd line you will find the address to a mp3 file that can be played
back with MediaPlayer.

I know that there is a known issue with streaming apps like pandora/
last.fm in 2.2.  However, I thought those were related to AAC.  Do you
think my issue is connected - if so (or not so), is there anything I
can do right now to resolve the issue?  Or do I have to just wait for
a new Android release?

Thanks for any help!

-Jack

-- 

3. Newbiew question: authoroties

4. How to check that activity displays dialog during unit testing

5. Problem with AudioRecord on Samsung Moment

6. PreferenceActivity - set text color of preference category?

7. UMTS Signal strength : RSCP or RSSI ?