How to create custom Push Notification for my Own App?

前端 未结 3 1089
后悔当初
后悔当初 2021-02-02 16:59

I want to make my own Push Notification that works for my Own App. I know that i have to manage all that threw the Web-Service. But i am wonder about how to make that push Notif

相关标签:
3条回答
  • 2021-02-02 17:59

    The easiest way to do it is using Urban Airship - http://urbanairship.com/

    Check all the guides/docs on their site, as they explain everything very well, you'll need to register with Google for a C2DM auth token, and set up a free account with Urban Airship. Then it's just a case of configuring you manifest and a few other classes. Dig around in both the API docs and the guide. The urban airship jars have very good support for logging too, so if you can't get it working, check logcat and this will usually give you a good description of why it's failing.

    You can also do some other cool stuff like use the notification to trigger running some code etc.

    The notifications can be sent from Urban Airships site/UI, or via a JSON payload via a HTTP POST request from your web server to Urban Airship.

    Without Urban airship, your stuck creating loads of server infrastructure, Urban Airship has a very generous free package (1000000 free notifications!) and also supports cross platform, so you could send notifications to the Android, BB and iOS versions of your apps from one place.

    0 讨论(0)
  • 2021-02-02 18:02

    If you want to manage all by yourself, Click here. This is a great tutorial, which has code to establish the push web services, as well as app implementation.

    0 讨论(0)
  • 2021-02-02 18:02

    Have you tried PushApps? you'll find all of your answers detailed here - http://wiki.pushapps.mobi/

    0 讨论(0)
提交回复
热议问题