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.
Related
How screen mirroring application works on Android devices?
A piece of data has to be passed from the phone to whatever device is mirroring the phone.
Is that data an image? If yes does taking 60 screenshots per second and sending that data to the mirroring device possible on the phone level, or It is to performance heavy ?
Note: "Mirroring": what appears on the phone screen is appearing on the other device(the mirroring device)
From the chat:
Developer mode on Android device can be enabled
PC browser is requirement
Interaction with Android device from PC is not a requirement
Most likely you should be able to modify or find a modification to how scrcpy behaves.
Given how obvious it would be to send the Android display feed to a browser look to Using a webclient instead sdl app github issue thread for possible solutions or avenues for investigation.
I'm working on a simple Android Bluetooth app that will search for nearby bluetooth devices and connect to them. Currently, I'm displaying all the nearby Bluetooth devices in a ListView, but I want to achieve something like the following:
More importantly, I want to show an appropriate icon here for every nearby Bluetooth device. For example, if it's a phone, then icon should be of a phone, if a Bluetooth Audio device, then a headphone icon.
How can this be done?
Thank for your time!
Try this out,
https://github.com/booncol/Pulsator4Droid
Put this in a relative layout and your icons too, when user taps on them, take them to the next activity!
Is there a way to create a notification that will only appear on the android wear device (and not in the mobile device)?
Please take a look at answer in your other question.
Different text for the wear device and the mobile device
Basically just ignore step to make a notification on your phone (with setLocalOnly()) and you will achieve exactly the result your are looking for (only notification on Wear device).
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/
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.