Its a working demo for consuming rest web service in android try it..
That mean your server url is wrong..
Yes sure I will mind it next time..
But in this post nothing in layout, you can call any layout..
Problem with your url. I don't think it is .json , it may be .php, .svc, .asp or someting else according which type of service you are using.
And if it is get service you can test in browser also.
Above code for client side(Android) so just right REST full web-services for testing the demo. You can use any language (java, php, .net) for write web-services.
What should be the url in this case. I am unable to open the webpage http://localhost:8080/wifidirect.txt. I need to post these details in above webpage. what exactly i am missing?
D/****Status Line***( 2479): Webservice: The requested resource does not exist on this server.
hi, I take error as -> "The server encountered an error processing the request. See server logs for more details."
your web-service in which language written? .net,php,java ? Basically this is a Rest-full web-service for .net.
In my App I have 2 activity I want if the application run first time then activity 1 show but if application already run 1 times then if user launch application then activity 2 is directly open.
This is much required for me, Is there any way to like facebook page on button click without redirecting user to facebook page.anyone who have idea about this can reply.
With out one time login on Facebook you can't. It is Facebook security policy, ones you have to allow user to do it. You can do one thing force user to login with Facebook account first time and keep his credential in preference for next time use.
Login is not issue for me, if user is already login using facebook then how to enable auto like on button click without user interaction with facebook page.
Can we call the POST services of wcf with this code.. I coudn't be able to get the response using the POST service call. i am getting the null response? how can i call it?
it really means alot to me .