Copy text on handheld via tap in wearos - android

I am trying to build an authenticator sort of android app with support for WearOS , what i want to accomplish is ->
from a list of TOTPs if the user taps on any one of them ON THE WEAROS app , i want the OTP to be copied on my android handheld ( even when the authenticator application is closed)
is this possible ?

You should be able to communicate from your Wear App to your paired Mobile app using the Message Client.
https://developers.google.com/android/reference/com/google/android/gms/wearable/WearableListenerService
Your authenticator mobile app will be woken up when the wear app sends a message, and then handle it as you want.
See here for more information about data syncing. https://developer.android.com/training/wearables/data/data-layer

Related

Receiving notification of an Android app through another app

I was wondering if it is possible to receive the notifications and messages of one app (e.g. WhatsApp) via another app (user developed app) without changing anything in the source app and sending back the user response to the source application (WhatsApp).
I tried to do this in IOS but IOS does not allow such interactions between the applications.

Can an app be build to send notification to non-app user

Is it possible to create an app that can send notification to the user who does not have the same app installed on his device.
I have come acrossed 'Push Notification' service via GCM and FCM but it requires the app being installed on both the devices to communicate or send notification.
(P.S- No suggestion for web application to user mobile service)
You can use other means of communication like SMS or email.
No. Notifications even though coming from Android Google servers are part of the app environment. So you cannot send an app notification to non app users. If that was the case imagine getting app notifications from Amazon and whatnot.
But you can use some other means like mail, sending links of your app via mail/sending invites via mail or SMS.

server update device not in use

I am developing a small chat application using node.js for iOS and Android, Now my question is that one user created a account and logged-in using this application from iOS or Android, then the user deleted this application without log-out. How the server knows this device has deleted the application without log-out?. Since, while user again installing this application, the push notification is still arriving without the user log-in.
Apple has a feedback service to give you information about failed remote notifications. Basically you listen the messages from feedback.push.apple.com and you flag the devices returned from feedback service. So no further push notifications will be delivered to that device. When user installs your app again you can remove the flag and start delivering the notifications.
For the android part check this question; Is there an Android GCM equivalent to the iOS Push Notification Feedback Service?

Exchange data between android devices of one user without cloud programming

i want to program an application that connects different android devices of one user. If happens an event on one device, the other one should be notified (eg. a toast for testing).
Is there a service in the world of google that handles the backend for me, without programming my own server/cloud-app?
An example would be timely from google where i can change the clock on my mobile and seconds later the new value ist available on my tablet.
Thanks
Yes there is a service, that can be used for sending notification to another phone. Here is an official link.
Google Cloud Messaging for Android
And this is an example
Android Device to Device Messaging using GCM via HTTP

How to send a push notification from one Worklight-based Hybrid app to another Worklight-based Hybrid app

I run Push Notification Sample code on Worklight server and its working.
Now i want to send notification from one device to another device so what are the required changes in the adapter?
The adapter XML:
<displayName>PushAdapter</displayName>
<description>PushAdapter</description>
<connectivity>
<connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
<protocol>http</protocol>
<domain>https://android.apis.google.com</domain>
<port>8080</port>
</connectionPolicy>
<loadConstraints maxConcurrentConnectionsPerNode="2"/>
</connectivity>
Should i change domain and port and i have to upload the app first on google play so that i can able to recive or send notifications. And should i create a key for android device on GCM
Push notifications in Worklight (and I believe at large as well) are not sent from one device to another per-se; consider it this way:
You have two applications:
A managing app
A receiving app
User A is running the managing app - this application is able to send a request to the server, which tells it to send a notification to some other user(s).
User B is running the receiving app - this application is able to receive notifications.
All of this is not related at all to the Google Play store.
Yes, both apps will require a GCM senderId and Key values in order to have any Push Notification capabilities.
As for implementing all of this... there is no sample to do this, but you already have part of the solution (the sample app is able to receive notifications). What you need to do now is have the managing application be able to retrieve a list of / specific username(s), and create a procedure that will invoke a function to send the notification based on the username(s) you have retrieved.

Categories

Resources