Last post Jan 01, 2012 07:18 AM by Anindita.Basak
Dec 31, 2011 01:00 PM|tribblehunter|LINK
Hi. New to asp so please be gentle.
I am trying to post a query to a webform from an android app. What I want to do is send a serial number and search a database but do not want to open the form within the app.
I am using app inventor and the web componant (if anyone is familiar with it).
here is the form i am trying to get to activate
Any advice much appreciated
Dec 31, 2011 02:26 PM|tehremo|LINK
You can POST with the WebRequest object from the codebehind:
Jan 01, 2012 07:18 AM|Anindita.Basak|LINK
You can try to implement the POST & retrieval of the data from the asp.net webform to Android application via OData WCF Services.
If you have access to the database from which you want to retrieve the data , that's great. You can easily achieve it via ADO.NET entity framework & create a WCF service then retrieve the service via GET/POST to your android native application.
A more about OData WCF Services: http://odata.org
Consuming SQL Server Data / OData WCF Services in Android-Java Application: