Android developer Challenge 2

by april » Fri, 24 Oct 2008 00:09:06 GMT

Sponsored Links
 When the ADC 2 will be launched? does anyone have any idea? I can buy
a phone, but I really don't want to sign contract with TMobile? will
Google give any promotion for ADC2 developer?



Other Threads

1. Background streaming video playback.

I try to write a streaming player AP with videoView to play the
streamming video.
If there is an incoming phone call during the streaming video is
playing, I'll call mediaplayer.pause() in onPause() to pause the
Streaming AP will be put to background, and the surface of the
videoView will be destroyed. When the phone call is end and then
returns to the streaming player AP, the mediaplayer will play with
only audio, the screen will be full dark. I tried to set the surface
holder got from surfaceCreated() to mediaplayer through setDisplay(),
but it still not work.

Is there any way to prevent reconnecting to the streaming server when
the streaming player AP is interrupted by incoming phone call?


2. How to get last added TextView of a ListView after ArrayAdapter.add()

Hi all!
I'm doing the following inside a handleMessage() method of an Handler


I always get the expected numer (i.e. 1 after the first add() call)
minus 1. I supposed it happens because the UI is not yet refreshed. I
need to retrieve the last textview in order to change its "drawable
left" property, but of course I cannot do it there. Is there any way
to force the UI refresh, so the getChildCount() returns me what i
need? Any alternative solutions?

Thank you in advance!

3. access to the audio channel

4. paused activities' state

5. Test browsertestplugin

6. how can i change the layout_gravity by code?

7. static getString()??