Thanks, Mike. a csv file should work fine for my purpose.

On Nov 15, 6:23 pm, mellery451 <mellery...@gmail.com> wrote:
> well, you're not going to be able to (easily) read Excel files on
> android (xls, or whatever they are called these days), but csv will
> probably work - perhaps that's what you were thinking of anyhow. Have
> a look 
> athttp://groups.google.com/group/android-developers/browse_thread/threa...
> for discussion about loading csv. Once you've fetched the file using
> the http client, opencsv should be able to parse/load it.
>
> -Mike
>
> On Nov 15, 3:50 pm, Jungle Jim <jjjungle...@gmail.com> wrote:
>
>
>
>
>
> > 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 <mellery...@gmail.com> 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- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to