Android Mediaplayer control on notification bar like Samsung Radio App - android

All
I'm a Android Developer from Argentina I'm developing an app to listening the Audio streaming for a local radio station. This app should work for Android OS for 2.3 and >4.0 I'm including a play/pause button into a custom notification, all works fine on Android >4.0 but with 2.3 I could see that is not possible to detect push on the button, my notification is like that (my goal is that the notification work same in all android version)
http://i.stack.imgur.com/B5qh7.jpg
I use this Samsung's radio App for Android 2.3 and this allow push buttons to control the Radio and change stations.
http://i.stack.imgur.com/ziiVw.png
This controls are above the notifications bar section, so I'm not sure if this an improving including by Samsung into this rom or is possible made something similar with android api.
If anybody has any idea about this issue I will appreciate any tip or suggestion.
Thanks in advance. Regards.
notifications android-mediaplayer and

Related

How to make my WearOS app work on LockScreen?

How do I make my WearOS app work on LockScreen? My app reacts to tapping the smartwatch on an NFC tag. I hear about widget, but it's almost dead now. Is lockscreen programming still possible in Android app development? Thanks in advance.
From: https://developer.android.com/guide/topics/appwidgets
Only Android versions lower than 5.0 support lock-screen widgets.
So lock-screen widgets have been unavailable for quite some time now.

Develop android app for control Samsung (H-Series) smart TV

I want to develop an android app to control Samsung smart TV (H6400). Can some one please guide me with selecting the tools and techniques for this. I just only want to control volume up/down and channel up/down features.
I found it after digging around hours.
https://github.com/MultiScreenSDK/multiscreen-android

App-provided Voice Action on Android 5.0.1 Device NOT Wear

Having come back to Android programming after some time away I'm currently investigating whether I can create a custom 'App-provided' voice action that will work on an Android phone.
As described here a custom voice action can be added but it appears to imply it only works on a 'Wear' device not a handheld. However as I can use the "OK Google" voice-command to set a timer on my Android 5.0.1 handheld device I wondered if the above link applied as well, but it appears not when I try it.
Is it the case custom app-provided voice actions are only available via a Wear device?

RemoteControlClient wear play/pause does not work

I am registering RemoteControlClient to control playback in my application. http://developer.android.com/reference/android/media/RemoteControlClient.html
it shows playback notification on android wear, but buttons play/pause/next/prev does not work on wear, volume up/down work. It also work locally on phone, so i think remotecontrolclient is registered correctly. Does someone faced up with this problem too? Any advices?
Thanks,
It seems that on Android 4.3, Android Wear only sends specific Intents that are unique to Google Play Music, rather than using the standard functionality to handle media controls. In Android 4.4, they use RemoteController to correctly send media events, in place of their custom solution on Android 4.3 (hence, why it works on those devices).
I've filed an issue with the Android Wear team to use the standard functionality, which should eventually fix this issue.

How can i get control over the Music lights in Sony walkman?

I am planning to write code so that i can use the Music light at the top of my phone as the notification light. I would like to know how can i get the hardware id or control over the Music light.
I dont think sony erricson has opened api for these lights. I suggest you to check it on http://developer.sonymobile.com/. Search with your mobile Device type & android verison.
Cheers
Sony Mobile has published experimental API
http://developer.sonymobile.com/2013/06/20/new-experimental-illumination-bar-api-available/

Categories

Resources