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
___
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
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
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
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
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
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
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
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.
_
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
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
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
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
13 matches
Mail list logo