[android-developers] Re: Writing to file Assets folder

2016-04-13 Thread Mirza Mudassar
you can read the database from asset folder but Its not possible to 
write/insert database in Aset folder file

On Monday, November 16, 2009 at 4:15:10 PM UTC+5, Mohammad Siddiqui wrote:
>
> Hi  All 
>
> can any one give the code to read and write to a file in the Android 
> assets foler 
>
> thaks 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/148562e0-a06b-4817-9fbe-2cd1d5cd00eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Writing to file Assets folder

2016-04-13 Thread Mirza Mudassar
you can read the file from Asset folder but Its not Possible to write file 
from Asset Folder

On Monday, November 16, 2009 at 4:15:10 PM UTC+5, Mohammad Siddiqui wrote:
>
> Hi  All 
>
> can any one give the code to read and write to a file in the Android 
> assets foler 
>
> thaks 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/0842cc49-500f-4b28-af9c-ff536ef0badc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Writing to file Assets folder

2009-12-07 Thread Bytes
Hi ,

My application has a shared library developed in C.

The native library uses some configuration files (pref.cfg) to read
and update it whenever user changes, so that these preferences will be
preserved for next application startup.

I want to automate this process, that is user just need to install my
apk, and he should not bother about all these files.

Is there provision in ManifestFile or apk to bundle my configuration
files and whenever apk is installed they will be kept in some writable
directory ?

On browsing I found that /data/data/my apk/my private folder is
writable ?

But how can I initially keep my configuration files in this
directory ?

Thanks for your time
-Bytes






What is the best way to achieve this...






On Nov 16, 4:30 pm, Mark Murphy mmur...@commonsware.com wrote:
 Mohammad Siddiqui wrote:
  can any one give the code to read and write to a file in the Android
  assets foler

 You can't, at runtime.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 App Widgets Deep Dive Seminar, 27 January 2010:http://bit.ly/deepdive

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