Questions tagged [android-wear-notification]

When an Android handheld device and Android Wear are connected, the handheld device will automatically share notifications with the Android Wear device.

When an Android handheld device and Android Wear are connected via Bluetooth, the handheld device will automatically share notifications with the Android Wear device.

Documentation

106 questions
0
votes
1 answer

Open a wear activity from a wear notification action button

All im trying to do is set it up so that when you click one of the action buttons on the notification it opens a wear activity ive looked up how to do this a bunch over the past day and i keep winding up with the same onconnected: null issue. i cant…
0
votes
1 answer

How do I add a confirmation dialog to an android wear action?

I currently have an Android Wear action that is very destructive. How could I add a confirmation dialog to that action before executing it. For example, I have an action "Finish Workout" on the wear...once a user finishes their workout, they can't…
Kamilski81
  • 14,409
  • 33
  • 108
  • 161
0
votes
1 answer

Not able to send data from mobile app to wear app when both the apps implements the WearableListenerService

I have created a mobile app with an Activity which sends the data to wear. Mobile App Side the code is as below Please note I have deleted some code to reduce the number of lines. public class MainActivity extends AppCompatActivity implements …
0
votes
1 answer

Launching an activity on micro app (android wearable)

I am creating notification from my app on Phone in the below way. private void launchMicroAppFromWearableNotif() { int notificationId = 001; // The below action has been defined in the micro app Intent i = new…
0
votes
1 answer

Notification without "Open" action

I'm creating a notification that has a on content click action that opens the activity that i want it to open. Intent myIntent = new Intent(this, WearRunActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(this,…
cdlc
  • 323
  • 1
  • 8
0
votes
1 answer

Insistent notification on Android Wear

Notification.FLAG_INSISTENT works on my Android device. Notification vibrates and sounds repeatedly. However it only vibrates once on my Android Wear. I have followed the Android Developer guide to create an Android Wear notification, but no luck.…
0
votes
1 answer

Expanded notification

I have a notification that i want to be displayed immediately after that´s created. my code right now: Intent myIntent = new Intent(WearRunActivity.this, ResultsActivity.class); myIntent.putExtra("distance", distance); …
cdlc
  • 323
  • 1
  • 8
0
votes
1 answer

How to specify no actions for android wear notifications?

I have a couple actions for my notifications, however I don't want any of them available on android wear. I know I can specify a list of custom actions for android wear, but how do I specify none? (I've tried addActions with an empty list, but no…
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
0
votes
1 answer

Delay in Android Wear putDataItem() and invoking of onDataChanged()

I want to use the action button "Open" on a notification on my Android Wear application, to open a Dialog with some task data on my handheld. To do this, I put my message in a PutDataMapRequest and use the following method in my Wearable…
appel
  • 517
  • 2
  • 7
  • 19
0
votes
1 answer

Android wear action remotely activates a service in handheld

This seems like a simple thing to do, but there's very little documentation on this. I want to send a demand to an android wear device like so when the user enters a specific activity: then if the user is looking at his or her watch and presses the…
AndyRoid
  • 5,062
  • 8
  • 38
  • 73
0
votes
1 answer

Android Wear setContentAction starts and soon stops Activity causing: Performing pause of activity that is not resumed

I am doing Android Wear project. Notification is displayed to user with contentAction, so user can tap it. After taping it SomeActivity is displayed with DelayedConfirmationView giving user time to cancel upcoming API request. When…
kolczak
  • 181
  • 9
0
votes
1 answer

How to add an activity when user swipes to the next page of the notification in Android Wear?

I need to implement an activity to show some list of items when user swipes to the next page of the notification in Android Wear.How is it possible ? Now we can add the buttons on the added pages of notification.Please help me.
0
votes
1 answer

How to Test Android Wear App With Both Devices

I am new to Android programming. I am developing a wearable application. So far, I have a mobile and wear module. All I want to test is that a button on the handheld app triggers a notification to appear on the wearable device. To test it, I have…
0
votes
1 answer

How to show the same layout in android wear and mobile at same time

I have a layout of some textviews.The textviews are changing depend on a timer. I need to show this layout in mobile and android wear at same time.Please suggest me a solution
0
votes
2 answers

Android Wear fullscreen alarm

Is it possible that my Wear application sets an alarm on my watch that is shown above all notifications in fullscreen mode, e.g. like the stock clock alarm does?
Juke
  • 943
  • 1
  • 8
  • 14