bigdaddydad / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 0 forks source link

Feature request: Automatically switch to "Now playing" #420

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I control xbmc on my tv (not by using xbmc remote as remote controller), 
xbmcremote should automatically switch to "Now playing" as it obviously should 
not be used as remote controller this time. I don't know if xbmc triggers your 
applicatrion if there is someone doing something. Alternatively you can realize 
it by using a idle timeout. e.g. after 60 seconds idle time xbmcremote switches 
to "Now playing".

Original issue reported on code.google.com by oliver_l...@gmx.de on 23 Oct 2010 at 2:50

GoogleCodeExporter commented 8 years ago
My guess is you're either using the Android remote or a different one, so it 
doesn't really make any sense for me to do what you're asking. Additionally 
it's really not trivial to implement, so I'll close this one.

Original comment by phree...@gmail.com on 28 Nov 2010 at 4:26

GoogleCodeExporter commented 8 years ago
If implemented this by myself... you can configure an idle time and after this 
time the application switches to Now playing.

I used a CountDownTimer 
(http://developer.android.com/reference/android/os/CountDownTimer.html) to 
achieve this behaviour.

Every time there is some user interaction (onUserinteraction method in 
Activity) I reset the counter. No problem if this is not interesting... so this 
will remain in my personal branch ;-)

Original comment by oliver_l...@gmx.de on 28 Nov 2010 at 10:10