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?
Related
I'm trying to understand how even the chinese smartwatches retrives the notifications that I receive on my iPhone, even without any dedicated app installed, all via bluetooth.
My goal is to use a BLE module (like an esp32 or so), connect it to my iPhone like if it is a smartwatch, and receive something on BLE when I receive a notification on my phone.
How it works, or how this "function" is called, so I can do I research online.. at the moment I did not find anything.
thanks in advance
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 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 would like to know is there any way to send notification from a server to an Android device without a client app installed on the device. Does android OS has such functionality. Based on the answer here Does Android support near real time push notification? Google Cloud Messaging do similar things, but it seems the client app need to be installed on user mobile.
Basically what I want do when an android device comes in range of an iBeacon
I need to send the notification messages to the user mobile.
Is there any way to achieve it. Any possible solution?
Edit:
The real scenario is like,
I have the beacon placed in somewhere, when the a device comes in range of the beacon, some how I have to detect the device(if the device Bluetooth is on) and get some id of the device send notification from cloud server. Where as the device(Android phone) don't know the beacon is there, or there is no app installed on the device to detect the beacon.
I am not sure whether it's possible to achieve the above goal in such a scenario.
Please let me know your valuable feedback.
Chrome 42 or higher for Android supports push notifications from websites, which allows you to send notifications without installing an app.
If you're specifically looking to start notifications from a beacon, Chrome 49 added support for beacons
I'm currently working on an application that would communicate with a hardware device which will notify user when receiving any incoming push notifications from any apps, such as Facebook, Twitter, Messages. I have done the Android version already, However, I'm not sure if it is possible in iOS.
Ok, I found out that there's a way to work on this. Apple actually provides a service called Apple Notification Center Service (ANCS) to communicate with BLE devices for all notification data. This is probably used by device like Pebble smart watch as well.
For what I know, it is not possible. iOS apps are sandboxing.