When mobile has some notifications Immediately the Laptop should recognize the notifications and should display those .
I want to know how could I implement it
Any Help??
Well there are many ways to do it.This is how I might do.
//Logic Only//
Laptop should be connected to wifi. Whenever user gets notification then that notification should be uploaded to a server(or sent as a sms to server if internet not available) and then sent to laptop.Then the laptop should display it.
Related
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 new to mobile development and have a query: Is it possible to send a push message to all smartphones (irrespective of os/platform) connected to a Wifi network? The message would ask the smartphone user if they wish to download a file (PDF). The hurdle here is that these mobile phones need not download, or have already installed any specific app for the notification to be received. Any help would be appreciated.
There is no standard method of sending (pushing) a message to all devices attached to a Wi-Fi network. If there was a way, it would be easy to find the specification and point to how it is to be done. Unfortunately, it is difficult to prove the absence of something.
Send notification to all the devices connected to a Wi-Fi network
Scenario: Suppose I have set up some WiFi and have one server in it. When android user connect to that WiFi area then I want to send notifications to those devices which is connected with WiFi. I don't want user, to install any app in their devices to receive notifications.
Can I use any system service to receive notification which is already running in the device? or something else which help me in this.
You can create a login page to force users to allow notifications. After the user allows the notification, internet is free to use.
That way, you can send notifications without installing any app.
I am developing app on Android GCM push notification. Everything works fine .But I am not able to get the notification message when my device is on wifi rather than on data plan of service provider. In my case data plan is 3G but and notification comes as usual to devices but when device is connected through wifi I am not able to get any notifications.
Well this should not be the case, I have an android app that receives GCM push notifications regardless it is connected via 3G or Wi-Fi.
What I would suggest to troubleshoot this problem:
When you send the push notification from the server make sure to NOT include delay_while_idle, so the notification get delivered right away. Also make sure you have set time_to_live to a reasonable value (default is 4 weeks)
Try to hold a Wi-Fi lock in your app
Test with different device and/or Android version (maybe it is a problem with certain hardware/API version)
I have App "A" in android device "A" and i have the App "A" in android device "B" . Is it possible for me to send the notifications between the devices through WIFI??
Thanks in advance
There's a variety of ways to do this, but ultimately it all boils down to have an app running on the second device that receives some trigger to show a notification.
Some examples....
You can have an app with a open server socket on device b and then discover and connect to it to send a message that triggers a notification over TCP/IP. http://jmdns.sourceforge.net/ can help with discovery.
If they both have a network connection, you can build something on the App Engine to send a C2DM message to device B, and then upon receiving that message trigger a notification.