Does anyone know if it's possible to control a smartwatch app (Android Wear) through a smartphone app. An example would be to switch to another page in the smartwatch app by clicking a button in the smartphone app.
Yes it is possible, there are API's to communicate wearable. For example you can send messages between phone and wearable using the MessageApi. Check this training page for how. Or you can use BusWear library for sending events between phone and wearable.
Related
I have a doubt regarding PWAs. So, using the native android SDK we can through f.e. NotificationListenerService listen to specific/all device notifications like a smartwatch application does when it has to display the same notifications on the watch as the smartphone does. Is this possible to be done on a PWA?
For example, I want to make a PWA that stores all device notifications, so I need my PWA application able to listen to all device notifications (mainly the ones from other applications)
Is this possible?
I am trying to develop a companion app for a project of mine.
I want this app to relay incoming notifications on my phone to a device connected via BLE. This device will then display the text data on a screen, similar to a heads up display so that I can use it in my car and not have to go through my phone while driving (also illegal of course).
I want to know what is required for my app to be able to get notifications, and send it via BLE to the already connected device. I'd also really like to know if this can be done for an iOS app since I would prefer to end up with the final app being built for iOS. If not, android is fine for now.
This device is an ESP32 and will run its own code to execute actions when text is received.
Thank you
I am working on iBeacon based project to send the push notification to Android devices using Bluetooth wireless technology. Is there any way to send the push notification to Android device without any installed app over the Bluetooth? Basically, iBeacon is connected to Pi using Bluetooth and Pi (Pi 3 with inbuilt Bluetooth) will communicate with Android devices using Bluetooth. Following are the possible ways to send data/notification to Android devices:
By an installed app
Push notification through chrome using web-socket
But above both ways are not useful for my task. Kindly allow me to know if there is any way to do it.
You can use Google Nearby to send a notification to the device on beacon detection. Tapping the notification can bring up a website or open a Google Play Store page to install your app.
https://developers.google.com/nearby/
I want to send a notification to an android app based on some changes in the watch accelerometer, the watch is gear 2 running tizen. I can send notifications from android to the watch but not vice versa. How would I proceed with this ?
You can create Producer-Consumer (Companion) App using Accessory SDK. One for Android and one for Tizen gear. Add listeners in Tizen app and send data to android app when there is change in accelerometer reading.
You can refer Accessory SDK for more developing conpanion apps.
I am planning to develop an app for the gear (s) and a samsung galaxy mobile (note 3).
I want the user to be able to choose from a list (same like in the gear app of samsung) of all installed apps. The notifications of the selected apps shall get sent to the gear and the notifications of the apps that are not selected in the list shall get sent to another bluetooth device.
Since I know that the communication of the samsung gear is very weird, I wanted to ask if it is possible for my app to communicate with the gear S to rely the notifications to the gear.
Also, since the note 3 runs android and the gear S runs tizen, how does the communication have to look? Do I send my notifications as JSONs to the gear, or how can the gear know that it shall display the notifications?
Standard Android notifications are passed to the Gear using the method you describe.
There is a deeper mechanism that you can use called Rich Notifications. Part of the solution runs on Android and you can write JavaScript web apps to respond to the messages on Tizen. JSON is not necessary for Rich Notification. If you want to set up a two-way communication link between watch and phone, use the Accessory SDK.
There are sample apps in the SDKs showing how the communication occurs on both sides.