Hi again all,

Thanks for the replies.

Cheers Greg, I'll give this a shot, although in the meantime I've managed
to get crash reporting working using the BugSense library which is fine for
the scope of the testing we're doing at the moment. I've also implemented
an in-app 'Create a bug report' option that does a screen grab, reads the
last 500 lines from logcat, and emails me so I now have the functionality I
was originally after.

Thanks again,
Paul

On 25 July 2012 23:42, grupatnt [via Mono for Android] <
ml-node+s1047100n5711024...@n5.nabble.com> wrote:

> Hi Paul
>
> Had the same problem sometime while ago.
>
> Gave up on trying to convince ACRA to work and reimplemented most of the
> functionality in C#.
>
> Error value collection is mostly one on one map with a couple of
> exceptions re reflection and such.
>
> If you are only interested in submitting data to Google Docs you can use
> the following snippet.
>
> public static bool SubmitToGoogleDoc(string formKey,
> IEnumerable<Tuple<int, string>> values)
> {
>     using (var wc = new WebClient())
>     {
>         var keyval = new NameValueCollection
>                             {{"pageNumber", "0"}, {"backupCache", ""},
> {"submit", "Envoyer"}};
>         foreach (var kvp in values)
>             keyval.Add(string.Format("entry.{0}.single", kvp.Item1),
> kvp.Item2);
>
>         wc.Headers.Add("Content-Type",
> "application/x-www-form-urlencoded");
>         wc.Headers.Add("Origin", "https://spreadsheets0.google.com";);
>         wc.Headers.Add("User-Agent", "Android");
>         wc.Headers.Add("Accept",
> "text/html,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5");
>
>
>         var uri = string.Format("
> https://spreadsheets0.google.com/formResponse?formkey={0}&ifq";, formKey);
>
>         var result = wc.UploadValues(new Uri(uri), "POST", keyval);
>         var str = Encoding.UTF8.GetString(result);
>         return str.Contains("Your response has been recorded.");
>     }
> }
>
> Hope it helps.
>
> Cheers,
> Greg
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono-for-android.1047100.n5.nabble.com/Automatic-crash-reporting-tp5710823p5711024.html
>  To unsubscribe from Automatic crash reporting, click 
> here<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5710823&code=cHNyeWxhbmRAeWFob28uY28ubnp8NTcxMDgyM3wtNDYyMDkyMDk=>
> .
> NAML<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Automatic-crash-reporting-tp5710823p5711031.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to