Google Maps Broadcast Event for audible navigation instructions start and stop?

by skyhigh » Tue, 15 Dec 2009 03:53:02 GMT


Sponsored Links
 I have an application which is playing audio.  I have some customers
that use this application while driving and who also use the Google
Maps application to get directions to the places where they are
driving.

They have asked me to change my application to pause my audio while
the Google Maps application is giving them audio navigation
instructions.  I am trying to find out if I can register a Broadcast
Receiver to let me know when the Google Maps application is giving
audio navigation instructions, or if there is a way to detect when any
other application has started or stopped playing audio.

It seems that this type of functionality would be beneficial for
Google Maps and for any type of application which is playing media, so
I am hoping that Google Maps is broadcasting events when it starts and
stops giving audio navigation instructions, or that there is a generic
way to discover when overlapping audio sources are trying to play.

--



Google Maps Broadcast Event for audible navigation instructions start and stop?

by justinh » Tue, 15 Dec 2009 04:19:13 GMT


 Unless it is here then it is unsupported and you shouldn't use it
anyway:  http://developer.android.com/reference/android/content/Intent.html 

Of course, there is nothing from any of the Google apps listed there.
Not sure about just general audio.





--


Sponsored Links


Google Maps Broadcast Event for audible navigation instructions start and stop?

by blindfold » Tue, 15 Dec 2009 15:55:19 GMT


 +1. I am interested in this functionality too, to mute my app when
Google Maps Navigation is talking.




--



Google Maps Broadcast Event for audible navigation instructions start and stop?

by skyhigh » Wed, 16 Dec 2009 10:38:05 GMT


 I checked the Android reference intent documentation that you linked
to, but couldn't find anything that I could use to detect either
Google Map audible navigation or generic overlapping media playing.

It seems like this would be a useful broadcast notification for anyone
providing an audio application.  If Google Maps doesn't already
provide this broadcast notification is there a way to request this
functionality be added to Google Map?

--



Google Maps Broadcast Event for audible navigation instructions start and stop?

by Dianne Hackborn » Wed, 16 Dec 2009 10:59:18 GMT


 The platform needs to have richer features for deciding which audio to do at
various times.  I don't think having maps send a broadcast is really a good
solution for this, and likely to quickly become a mess for everyone.




>



Google Maps Broadcast Event for audible navigation instructions start and stop?

by skyhigh » Wed, 16 Dec 2009 13:32:53 GMT


 It would be great if the platform provided this functionality so that
audio applications could pause when appropriate for audio
notifications or other interruptions.  I agree that providing this
support in the platform would be best, then it would work regardless
of the source of the audio notification/interruption.

Long term audio apps such as music players, podcast listeners, and
audiobook players could automatically pause when appropriate and then
resume after the interruption has finished.  Short term audio users
such as audible notifications, alerts, and phone calls could signal
the long term audio apps to get out of the way until they have
finished so that overlapping audio isn't playing.  A single platform
provided mechanism for this would be very nice.

I hope that your comment means that you have forwarded an enhancement
request for this type of platform supported audio coordination to the
appropriate people.


--



Other Threads

1. Live Wallpaper 3D Tunnel

Ada yang sudah download dari Pasar Tradisional?
Barusan nyoba pake Tunnel Type Leopard dengan Speed Slow, rasanya haus 
banget...ga nyampe2 ujung tunnel heuheuheu

Buat yang mabok kendaraan, sebaiknya ga usah nyoba Live Wallpaper ini...

Seach pake key : Live Wallpaper :)


Powered by Telkomsel BlackBerry

-- 
"Indonesian Android Community [id-android]" 

2. Hore magic v2.1 rasa cyangoen

http://andrd.me/9RJIu3 

 

Jonitan17

-- 
"Indonesian Android Community [id-android]" 

3. Haykuro vs. Amon_Ra

4. Android desktop

5. Cara ilangin suara macam-macam kaya suara camera, dll dari music playe

6. Android and WCF

7. Bluetooth File Transfer OPP