Thanks Alexander and Mike. One more question: I also want to be able to put some data (perhaps in Excel spreadsheet format, but not restricted to that) somewhere on the web and have my app read that data. This way I can periodically revise the data that shows on the apps that my customers have installed on their phones.
Any ideas on the best way to do that? On Nov 15, 3:44 pm, mellery451 <[email protected]> wrote: > well, I think you'd want to start with an HttpClient (http:// > developer.android.com/reference/android/net/http/ > AndroidHttpClient.html) to make the request and download the > resource(s). Then you would need to extract the information you need > from the content. This is commonly called "scraping" since you are > trying to extract data from presentation views. It's hairy, and likely > to involve any number of parsers or (gads!) regular expressions to > accomplish the task. I'd avoid this route if at all possible. > > If the service you are accessing actually intends for other > applications to consume it, perhaps there is already a public API > (e.g. twitter, facebook, etc. all have http APIs you can use). At the > very least, perhaps the site supports alternative formats for the > content - like xml or json. If requesting a different format is an > option, you'll have a much easier time extracting the data since you > can use a standard parser. > > -Mike -- 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

