Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently doing an automation in Tasker wherein I can open URLs on browser one by one. So far, I have successfully opened URLs by putting the URL list in a text file and have Tasker access it. My problem is, I want to know if each URL has been successfully or better, get the site content? How do I do this? Even if a site has been successfully opened, HTTPR still returns -1. I don't understand why. I also don't know how to use HTTP Get. I'm using Android Emulator by the way. Please help! Thanks!

share|improve this question
3  
Possible Duplicate: android.stackexchange.com/questions/21475/… – Evil Angel May 9 '12 at 10:08

There's a nice German tutorial on AndroidPIT (same page using Google Translate), explaining this in detail. Moreover, you might want to check with the Q&A How to check success status of opened URL in Tasker?.

share|improve this answer
    
I suppose you must have been a new user when you posted this answer. Would you consider revising it or converting it into a comment? Thanks! – Firelord Jan 29 at 13:43
    
To prove your assumption, check my profile – and find out you've hit the mark: today - 3y7m makes something around June 2012 :) As for the second part: I've never worked with this, so I prefer to refer to the suggested duplicate :) – Izzy Jan 29 at 13:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.