Wednesday, March 9, 2011

[android-developers] Re: Read CSV from web

I have used openscv before. I liked it. It is very straightforward to
use and documented well enough. I chose it over another open source
library that was so poorly documented, it would have been easier to
code my own from scratch!

It also has a "commercial friendly" license.

On Mar 8, 6:17 pm, Kristopher Micinski <krismicin...@gmail.com> wrote:
> http://opencsv.sourceforge.net/
>
> Is a Java based CSV parser it seems. Download your data, use the library,
> and manipulate your data.
>
> <http://opencsv.sourceforge.net/>Kris
>
> On Mon, Mar 7, 2011 at 8:01 PM, Hari Edo <hari....@gmail.com> wrote:
>
> > This looks like a school homework assignment.
>
> > Have you even taken the first step of dividing this task into
> > two parts?  What's the first thing you want to do?  What have
> > you considered, to get that first step accomplished?
>
> > On Mar 3, 6:13 pm, Muhammad Anas <anas....@gmail.com> wrote:
> > > I am new to android and creating an application that imports data from
> > > web in CSV format. Please tell me how to parse data taken from web
> > > (CSV Format) in android
>
> > > I need to read it from URL and the sample data that I need to parse is
> > > as follows
>
> > > "Start Date","Start Time","End Date","End Time","Location","Subject"
>
> > > "2011-03-03","13:15","2011-03-03","15:00","-","S1,John,Seminar on
> > > Telecommunication"
>
> > > "2011-03-06","10:15","2011-03-06","13:00","-","E1,Nicolas,Examination
> > > of TCP"
>
> > > The above is the data I am importing from URL (webpage) and it is not
> > > exactly as I have written it. The data is in one line not in different
> > > lines like below
>
> > > "Start Date","Start Time","End Date","End
>
> > Time","Location","Subject""2011-03-03","13:15","2011-03-03","15:00","-","S1
> > ,John,Seminar
> > > on
>
> > Telecommunication""2011-03-06","10:15","2011-03-06","13:00","-","E1,Nicolas
> > ,Examination
> > > of TCP"
>
> > > I need to separate each n everything. Please help me out that how to
> > > import it from URL and to parse it in android
>
> > > /Anas
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment