Register to Android media button?

Go here if you're having an issue with Podtrapper.

Register to Android media button?

New postby hbear on Sun Oct 31, 2010 2:53 pm

Is the Android version of Podtrapper registering to the Media Button functionality?

When playing podcast, media button still starts/stops the stock android music player.

(The 'Media Button' is sometimes part of handset hardware, others generally on the headphone cord).

This page gives code for registering the app to respond to the button...
http://www.google.com/url?sa=D&q=http:/ ... BeOvoE2buQ

db
hbear
 
Posts: 4
Joined: Thu Oct 15, 2009 12:18 pm

Re: Register to Android media button?

New postby marwatk on Sat Nov 06, 2010 11:01 am

Thanks. (For anyone trying to reference the blog post it's moved to http://android-developers.blogspot.com/ ... nicer.html )

I listen for the media intents, but I didn't realize they've changed the priority stuff in 2.2. I'll definitely get it in the next release. Thanks for the heads up.

-Marcus
Versatile Monkey
For more/quicker help make sure to check out the user manuals
marwatk
Lead (and only) Monkey
 
Posts: 2596
Joined: Sun Nov 02, 2008 9:20 pm

Re: Register to Android media button?

New postby hbear on Sun Nov 07, 2010 5:37 pm

Awesome.

Thanks... Also, although I thought I had looked through Settings, I hadn't found the double-click Power button pause feature... that solves my biggest problem.

Will be fun to see what I can do with it once Tasker can have some control.

db
hbear
 
Posts: 4
Joined: Thu Oct 15, 2009 12:18 pm


Return to Bugs and help

Who is online

Users browsing this forum: No registered users and 38 guests

cron