On Mar 23, 2012, at 6:48 AM, Nosh wrote:
> On the Android device App will utilise/create XML, SQLLITE and Text files. 
> My question is on the Device which folder shall I use to store these type of
> files.

I provided some advice on an earlier thread:

        http://lists.ximian.com/pipermail/monodroid/2012-March/009308.html

The one thing to keep in mind is that the /data partition -- where your app is 
installed and is the default location for files -- is frequently limited in 
size. For example, the N1 /data partition is 196MB, and is shared with every 
other app installed on the device. Consequently, anything you put on /data 
(Context.FilesDir, Context.CacheDir) should be small in size; don't try to 
download 400MB of data onto it.

With that in mind:

1. If the file is "big", use Environment.ExternalStorageDirectory.

2. If the file can be regenerated through "other" means (download from website, 
etc.), use Context.CacheDir.

3. Otherwise, use Context.FilesDir.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to