I want to build a cross platform app(IOS/Android) that notifies users via HapticFeedback whenever a timer ends. Given the nature of the app, users that have a Watch connected to their device would benefit greatly from having the Watch vibrate and not the phone.
Question:
Do watches such as the "Apple Watch" and the "Samsung Galaxy Watch" automatically route notifications coming from a third-party app to the Watch or would the app need to specifically target the Watch in order to make it vibrate?
Would a package like "flutter_vibrate" be capable of making the Watches Vibrate?
The companion app that pairs with the watch needs to be set to either:
Forward system notifications to the watch
or
Specifically let the app in question send notifications
Therefore, as long as the companion app controlling the watch is listening for system notification and forwarding them to the watch, the flutter_vibrate package will provide HapticFeedback to the watch
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'm looking for a feature I'm finding surprisingly difficult to research.
I want to emulate a feature I know from another app in my own.
Here's what the app does:
it is a baby monitor, one device is in a room, and on noise (in the use case of the app: a crying baby), a push notification to other, connected devices is triggered
the other devices are connected via the internet
when the notification is triggered, the receiving phones play the streamed sound from the room, not just briefly, but continuously
this works even if the phones are locked
it works both on iOS and Android
I would like to send such a push to a self-written app. Sender would be some server, receiver would be Android and iOS devices.
How is this type of push notification called in iOS and Android terms, respectively? Where can I find documentation for it?
I'm developing an android application using BLE. I've implemented all the basic operations like discovery, connection, and data transfer.
Now I was looking for BLE notifications, Is it possible to receive notification from BLE device when the application is not running (not even in background).
What I want to implement is the notification similar to GCM/FCM, we receive notifications in our app even though app is not running.
So want to check if similar notification mechanism is supported by BLE devices and Android framework.
I've searched for few hours now but didn't get any proper result.
If anyone can just tell me if it is supported or not?
Now I was looking for BLE notifications, Is is possible to receive notification from BLE device when the application is not running (not even in background).
BLE is just a communication protocol. When someone talks, someone has to listen.
What I want to implement is the notification similar to GCM/FCM, we receive notifications in our app even though app is not running. So want to check if similar notification mechanism is supported by BLE devices and Android framework.
GCM/FCM works because Google Play Services is running on the device listening for messages.
I can imagine two possible cases based on your question:
If by "receive notification" you mean a change in a Bluetooth characteristic - well your app should be running already. Only you know how to talk to the BLE device.
If you want to implement a location aware beacon type behavior with BLE you may be able to leverage the existing Google Nearby feature to achieve the desired effect.
I would say no. You need to have the app running to get Bluetooth callbacks. You should simply set up a Foreground Service in your process and that will keep the app running in the background.
If you want to receive notification event if your app is not running, you should implement Android service that continuously scan for BLE frames and ones it catch some frame that is met some parameters (for example for iBeacon it will be specific Major and Minor values; for Eddystone URL -- some specific URL etc.) -- just send intend to start your application.
I am creating a application in android similar to Device Policy Administration that can remotely clear the data on the Android device.I have followed the sample in the android docs here http://developer.android.com/guide/topics/admin/device-admin.html
I need some assistance on how this is implemented.I have come across some apps that perform such tasks of remotely accessing the device(like clear data on the device,Ring the device to full volume).My doubt is
1.How did they implemented this functionality in android what concept have they used to send request to the app to ring the device?Is it via Push notification?
2.Also even if i mark Settings->Security->Device administrators->Android Device Manager(ADM)->Deactivate and from the console (https://www.google.com/android/devicemanager?u=0)
I Ring the Device...the device Rings.Shouldnt it not ring until and unless i dont activate the ADM.
3.Also even if i do not launch(start) the app ,I am still able to Ring my device.Does it mean that whenever i start my device my Device Administration App gets launched automatically?
Any help will be highly appreciable.
How did they implemented this functionality in android what concept have they used to send request to the app to ring the device?Is it via Push notification?
The Android Device Manager is a proprietary service and piece of software. You will need to get a job at Google, join the ADM team, and then learn how it is done.
That being said, a GCM-style push notification is a likely solution.
Does it mean that whenever i start my device my Device Administration App gets launched automatically?
No. Device administration != always running. Device administration status simply gives you access to other APIs that normal apps cannot use.
Note that a GCM-style push notification can be delivered to an app that is not already running.
The rest of your question has nothing to do with programming and everything to do with the proprietary implementation of ADM, which makes it off-topic for StackOverflow.