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/
Related
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.
I am searching the answer from google and android website.
Because the iPhone can do that. But I can't find the Android has the API to do.
http://forum.arduino.cc/index.php/topic,19648.0.html
Because the microphone pin and GND pin maybe change in the different android phone.
So, I try to use the line-in (right) to get the data.
I checked the Hijack project, it used the microphone pin to get data, and used iPhone.
Does android phone can do the same function?
Thank you for your answer.
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
I am developing an app on sony smartwatch, and I started off with the SampleNotificationExtension example. I would like to change the font size of my notification. Does anyone know how to do this?
Thank you so much!
Unfortunately, there is no way to change the font of notifications. You only supply the information that is to be notified (into the Smart Connect notification database) and then it is up to each individual Sony Mobile smart accessory to render the notification on the device.
Background: I have an app with notifications and I want to support LED notifications (and it's working perfectly). In my preferences, I allow the user to customize the LED notifications.
Problem: I don't want to show the LED customization options if the device doesn't support them because it can possibly confuse the user (If all you've had were cheap Androids, you have no idea what LED notification is). Is there an API that I can use to detect if the device supports it?
if there is an 'old' and a 'new' way, I'd probably prefer the old way as my lowest supported API level is 4.
Thanks
LED notification: If enabled, your phone's LED will blink for notifications when your display is off.
Is there an API that I can use to detect if the device supports it?
Alas, no, there is no API for this.