Phone Status

by csyperski » Mon, 09 Mar 2009 04:30:44 GMT

Sponsored Links
 I have a service that plays an audio file, but the problem is I need
it to stop when an incoming phone call in detected, it it possible for
me to do with PhoneStateListener?

If so does anyone have an example of how this is done?


Other Threads

1. Changing default theme for OEMs and Android compatibility

The only assumption with the default theme in the SDK is that light
text on a dark background.  However, will an OEM jeopardize being
Android compatible if they change the default theme to be dark text on
a light background?

The reason for this is that I don't want all the built-in applications
to have to specify some custom theme since it's easier to just change
the default theme.  Also, I would like those 3rd party applications
that use the default theme to change as well so there is consistency
throughout the device.

2. MediaPlayer plays sound but screen is black

Oh, right, of course. My original comment stands then :)
You'll have to use "new MediaPlayer" instead of the MediaPlayer.create
convenience method.


3. Loosing ability to find view by id after orientation change

4. Map not displayed due to "Maps_Persistence" error

5. Question about defining selector drawable

6. RTSP and MMS - mediaplayer shenanigans

7. WebView.addJavascriptInterface - only String and void supported from Java to Javascript?