i am using android wear emulator with real device which is already connected.Android wear displayed my message notification but i can not receive any notification when i receive incoming call...
So basically how receive incoming calls with notification in Android wear?
This issue occurs when the Android Wear app (or Wear OS as it's called as off today) on your phone doesn't have the right permissions.
You can fix this by going to your phone's settings > applications > Android Wear/Wear OS > Permissions. Over there, enable the phone permission. You might also want to enable the contacts permissions to let your phone display contact information.
Related
I want to create an app for Wear OS to replace the default Messages app for handling SMS/MMS messages. To start with, my app will get messages from the phone, relying on the phone to communicate with the cellular carrier. What does my replacement app need to do to send and receive SMS/MMS messages from the phone?
Can my app communicate with the default Google messaging app on the phone (so I don't have to write a phone app too)? Is that protocol/API documented somewhere?
Does my app need to register with the watch to become the default message handler and disable the default app? If so, how do I do that?
I have a Bluetooth device which can receive a data from the android phone. When it receive a string as 'Request', the device will send a control message to the phone 'Open'. Based on the control message, the android phone can call an Intent service as open a calling. Due to security, I am not sure is it possible in android version 5.0 to 6.0? Can you give me some suggestion?
Yes, It is possible inside your app to handle messages received from other devices.
I am developing an android application in which my application send some message which have some specific codes and these codes used to operate my device. And my device is not phone it's an another custom hardware device (Developed an another hardware which is used to control other hardware such as AC/Cooler etc).
Now problem is that whenever my application send any SMS this is shown in SMS default application (O.S 5.0 or greater). While in my phone O.S. 4.2 these sent SMS not shown. And that's what I want. These specific codes should not shown to any one.
I know this is some API change android have done in SDK but there is any solution to overcome from this problem.
only solution for this problem can be "Delete the sms from Sent folder/table of SMS database."
But on or after Android 4.0, Deletion from SMS database is not allowed by public apps. SMS deletion not allowed
As the title says, my emulator receives the notifications I type from the google server I implemented on my localhost:8080. But it doesn't receive them on my physical device. I checked and both the emulator and my phone are getting registered so I'm wondering if there's a setting I need on my phone to receive them??
I am developing a package manager application which shows checkboxes to turn off notifications from different applications installed on the Android device.
Since Android 4.1, users can turn off notifications of an app from application manager. Can I turn on/off notifications from an app programatically? Is there an API for doing that?
No, you cannot do that from your code. Perhaps on rooted devices you could do some magic, but that shall not really count for wider audience.
If you are App dev, you should manage that on server side, having a webservice (REST API) allowing the user to unsubscribe to the notifications.
Then implement a Settings section in your App where user can uncheck a notification box and that call this service.
Then, your server will not send the notification to this user.