I am new to android development and I have been asked to create a do not call application. Essentially what this app will do is allow the user to store data on the device and then submit it to the do not call database. I have all the UIs created and am saving the data requested. My question is how to transmit the data to the the do not call website/database?
jt_murphree
24
Light Poster
Recommended Answers
Jump to PostYou need to use HTTP, so check API for classes as HttpConnection etc. Here is sample how to read from web - Connecting to the Web: I/O Programming in Android
Jump to PostWith http connection you should be able to choose what method you want to use POST/GET and based on that parameters should be submitted to server for processing. In case of Java service, you would have servlet in place listening for either of them and based on some extra parameters …
Jump to PostThey must have web service otherwise you cannot do it, other then opening page in browser which would render your application useless.
All 10 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
jt_murphree
24
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.