0

I want to send data through URL.I've tried the below code:

Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://xxxxx.xxxxx.com/property/p.wp?p=n&refid=13&cat="+cat));    
startActivity(browserIntent);

when the data had been inserted into database, the browser will return something like this:

http://xxxxx.xxxxx.com/property/p.wp?p=OK

to send the data through url already success but how do I get the return URL from the browser? plus can we send picture through URL?

2
  • Like a whole picture in the form of bytes in a url string? or just a url pointing to a picture. Because a url string that contains a picture would be epic :-) Commented Mar 30, 2012 at 2:26
  • haha.maybe I need to use the post method Commented Mar 30, 2012 at 2:35

1 Answer 1

1

look here, for your need for posting data on url. Also for image you should go through this.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.