Sorry, WoodManEXP's response confused me.  You're talking about
bundling a file with the app.  (So of course putting it on filesystem
or sdcard doesn't solve your problem, you want to delete it post-
installation.)  Good question.  Is "res/values" truly writable?

I've seen this topic come up quite a few times.  Sounds like a good
candidate for a Dev Guide page.  :)

-- PJ


On Nov 5, 4:17 am, sangorys <sango...@gmail.com> wrote:
> I have a similar question. I just want to add a .txt file in my
> program. Where can I put it ?
>
> Thanks
>
> On 4 nov, 20:20, WoodManEXP <woodman...@gmail.com> wrote:
>
>
>
> > /sdcard/ works well.
>
> > On Nov 2, 1:01 pm, Wojciech Topolski <wojciech.topol...@gmail.com>
> > wrote:> Hi
>
> > > I have a problem with files. I would like to add file with database 
> > > inserts
> > > to my app. Where should I put this file? In res/then? This file will have 
> > > 5
> > > MB, so after operation I would like to remove it from system. I know about
> > > /res/raw/file, but this file is only readably by InputStream importSql =
> > > res.openRawResource(R.raw.import_sql);
>
> > > Best regards.
>
> > > --
> > > ===============================
> > > Wojciech Topolski
> > > wojciech.topol...@gmail.com
> > > ===============================

-- 
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