Phonegap and Parse.com Push Notifications android - android

I am creating an app using html,jquery,php and phone gap and i want to send push notification using parse.I don't know how to do that.
I have seen an example in SO But it is for ios. I need it for android. Will this work for android.
Please help me. Thank You.

Have a look at this answer I've just posted, I've just got the Android Parse PNs working:
How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app?
That will help you get the app to recieve push notifications. To trigger them from PHP you'll need to use the REST API or a Third Party PHP library:
https://parse.com/docs/rest
https://github.com/apotropaic/parse.com-php-library

Related

Implement Android GCM on Ruby on Rails 4 server using rpush gem?

I'm developing an Android app and I need to implement a GCM service for it. The server works on Ruby on Rails 4 and it uses the gem rpush (I can't change the gem because this was already used by someone else to implement the equivalent service for iOS). I really have no idea on how to start on this, becasue I'm pretty new developing in Android.
Is there any tutorial out there that you could recommend? or what are the steps to implement this service in my server?
Thanks in advance.
Well, I finally decided to stop using rpush pretty much because the docs sucks. I am now using Parse to send push notifications. It works pretty well so that's my recommendation.
Hope it works for you guys!
Rpush provides API for sending push messages via GCM. Additionally you can get inspired by the existing code for APNS (iOS pushes).
You can check this blog post that contains a minimal working example of an Android App with Rails server:
http://mateuyabar.com/blog/android/rubyonrails/gcm/2015/05/13/Google-Cloud_Messaging-with-Ruby-On-Rails.html
Or check its source at:
https://github.com/mateuyabar/blog_gcm_and_ror

How to write push notification using .net webservice in android?

I am working on android applications. I need to write a .net webservice to send notification (push notification) to my application. I already worked using php webservice to send push notification but is it possible to write a .net webservice? If its possible please suggest me some links.
Will be really thankful..
There are many samples and tutorials. Did a search in Google and found this

iOS Android and windows Push notification

I have an application for for iOS, Android and Windows mobile.I want to send notifications to the application. AFAIK as someone new to this, I think that I need to send the notifications from my server to GCM server for Android and APNS for iphone, I have no idea for windows.
I was hoping if I can send the notifications directly to the phone (setting up a XMPP server , what the IM messenger usually use (JABBER,EJABBERD etc.)) without going to APNS of GCM .
EDIT : The application is an enterprise application so some customers don't want to share aur route their data across GCM or APNS servers.
Is that possible, please guide me to the same .
Thanks.
Take a look at https://github.com/Redth/PushSharp, It's a pushnotification service library for Windows, IOS and Android
Push notifications for Windows Phone: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402558(v=vs.105).aspx
Or you can use a service like Parse.com that allows you to manage push notifications for all he platforms using one API.
The library does that for you, you first need to do some configuration Check here.
Look a the samples.

What is the best approach for this project?

I'm planning to build an app for iOS and Android where the user has an account and can add friends. He can also post something, just like on facebook and all of his friends get a push notification and can react to it.
My question is: Which technologies do I need to use to accomplish this? A webservice with a database in the background? Can I do this with XAMPP?
Before going native, I wanna try out Appcelerator Titanium, any tips you can give me?
Thanks.
The simple way is "webservice with a database in the background" & your middleware should send the notification to platform server which will notify to individual devices for push notification.

how to get notification from another server in Android

I am getting data from the server, and I want to show a push notification in android. How can I do this?
Be clear to yourself What do you exactly want, I think you are using just a web service to get data. For push Notifiaction you need to implement Android Cloud to Device Messaging and here you can find complete tutorial.
Cheers

Categories

Resources