native notification Samsung Gear 2 Watch - samsung-mobile

I want to integrate with the native Samsung Gear 2 Notifications such that when my consumer app in the Samsgung Gear 2 Watch receives a certain data from my host provider, the User will get a Notification in the Native notifications app. How can I accomplish this?
I've spent 50+ hours googling, looking up docs, etc but there doesn't seem to be an answer. The best resource I could find are the links below, but even these seem outdated and don't work at all.
Help please!
So I've been following these Guides but neither of them work for me :
https://developer.tizen.org/fr/documentation/articles/how-use-tizen-notification-api?langswitch=fr
also
https://developer.tizen.org/fr/documentation/articles/notifications?langredirect=1
The error I receive when running the sample code they provided:
TypeError:'undefined' is not a constructor (evaluating 'new tizen.StatusNotification("SIMPLE", "Simplenotification",notificationDict)')

I figured it out. The answer is there is NO SUCH THING as native notifications for the Samsung Gear 2. That library is a private library owned by samsung only and only special people can have access to that. For the lay men the closest we can get is to enable notification via Gear Manager and have our paired phone relay notifications to the watch.

Related

actions on google demo code is not working on my android phone

I followed https://developers.google.com/actions/dialogflow/first-app tutorial and built my first google action. The action is working fine on my laptop browser in the test (Followed "Preview the App" section of the tutorial) environment. However, when I am trying to use this action on my phone by saying "OK Google talk to my first app". It's not working. Is it supposed to work on my phone as well? I have logged in with the same Gmail account on my phone also.
PS - I have posted the same question on "actions on google" google plus community google as well but I am not sure if that community is to post such questions or not. Therefore, I am posting it here also.
Thanks in advance!
Once you have enabled testing through the simulator, it should be available on all devices (mobile, speakers like Google Home, etc) with the same account your simulator is running in. Double check to make sure they're the same account.
In your case, however, you may be using the wrong invocation phrase. If you actually said what you did above, you need to say the exact same thing that you typed to invoke it.
If you haven't set a name in the configuration, then that phrase will be
Talk to my test app
Update
As you note in the comments - you also need to make sure you're running the Google Assistant, and not one of the other voice search components. The Google Assistant requires:
Android 6.0 or higher
Google app 6.13 or higher
Google Play services
1.5 GB of memory
720p screen resolution
Phone set to a supported language
As you probably already know you have to enable Web & App Activity, Device Information, Voice & Audio Activity in the Activity controls page.
Then you also have to be sure that the language of your agent is the same used by your google assistant.
I solved thanks this last step.
Hope this helps

Is it possible to make a receiver app for chrome tab

I'm posting here because I didn't find any satisfying answer anywhere.
The question is quiet simple. I see a lot of application implementing the cast feature on Android. The issue is that even if I have a brand new smart TV, it actually doesn't support the cast feature of the majority of my apps.
For example, my TV has a Youtube app so I can cast youtube videos from the youtube app on my phone to my TV.
Now I would like to cast my favorite streaming app to my TV but my TV is not found. So I'm thinking, okay let's try to make an app for my TV that will receive that kind of command.
I know that I can make an app for my TV. Before starting that ambitious project, I want to be sure that the google cast sdk will allow me to write such receiver app.
Do you think this is possible ? Or do we really need one receiver app for every emitter app ?
YouTube uses its own discovery protocol beyond what the Cast SDK supports. Apps need to integrate the Cast SDK in their senders and implement receivers that support their authentication and DRM.

Push notifications-Android Studio

I am planning to do small project which involves notification's widely but I have no idea where to start from, I need a particular type of notification's which is used in news paper app's.
In this process the app will not be updated but still notify a user of new messages or events and I want to make the message appear in the status bar.
You'll need to learn about Google Cloud Messaging GCM tutorial
And you'll have to learn about Android NotificationManager Notification Manager tutorial. Good luck 👍

MailCore2 on Apple Watch

I have created an app for the iPhone and iPad less than a month ago that uses MailCore2 to send emails without the use of a dialog box (like the one MFMailComposeViewController uses).
The app works great and based on reviews, the implementation of MailCore2 provides a sense of security to users when sending messages.
I am in the middle of creating the same app on the Apple Watch itself, and was wondering if implementation of MailCore2 was possible on this device. If so, can a link be attached so I could see how to implement this into my project? If this can't be implemented, are there other third party solutions for sending emails without a dialog box on the Apple Watch?
Thanks in advance to all who answer.
I haven't checked in a while but I was under the impression that no code actually gets executed on the Watch. You do all processing on the device and then send your results to the Watch via an extension (like the Today extensions in notification centre). The Watch only stores the UI and doesn't execute any code. In this case, as everything would still be done on the phone, I don't see why MailCore wouldn't work or would work differently.
Maybe they've changed the SDK since I last looked though and code is now executable on the Watch?

How to join an existing activity playing media in chrome app

So assuming you've already launched media on the receiver from an iOS/Android/Web app, how can another web app join this activity and control the media? I noticed that the cast API has a 'JOIN_ACTIVITY' in it, but there's nothing that currently uses it. Nor do you know the activity's ID to join it..
This is similar to How to check if a ChromeCast Session is already in progress however, this answer does not help to connect to an existing application
However, using the javascript API, even if you know your app is running I can't find a way to connect to it without re-launching
I managed to get some answers from the Google engineering team:
We allow clients to reconnect to the same session if they are launched
from the same origin (i.e. http://www.somedomain.com:80/). We don't
have the support in the V1 protocol stack to implement this across
multiple browsers. We can hard code something for V1 like mapping
origins to app ids, but it will still be some eng effort to add the
API support as well.
In short, the functionality from Android and iOS is currently missing from the Chrome SDK... hope it comes out soon.
EDIT: To update this, now that the official public SDK has been released, this is now supported!

Resources