I am working on a project where I would have a web application built with Django send alerts to my registered users directly on their Smartphone.
For example, let's say that a user has subscribed to the Newsletter, I want his phone to act as he configured it (for example, ringing or shaking) when a Newsletter come in. Then he could open his Smartphone to read the newsletter. After reading it, the user would be prompted a question to know if he wants to post a Comment. If he click yes, his browser opens at the Newsletter page where he can post his comment. If he clicks No, it simply close the Newsletter until a new one come in.
Is there a way to do this from a Web application with Django/Python ?
Thanks !
There are four ways to handle this:
Write your own custom native app for the phone. Your native iPhone app can receive push notifications from your Django app via the push notification API. You native Android app can receive notifications from your Django app via the cloud-to-device messaging (C2DM) framework.
Write your own web app (HTML + JavaScript) for the phone, using a wrapper app that handles push notifications/C2DM. Adobe PhoneGap is one such wrapper app; there are probably others.
Send a message via an existing service, such as Twitter or Email, for which the user already has an app.
Use a service like Pushover, which has their own native app that is intended for notifications from web applications such as yours.