What I came up with is to write the logs as we do on a pc and then post
them to a webpage.  I can have the user click on the user interface,
click on the "Logging button" (also the state is saved so reboots stay
on), and then when they click "Logging Off button" it transfers it to my
server. 

All I need is for them to be on Wi-Fi which will be, or is my hope,
that's easier than using a USB. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jonathan Pryor
Sent: Thursday, August 04, 2011 2:01 PM
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Java -v- C# mondroid

On Aug 4, 2011, at 1:37 PM, Tim Kelly wrote:
>             On another note, nothing to do with MonoDroid, I have a
global error class that writes debugging information to a log file.  We
then just use notepad while developing on Windows to view this logging
file.  However, the Android emulator's lack of  being able to view files
is troublesome.

As suggested in other threads, you _should_ be able to place this file
into an "external" directory [0]. The user can then "mount" their phone
via USB storage (e.g. plug in N1, swipe down the status menu, tap USB
connected, tap Turn on USB storage button). Once open, the user can
navigate to some folder and copy whatever you place there.

OK, cumbersome, but functional (hopefully not something you'll need to
do every day).

More annoying, though, is that when USB storage is enabled, apps can't
access the external directory, so you'll need to keep your log files in
your normal data directory, and copy to the external directory.

 - Jon

[0]
http://docs.mono-android.net/Android.OS.Environment.ExternalStorageDirec
tory

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to