I am a newbie in this vast world of android. I am really struggling very hard in understanding how to create an android application which can communicate with SQL Server 2005 through WCF Service hosted on IIS. I know it sounds duplicate, but please believe me , i tried all of them :(
WHAT I WANT TO CREATE I am looking to create an app which will authenticate a user and will display its user details. Thus on login activity i am looking to send the username and password to the webservice which will then retrieve the data from SQL Server. If credentials are valid then app will call another activity which will display the
After many days of research i finally found some code which creates a WCF service and sends back a JSON String.
Can someone please help me or share some links , resources, ebooks basically anything which suggests how to consume on android application a WCF service returning JSON hosted on IIS. If possible any help around how to create a login page that authenticates a user credential will be marvelous.
Link URL :- http://localhost/JsonWcfService/GetEmployees.svc/json/employees String returned :- {"GetAllEmployeesMethodResult":[{"firstname":"James ","lastname":"Bond ","salary":51622.22},{"firstname":"Nishant ","lastname":"Godbole ","salary":55211652.55},{"firstname":"Tom ","lastname":"Cruse ","salary":2932.55}]}
The code which i found on internet. It has some flaws which took me a while to figure out :) http://ift.tt/1EZ73Ns
Aucun commentaire:
Enregistrer un commentaire