Re: [mono-android] App doesn't start where it left off

2011-05-27 Thread btrahan
You need to save the application state of your app. Most apps do this, which is why they are able to go back to where they were after leaving the home page. http://stackoverflow.com/questions/151777/how-do-i-save-an-android-applications-state -- View this message in context: http://mono-for-an

[mono-android] hardware and software requirements

2011-05-27 Thread krishna beenavoina
___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] SPAM-LOW: Re: Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Yes, thanks ! it works with "Environment.SpecialFolder.Personal" ! There are all files installed by the application. And I can have the path. It is perfect. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428

Re: [mono-android] SPAM-LOW: Re: Know if a file already exists in the internal storage ?

2011-05-27 Thread Karl Heinz Brehme Arredondo
You can use Environment.GetFolderPath(Environment.SpecialFolder.Personal), is where I store the database file and files downloaded from server. This is a read/write place. Karl On 27/05/11 09:21, "david.chhang" wrote: >Isn't it the path for an external storage ? Here, I want to know the path >f

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread Glen Hassell
Hi David, In the following, I demonstrate how to use the External media, for your "internal storage" request, might I suggest you simply use the terminal and type the following to find your mount points as a point of reference. mount That wasn't difficult now ;-) - what everybody who works with

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Isn't it the path for an external storage ? Here, I want to know the path for the files in the internal storage. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428476p4431703.html Sent from the Mono for Andro

Re: [mono-android] Reading and loading file from Gallery

2011-05-27 Thread Andrew Sinclair
Hello, For browsing for a picture in the gallery I use code like this: Intent browseFile = new Intent(Intent.ActionGetContent); browseFile.SetType("image/*"); browseFile.AddCategory(Intent.CategoryOpenable); StartActivityForResult(browseFile, (int)A

Re: [mono-android] Reading and loading file from Gallery

2011-05-27 Thread Mahesh
Try " Environment.ExternalStorageDirectory.AbsolutePath " gives u the path \mnt\sdcard Regards Mahesh -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Reading-and-loading-file-from-Gallery-tp4431195p4431579.html Sent from the Mono for Android mailing list arc

Re: [mono-android] Reading and loading file from Gallery

2011-05-27 Thread jnmahi
Can anyone tell me how to access files in /mnt/sdcard or files in /data/data ??? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Reading-and-loading-file-from-Gallery-tp4431195p4431541.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread Mahesh
Use Path.Combine to create the path for example Path.Combine(Environment.ExternalStorageDirectory.AbsolutePath,"DirectoryNameIfRequire","FileName"); Regards Mahesh -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storag

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Yes, I already try it...but i don't know the path of the file. I put the name of the file but it doesn't work. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428476p4431270.html Sent from the Mono for Android

[mono-android] Reading and loading file from Gallery

2011-05-27 Thread jnmahi
Hi all, i want to read all picture files of a folder. And display them in my application . Can anyone tell me what is folder structure used here i mean how can i access picture in my gallery thriogh my application ?? -- View this message in context: http://mono-for-android.1047100.n5

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread Mahesh
Yes u can use System.IO.FileExist(path) alternatively u can use : Java.IO.File file = new Java.IO.File(path); if (file.Exists()) Regards Mahesh -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428476p4431046