database - Android-Send data from an application to a lamp Server -


i want send data android application lamp server , store data on database. don't have experience in because it's first time set lamp server , create database communicate android application. tell shortly made android app takes photo , makes ocr. want take resullt example product name , price, , send server in order store in database. searched web got little confused because saw lot of different methods in order this. so, want ask best way , how i'm going it? thank you!

sending data android app no different other client can think of, call webapp, java app or other application capable of doing http request, long have proper server side code (php), catch request parameters sent http request made client, connecting database , populating values, of course important take on count 1 of authentication mechanisms available, people care can hit server , populate database.

here example how http request using "get" method in android: http://sunil-android.blogspot.com/2013/01/httpclient-and-httpget.html, if "post" method need example perfect: http://www.androidsnippets.com/executing-a-http-post-request-with-httpclient

in order catch values there's tons of examples in php that...

hope these examples , luck...

regards!


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -