Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android to SQL/asp.net

 
saqib abbas
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There everyone. I am new to android and trying to build an application that would allow the user to make traveling plans for the future which would be stored in SQL data base and i would also create an asp.net based server side application that would compare the freshly entered entry to all other already existing entries. If the timings and destinations are same in different entries then the users with same travel plans would be notified on their android device. The notification will be sent along with the information of all the users with same travel plans so they can contact each other and share the transport facility and fuel cost.

What i would like to know is
(1)What is the best way to send data from an android application to SQL server?
(2)How can i notify the users with same travels plans using an asp.net web application?
(3)Since i am making this for only learning purpose, is it possible for me to create this application without using a dedicated server?

Any help would be greatly appreciated
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
saqib abbas wrote:What i would like to know is
(1)What is the best way to send data from an android application to SQL server?

I would suspect the easiest thing to do would be to make a web service which your Android application connects to as a client. In this case, you should think about using a RESTful API for the web service.
saqib abbas wrote:(2)How can i notify the users with same travels plans using an asp.net web application?

You would need some sort of push notification system. Google has its own notification system you can hook into called Google Cloud Messaging. But you should consider something cross-platform in case you plan on making your app iOS or Windows Phone compatible in the future.
saqib abbas wrote:(3)Since i am making this for only learning purpose, is it possible for me to create this application without using a dedicated server?

You could. It would require some infrastructure though (A server installed on a computer, firewall configurations to allow access to it, phones being on the same network, or a static IP address, or naming service that would let you find the server from the phone...).
 
saqib abbas
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply man Can you post some links that can be helpful for me?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a link I always find useful:
http://developer.android.com/reference/packages.html

This explains REST:
http://rest.elkstein.org/

And if you search for using REST apis on Android, you will find lots of examples and how-tos.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic