1
Answer

GET, POST FROM NATIVE ANDROID TO WEB SERVICE BY URL

Photo of praveen kumar

praveen kumar

8y
259
1
Hi,
 
I am developing a native android app in xamarin, completed my UI and developed web service using php i want to call web service from android app to the url i posted the webservice. i want to do both GET and POST by calling the webservice
 
kindly help me out.
 
Thank you,
 Regards,
Praveen kumar 

Answers (1)

0
Photo of Mitesh Mistry
NA 27 1.4k 9y
it shows me this error : localhost.SqlParameter does not contain a constructor that takes 2 arguments
 
in
param[0] = new localhost.SqlParameter("KeyWord", b[1].ToString());
this line...
 
 
0
Photo of Khan Abrar Ahmed
NA 5.8k 200k 9y
Hi u can try like this
 
localhost.SqlParameter[] param = new localhost.SqlParameter[2];
param[0] = new localhost.SqlParameter("KeyWord", "Testing");
param[1] = new localhost.SqlParameter("PageSize", 20);
var objGetDetail = Obj1.GetDetail("SP_Related", param).Tables[0];