Push a notification from Android app to Gear 2 (Tizen)? - android

I can't seem to find a document on how to push to Gear2 from my Android app. The closest I can find is this tutorial on building the Integrated app, but it's a fetching scheme (data only transferred when the user presses a button on the watch) http://developer.samsung.com/events/developer-blog/blog/Tutorial-How-to-build-a-Basic-Integrated-Gear-Application
So I'm wondering is the push is done via standard Android Wearable Notification, like here ? http://developer.android.com/training/wearables/notifications/creating.html
or any pointer to documents?
Thanks.

http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_UIDesignGuideline_1.0.pdf.
section 3.4
Notifications app section.
I don't think any code is necessary (though I haven't tested this myself)
The default behaviour is to push all notifications, but it can be controlled using Gear Manager App.

Related

gcm push notifications, progressive webapp

I followed the google documents to create a progressive webapp and I've just implemented push notifications, however whenever I close the app I don't get any notifications.
Other apps like whatsapp seem to be able to send those notifications is there a difference between native notifications and gcm push notifications from a progressive webapp?
There absolutely no difference between the two, the rendering part is the same, it just that native ones are the notifications that comes from a apk generated app and the other one is rendered using google chrome or any web browser that support the functionality.
Beside the service worker with the help of manifest.json file will use the GCM ( Google Cloud Messaging) to send notifications to end users.
I worked and implemented such functionalities before, and I got my notification directly to the browser and my android phone as well, therefore I created a Github repo with nice documentation that simulate just that using Nodejs and simple web interface, please feel free to check I guess it holds what you seek :
Link : https://github.com/houssem-yahiaoui/webpush-notification

Azure notification hub sending notifications to iOS only

I'm working on a multi-platform app which includes push notifications. The issue I'm facing is described in the images below
1st Scenario :
2nd Scenario :
However, when I test notification hub (using azure portal or Visual Studio), I receive notifications on all the devices.
It seems that Azure Notification Hub is ignoring Android devices when an iOS device uses the same account (tag).
Any help would be appreciated
For that type of issues, use the Service Bus Explorer. Likely, your Android app did not subscribe successfully for some reason. Subscribing different apps working on the different platforms to the same tag should not be a problem - i saw it working many times, and implemented that by myself.
If you see in the Service Bus Explorer (see registrations for your NH, and search for your android app registration and the tags field) that your android app is subscribed to the tag, but you see no notifications, check if your notification is malformed.

android web-app push notification

On Safari, it is possible to have the following setup:
I pay Apple $100 / month to be a web developer.
I put up a site, say foo.com
When a user visits foo.com on their iPhone, a message pops up, saying "foo.com would like to send you push notifications. Do you allow? YES NO"
If the user clicks yes, then I can send the user push notifications:
without using SMS
without the user ever installing my app
On Android, is it possible to do the same ?
I know that there is something called GCM. However, every GCM tutorial I have found involves:
* writing code in Java
* installing an app on the android device
I also know of other commercial tools that will do the push for me.
However, my question is. On Android, is the following possible:
I register to be a Google dev of some sort.
I put up some code on foo.com
When a user visits foo.com on their android phone, a message pops up saying "foo.com would like to send you push notificaions. Allow? Yes No"
If the user clicks yes, then, by talking to some Google server, I can now send the user push notifications (without the user installing an Android app).
On iOS, we have https://developer.apple.com/notifications/safari-push-notifications/
I want to find the equivalent for Android.
Thanks!
Nope, you would need to get them to deploy an application onto their phone for you to then register and send push notifications to. You have to right that application as well, most likely in java. I don't even think your idea would work on iPhones either without a native app as well..

Mobile Push Notification using Web App

1- I want to write a simple web app (not native) used to send my clients news via push notification on ios, android, etc.
I found pusher.com, but the demo is not working.
It could be great if I can link it to my rss url, so they can get notified whenever a new record is added.
2- I want to add shortcut of my app on client devices.
Thanks
You can use GCM for android, and APNS for iOS, and there are many tutorials of these. Especially, iOS very strict rule for push notification, or your app will be rejected.

How to port an Android app in Blackberry With Push Notification?

i am an Android developer and and Want to port my Android app in Blackberry 10.
in my android app i have a promotion feature in which i use push notification to show current promotion. and when user click on it, it opens browser to show promotion.
ok this is the working of my app.
now i want to ask how to port this app in Blackberry with that push notification feature.
is it possible.
any tutorial or example for this.
i have already read how to convert/port Android App in Blackberry on Blackberry's Developers site.
but is it possible with push notification feature?
Regards
As it turns out, you can. Check Creating Push-Enabled Android Apps. You can't use Android C2DM, but you can do the same using BB10 push service.

Categories

Resources