[mono-android] Save and use data on USB KEY
serge69
serge-bombourg at wanadoo.fr
Wed Jun 27 11:45:24 UTC 2012
HI, I use:texte1 = (Android.OS.Environment.ExternalStorageDirectory).ToString();texte2 = (Android.OS.Environment.ExternalStorageState).ToString();texte3 = (Android.OS.Environment.DataDirectory).ToString();texte4= Android.OS.Environment.RootDirectory.ToString();I have result:/mnt/storagemonted/data/system In my program, I can creat, write, read file in memory ... But I don't know how to read my file, and copy him to SDcard or USB key, or PC ...I want to export data from, Arcos tablette to, PCI use C# + monodroid (not Java)Can you help me ? Best regards
Serge.
> Message du 27/06/12 01:22
> De : "mattleibow [via Mono for Android]"
> A : "serge69"
> Copie à :
> Objet : Re: Save and use data on USB KEY
>
> Hi,
>But that is not strictly true though.
>I have an "issue" that this is the path of the large Internal memory. I don't really care where the content is saved, but it is good to know this.
>See this thread:http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-tp5710218p5710237.html
>
>Matthew
>
> On Tue, Jun 26, 2012 at 8:05 PM, Jonathan Pryor <[hidden email]> wrote:
> On Jun 21, 2012, at 1:59 AM, serge69 wrote:
> > I want to save and use data
>
>Use System.IO, as normal.
>
> > I d'ont now how write and read, file for save it, in USB key or SD card.
>
>The SD card location can be obtained from Android.OS.Environment.ExternalStorageDirectory:
>
> http://androidapi.xamarin.com/?link=P%3aAndroid.OS.Environment.ExternalStorageDirectory
>
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> [hidden email]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
_______________________________________________
Monodroid mailing list
[hidden email]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
If you reply to this email, your message will be added to the discussion below:http://mono-for-android.1047100.n5.nabble.com/Save-and-use-data-on-USB-KEY-tp5710464p5710579.htmlTo unsubscribe from Save and use data on USB KEY, click here.
NAML
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Save-and-use-data-on-USB-KEY-tp5710464p5710602.html
Sent from the Mono for Android mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120627/66f049a2/attachment-0001.html>
More information about the Monodroid
mailing list