I have a UPC code and I want to retrieve product information about it. I realize I can type the following into a browser:
http://www.google.com/products?q=someUpcCodeNum Two questions. First, what I really want is the raw product data, not a webpage. Can I do this internally in my app somehow? Is there an intent I create that will do the search and send back the raw data in the result? Second, if not, I'm trying to do something like this: Intent intent = new Intent(Intent.ACTION_VIEW); intent.putExtra(Intent.ACTION_WEB_SEARCH, "http://www.google.com/ products?q=" + someUpcCodeNum); startActivityForResult(intent, 0); I'm not at all sure that ACTION_WEB_SEARCH is correct. It brings up list of possible apps to apply the activity to, and oddly enough, none of the are the browser! More to the point, I don't want to exit the app and view the search. I just want the results back. If it comes down to getting the html of the webpage back and scraping it myself, then fine, but I still need to get trigger the google search and get the webpage back, all without exiting my app to the browser. Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

