Re: [MonoTouch] Crash report

2012-09-25 Thread Miljenko Cvjetko
Hi Question inline: On 2012.09.18 00:42, Rolf Bjarne Kvinge wrote: Hi, On Tue, Sep 18, 2012 at 12:21 AM, Dean Cleaver > wrote: Hi Rolf, Thanx -- I have exactly that -- a try-catch in my Main, but it didn't report anything. I need to go

Re: [MonoTouch] Crash report

2012-09-25 Thread James Darbyshire
Hi Miljenko, I use System.AppDomain.CurrentDomain.UnhandledException all of the time in MT to catch I handled exceptions. I usually attach a logger to this event and log an event in an error log somewhere. Are you having trouble? Regards, James On 25/09/2012, at 6:16 PM, Miljenko Cvjetko wro

Re: [MonoTouch] Crash report

2012-09-25 Thread Miljenko Cvjetko
Hi On 2012.09.25 10:27, James Darbyshire wrote: Hi Miljenko, I use System.AppDomain.CurrentDomain.UnhandledException all of the time in MT to catch I handled exceptions. I usually attach a logger to this event and log an event in an error log somewhere. Are you having trouble? No just ask

Re: [MonoTouch] Crash report

2012-09-25 Thread Rolf Bjarne Kvinge
Hi, > Would System.AppDomain.CurrentDomain.UnhandledException help to get more > info? > It might actually (but the app will still exit though, so if you're storing data on disk / sending data over the network, make sure you flush all pending writes before you return from this event handler, ot

Re: [MonoTouch] Obsolete methods in iOS 6

2012-09-25 Thread slodge
Thanks Adam Interesting feedback > So what do you do with the code in that function? If my UIViewController is (pseudocode): class MyUIVC { void ViewDidLoad() { ApplicationSingleton.Messages += MessageHandler; } void MessageHandler(s, e) {

[MonoTouch] MT.Dialog: RadioElements Weird When Added from Task/Thread

2012-09-25 Thread Phil Cockfield
Here is an AppDelegate that contains an example of the problem I'm finding with MT.Dialog and radio elements. https://gist.github.com/3780834 This is just a *DialogViewController *that contains 3 *RadioElement*'s. The problem is that when the radio-elements are added via a background thread/tas

Re: [MonoTouch] jailbreak

2012-09-25 Thread Miljenko Cvjetko
Hi Just to add Android related: no root access (su command replacement) needed - unless need for Wifi debugging Just settings to enable Applications +/ Development +/ USB debugging and You can work with device - assuming proper licence form Xamarin cheers mel On 2012.09.22 01:16, kfleming5

[MonoTouch] rotations have stopped working on the devices but work in the simulator

2012-09-25 Thread Alex White
Hi all, My rotations have stopped working on the iPad they still work on in the simulator. I don't have the rotation lock on and other apps are rotating fine. I have used this blog to try and work out how to do things http://yusinto.blogspot.co.uk/2012/08/ios-6-auto-rotate-and-orientation.html

Re: [MonoTouch] Skinning MonoTouch & MT.Dialog

2012-09-25 Thread slodge
I've not used it, but I've been meaning to take a look at the theming on https://github.com/RobertKozak/MonoMobile.Views for a long time. It predates UIAppearance I think - but there are quite a few pre-built themes available https://github.com/RobertKozak/MonoMobile.Views.Themes Stuart -- Vie

Re: [MonoTouch] Skinning MonoTouch & MT.Dialog

2012-09-25 Thread Nic Wise
I've done this. :) this app is 100% MonoTouch.Dialog: http://www.earnestapp.com/ http://fastchicken.co.nz/2012/05/20/earnest-debrief-visual-styles-in-ios-apps-uiappearence-custom-sections-in-monotouch-dialog/ I used UIAppearance for iOS5+, and just used TintColor for 4. It works for 4, but to

Re: [MonoTouch] MT.Dialog: RadioElements Weird When Added from Task/Thread

2012-09-25 Thread Nic Wise
What happens if you tell the root to reload after you add? or use insert, rather than add? On Tue, Sep 25, 2012 at 10:33 AM, Phil Cockfield wrote: > Here is an AppDelegate that contains an example of the problem I'm finding > with MT.Dialog and radio elements. > > https://gist.github.com/378083

Re: [MonoTouch] Determine coordinates of button tap on table cell

2012-09-25 Thread Nic Wise
I used a Guesture Recogniser when I had to do this (a long tap, in my case, but a normal tap should work) You can get the location when your guesture's handler is called, by doing: sender.LocationInView(... the view ...); So, if you pass the button in, you get the location within the button. Pas

Re: [MonoTouch] MT.Dialog: RadioElements Weird When Added from Task/Thread

2012-09-25 Thread Phil Cockfield
Thanks *Nic*! *ReloadData()* on the DVC does the trick. I get a flash from this "all selected" state to the correct state after the reload occurs. I wonder if there's a way to silently insert elements into the DVC's * section*, then force the reload. On Wed, Sep 26, 2012 at 12:47 AM, Nic Wise

Re: [MonoTouch] MT.Dialog: RadioElements Weird When Added from Task/Thread

2012-09-25 Thread Nic Wise
Not that I've found. There is an Insert (or add?) that takes an IEnumerable, but I'm not sure that'll do what you want either :) On Tue, Sep 25, 2012 at 7:01 PM, Phil Cockfield wrote: > Thanks *Nic*! > > *ReloadData()* on the DVC does the trick. I get a flash from this "all > selected" state to

Re: [MonoTouch] Obsolete methods in iOS 6

2012-09-25 Thread René Ruppert
You should use ViewWillAppear() and ViewDidDisappear() instead. René Am 25.09.2012 um 10:51 schrieb slodge : > Thanks Adam > > Interesting feedback > >> So what do you do with the code in that function? > > If my UIViewController is (pseudocode): > > class MyUIVC > { >void ViewD

Re: [MonoTouch] MonoTouch 6 - Package failed to install

2012-09-25 Thread ironman1711
Hi, I tried what you said and the output is : "installer: Error the package path specified was invalid: '/Users/administrator/Library/Caches/XamarinInstaller/MonoTouch/downloads/monotouch-6.0.0.pkg'." Can you help me? thanks -- View this message in context: http://monotouch.2284126.n4.nabble

Re: [MonoTouch] rotations have stopped working on the devices but work in the simulator

2012-09-25 Thread Rolf Bjarne Kvinge
Hi, On Tue, Sep 25, 2012 at 1:06 PM, Alex White wrote: > Hi all, > > My rotations have stopped working on the iPad they still work on in the > simulator. I don't have the rotation lock on and other apps are rotating > fine. > > I have used this blog to try and work out how to do things > > > htt

Re: [MonoTouch] MonoTouch 6 - Package failed to install

2012-09-25 Thread Rolf Bjarne Kvinge
Hi, On Tue, Sep 25, 2012 at 9:12 PM, ironman1711 wrote: > Hi, > I tried what you said and the output is : "installer: Error the package > path > specified was invalid: > > '/Users/administrator/Library/Caches/XamarinInstaller/MonoTouch/downloads/monotouch-6.0.0.pkg'." > > Can you help me? > Doe

Re: [MonoTouch] MonoTouch 6 - Package failed to install

2012-09-25 Thread ironman1711
Nope but I have monotouch-eval-6.0.1.pkg I try with this files and the errore is "This version of MonoTouch requires OSX Lion (10.7) or later" I am still running OSX 10.6. I think I will need to upgrade :( thanks for the help -- View this message in context: http://monotouch.2284126.n4.nabble.

Re: [MonoTouch] Skinning MonoTouch & MT.Dialog

2012-09-25 Thread James Darbyshire
Brilliant! Just what the doc ordered. Thanks Nic. Regards, James On 25/09/2012, at 10:36 PM, Nic Wise wrote: > I've done this. > > :) > > this app is 100% MonoTouch.Dialog: > > http://www.earnestapp.com/ > > http://fastchicken.co.nz/2012/05/20/earnest-debrief-visual-styles-in-ios-apps-uiappear