[android-developers] Re: How to Read/Write .CSV
Mark, Matt, thanks a ton for the help. Just needed some direction and
I think I've got it. If I get this working as I'm hoping will post the
source here to benefit others. Thanks again.
On Dec 15, 10:34 am, Matt Kanninen <mathias...@gmail.com> wrote:
> Doesn't sound like an Android question to me, just look for Java CSV
> samples.
>
> If you need some Android examples for file IO those are plentiful.
> Here for example is how to write to your apps private directory:
>
> FileOutputStream fos = context.openFileOutput(fileName,
> Context.MODE_PRIVATE);
> fos.write(bytes);
> fos.flush();
> fos.close();
>
> you may prefer to write the sdCard, but then you will have to handle
> your own security. Or you may not care.
>
> On Dec 14, 11:56 pm, Ben <defiledr...@gmail.com> wrote:
>
>
>
> > I'll open with, I googled this thing like crazy, searched anddev and a
> > few other boards (including this one) and can't quite find what I'm
> > looking for.
>
> > The predicament : all CSV examples are in reference to contacts, and
> > the file read/write posts (the ones that I need) make the assumption
> > that I am not a beginner and most don't even post any code leaving me
> > nothing to learn on.
>
> > The hopeful solution : a link to a solid example of simply how to
> > write to a CSV with my own custom fields and values, and how to read a
> > CSV and load said values.
>
> > I don't imagine anyone is going to take the time to write the code
> > solely to post it here, so if you can just point me in the right
> > direction it would be greatly appreciated.
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home