To send password wifi to that device. It not same with ACTION_HEADSET_PLUG broadcast concept. tq
Related
I am building an app which requires phone number authentication, but all the online SMS API providers are relatively expensive compared to the SMS prices I can get from Mobile Service Providers here in my country.
Let me start by saying, I KNOW it's not possible to send SMS programaticaly directly but...
My server runs on cloud, so I can't exactly plug in a GSM module to the server computer, but would it be a viable option if I create an SMS server using a GSM module and a Raspberry PI, then have the Raspberry PI have a connection to my Server so it will be notified whenever there is a new authentication to be, and then it will receive the users information and send the user the authentication SMS. Is this a viable idea, I know this will work, I'm just curious speed wise?
Does FCM allow registering the android application from the Backend server to receive the notification from FCM on the device
You will always need to get the device token on the device itself, but once you have that you can manage topic subscriptions for that token on the server.
I'm working on react native push notifications. i'm looking for some answers before i make a purchase to any third party notification provider
Why do third party notifications providers such as OneSignal, Pusher & PubNub are based on Firebase Cloud Messaging?
Can't they send notifications independently without relying on Firebase. why pay more to third party providers when FCM does the work for free?
Firebase is a Brand of Services
First, Firebase is a brand that encompasses more than just 1 thing. For example, there is Firebase the realtime database, and there is FCM (Firebase Cloud Messaging) which is the current incarnation of GCM (Google Cloud Messaging) which came from the original product, C2DM (Cloud to Device Messaging).
PubNub and others are push gateway providers
Second, third party realtime messaging services are not push notification services, rather they offer push notification gateways to the push services: APNS for iOS and FCM for Android.
PubNub Realtime Messaging & Mobile Push Notifications
In PubNub's case (my employer), we provide a realtime messaging service (publish, subscribe and much more) and if you provide a valid APNS and/or FCM payload, we will not only deliver that realtime message to active subscribers, we will also send a mobile push notification to the devices that are properly registered for them on that channel you published the message to. This allows the message to be delivered when the app on the device is either not active (background) or not running and therefore, no active connection to PubNub unless it is running in a background service). Now you can have an active connection to PubNub in the background with proper implementation and permissions from the owner of the device (easier on Android than on iOS which also has a review process that rejects apps that don't qualify as valid background service apps).
For Your Consideration
If you did not use a service such as PubNub or one of the other realtime messaging vendors or a push notification specific service like Urban Airship, you would have to implement your own server-based push notification service which is possible but might be more work than you would expect especially if it needs to scale, be secure, robust, etc.
The real question you should ask is do you need realtime messaging in your app or just push notifications and to what level of scalability where it is worth paying a third party for all that goodness.
I have developed a windows application in vb.net and now my client wants to add sms feature in that application. i have never used sms feature before so don't have any idea how to get it done. Can anyone tell me how to use GSM modem in order to send sms to recipients through vb.net application?
So far i have designed a GUI with NumberTextBox and SMSBodyTextBox and SendSMSButton. The sms should be sent to number entered in the NumberTextBox including the SMSBody when the user clicks SendSMSButton.
PS: SMS will be sent only by GSM Modem using Local network Sim Card.
Any support regarding this will be highly appreciated.
Thanks
Can we create an app that will receive push notification from a server, like in Phones and Glass
Since we have WiFi enabled Watches available now, we can connect to internet, but does it support push from external entity(Server)?
That is not possible AFIK.
You need to push the message to the phone and forward the message via the Data API. You need to keep in mind that the WiFi connection is only a fallback when the bluetooth connection is not available.
You can do it now from Android Wear 2.0 Developer Preview. Android can wear can directly make own network calls and same old FCM/GCM will work.
Under Network Access and Cloud Messaging
Android Wear apps can make their own network requests. When a watch has a Bluetooth connection to a phone, the watch's network traffic is proxied through the phone. When a phone is unavailable, Wi-Fi and cellular networks are used, depending on the hardware. The Wear platform handles transitions between networks. A watch's network access thus does not require the Wearable Data Layer API.
For sending notifications, apps can directly use Firebase Cloud Messaging (FCM), which replaces Google Cloud Messaging, or continue to use GCM.
No APIs for network access or FCM are specific to Android Wear. Refer to the existing documentation about connecting to a network and cloud messaging.
More details - https://developer.android.com/wear/preview/features/standalone-apps.html#network_access