How to create a simple messaging app for Android

KashifB

Member
Apr 1, 2013
5
0
0
Hi,

I'm new to Android development so please (if you can) explain in details.

I have a requirement of sending a message from an ASP.NET website to one or more Android devices. These device should somehow be authenticated, maybe I can save their IMEI's in my website DB or some other way. The device receives the message and has an option to send a reply message.

So the steps:

  1. Website sends a message (or saves it in the DB as a new message against one or more IMEI numbers)
  2. The device (or devices whose IMEI is saved against that message) receive a notification
  3. The person clicks through on their device to go to full message
  4. Then has option to reply to the message or forget about it

That is all I need.

Is there a way of doing this with or without using the DB?

Thanks
 
Hello,

You can forget about the IMEI number to do this kind of app. Unless you do not want to touch the tablets without a SIM card.

What you describe is quite possible, you should do it easily with GCM (Google Cloud Messaging).
You will not need database. But in some cases, it may be usefull (history, ...).

What you say is good, but you'll have to replace the IMEI by GCM register id.

Google Cloud Messaging for Android | Android Developers
 
Thanks for your reply Shemsu - I did use GCM for this and also used the GCM device registration ID instead of IMEI