Re: [MonoTouch] Third argument Presentviewcontroller

2011-12-19 Thread Xy
Hi Robert, How should the api be called to avoid the NSInvalidArgumentException below? Using null or delegate {} as the 3rd argument does NOT work. On Dec 14, 2011, at 1:57 AM, Robert Jordan [via MonoTouch] wrote: Hi, you can check the iOS version at run-time: if

Re: [MonoTouch] Makefile Other Questions

2011-12-19 Thread Nic Wise
I can answer the first one. You need to use the command line, and cd into the folder that the makefile is in. cd ~/Desktop/Bindings/TestFlight/binding then just type make That should run the make file. On the second one: are you downloading a .mp4 (or similar) or are you trying to stream the

Re: [MonoTouch] Monodevelop 2.8.5 project options wrong?

2011-12-19 Thread Nic Wise
Not just you. I saw this too, and haven't got around to filing a bug for it. On Sun, Dec 18, 2011 at 19:23, jowi j.wiersm...@chello.nl wrote: After installing Monodevelop 2.8.5 a few days ago, i noticed that all the icons for app and spotlight under project-solution options - Iphone

[MonoTouch] UIViewController and MT.Dialog frame?

2011-12-19 Thread MojoDK
Hi, I have a UIViewController (let's call it myViewController) and a MT.Dialog (let's call that myDialog). My myViewController has a navigation bar and a tabbar. When I do this... MyViewController.AddSubView(myDialog.View); ... then myDialog is filling the entire screen - going under the

[MonoTouch] Location found detection

2011-12-19 Thread Mittchel debaass
Hello everyone, Currently I'm building an application which shows nearby advertisements based on the current location. When the user starts the application for the first time I want them to see a top 10 of nearby advertisements. I'm having a slight problem with fetching the location on time. My

Re: [MonoTouch] Location found detection

2011-12-19 Thread Nic Wise
I usually wait until I get something with a good degree of accuracy ( 150m) then fire off any searches. it takes a few seconds (sometimes quite a few) so you will need to show the user something while they wait. The accuracy is passed into the UpdatedLocation delegate method. On Mon, Dec 19,

[MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread kpijnenburg
Hi, I'm pulling my hairs(i don't have many) out with this issue. I have 2 macs which i use for development of my iPad app created with Monotouch. I use the latest 5.0 SDK from Apple, the latest MonoDevelop(2.8.5) and the latest MonoTouch(5.0.4) on BOTH macs. On BOTH macs the app works fine in

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Sebastien Pouliot
Hello, Is your application using native libraries ? If so is it possible it's not available / different on one of your macs ? Also can you attach the output of: /Developer/MonoTouch/usr/bin/mtouch --logdev to your reply. E.g. start the above command from a terminal window, lauch your app (it

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread kpijnenburg
Hi Sebastien, In response to your remark about the native libraries, i just chose Link all assemblies instead of the deafult SDK assemblies only. Now it runs on my device. Can you release an app with Link All Assemblies? Is this OK? Koen -- View this message in context:

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Sebastien Pouliot
On Mon, Dec 19, 2011 at 8:27 AM, kpijnenburg kpijnenb...@supportware.nl wrote: Hi Sebastien, In response to your remark about the native libraries, i just chose Link all assemblies instead of the deafult SDK assemblies only. It's a bit confusing since there are two linkers: 1. the managed

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread kpijnenburg
Sebastien, It is exactly the same project, it resides in a shared folder which syncs between my 2 computers. So i don;t really understand why the Link All Assemblies does work on the device. I use the MGSplitViewController and the FaceBookConnect iOS static api's. But they also work when using

Re: [MonoTouch] Binding to Static Framework and using Core.Bluetooth

2011-12-19 Thread Jeff Stedfast
Hi Walt, It's *supposed* to be. It certainly seems odd that it can't find it :-\ Can you submit a bug report about this to http://bugzilla.xamarin.com so that one of the MonoTouch devs can look into this issue? Perhaps our code is trying to look in the wrong place for CoreBluetooth? Thanks!

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Rolf Bjarne Kvinge
Hi, We'd still like to figure out why it doesn't work unless you Link All Assemblies. Can you provide a verbose build log of a build that fails? (In the project's iPhone Build options, add -v -v -v -v to Additional mtouch arguments, then rebuild all). Thanks, Rolf On Mon, Dec 19, 2011 at 2:42

Re: [MonoTouch] Binding to Static Framework and using Core.Bluetooth

2011-12-19 Thread Sebastien Pouliot
Hello Walt, Older (beta) releases of XCode did not ship CoreBluetooth and this has affected a few people in the past. Please verify that you have the latest XCode 4.2 installed. e.g. 4C199 on Snow Leopard and 4D199 on Lion Sebastien On Sun, Dec 18, 2011 at 12:59 PM, Walter Szewelanczyk

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread kpijnenburg
Rolf, I will sent you the log to your xamarin email address. Met vriendelijke groet / Regards, Koen Pijnenburg Supportware Van: Rolf Bjarne Kvinge [via MonoTouch] ml-node+s2284126n4214129...@n4.nabble.com Datum: Mon, 19 Dec 2011 05:53:28 -0800 (PST) Aan: Supportware (K. Pijnenburg)

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread kpijnenburg
Rolf, Where can I get it? I haven¹t installed any betas for a while now for MonoTouch :) Met vriendelijke groet / Regards, Koen Pijnenburg Supportware Van: Rolf Bjarne Kvinge [via MonoTouch] ml-node+s2284126n4214203...@n4.nabble.com Datum: Mon, 19 Dec 2011 06:06:52 -0800 (PST) Aan:

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Koen Pijnenburg
Rolf, I can confirm it works with the 5.1.1 beta. It now works with the ³Link SDK assemblies only² setting. Thank you and Sebastien for the turbo speed help! Met vriendelijke groet / Regards, Koen Pijnenburg Supportware Van: Rolf Bjarne Kvinge r...@xamarin.com Datum: Mon, 19 Dec 2011

Re: [MonoTouch] UIViewController and MT.Dialog frame?

2011-12-19 Thread MojoDK
Hi Pavel, Sorry my bad - I am actually doing myViewController.View.AddSubView(myDialog.View) ... and this makes the dialog go to the entire background covered by the navigationbar and the tabbar. :( Hmmm weird. Sorry about the typo. Thanks Mojo -- View this message in context:

Re: [MonoTouch] Location found detection

2011-12-19 Thread Mittchel debaass
Yep I understand, but how do I notify when the last(accurate) location has been found? Since it calls multiple times UpdatedLocation 2011/12/19 Nic Wise n...@fastchicken.co.nz I usually wait until I get something with a good degree of accuracy ( 150m) then fire off any searches. it takes a few

[MonoTouch] IB + MonoDevelop with public outlets

2011-12-19 Thread Karl Heinz Brehme Arredondo
Hi, Is there a possibility or a way to declare an outlet public on Xcode and then MonoDevelop understand it making the outlet in C# to be public? Like Visual Studio when you set a control public or private. Thanks, Karl ___ MonoTouch mailing list

Re: [MonoTouch] SIGSEGV Error when tapping a button?

2011-12-19 Thread René Ruppert
UIActionSheet is suspposed to work without any issues. I remember a mail from Miguel stating that MT is taking care of the reference keeping and that was explicitly about UIActionSheet. I'm using UIActionSheets like that constantly, without a single crash. So I assume your crash is coming from

[MonoTouch] Strange SSL/HTTPS error with WebClient

2011-12-19 Thread Nic Wise
Hi there I'm doing this in one of my apps: ServicePointManager.ServerCertificateValidationCallback = (sender, cert, chain, ssl) = true; WebClient wc = new WebClient(); string s = wc.DownloadString(http://cust.domain.com/verify;); //do some stuff with it

Re: [MonoTouch] Strange SSL/HTTPS error with WebClient

2011-12-19 Thread Sebastien Pouliot
Hello Nic, Wildcard certificates have been supported by Mono for quite some time and since it's working for other people (right?) I think it's unlikely to be related to certificate validation. Is there any way you can get the full exception ? that will confirm if this occurs at negotiation time

Re: [MonoTouch] Strange SSL/HTTPS error with WebClient

2011-12-19 Thread Nic Wise
Wildcard certificates have been supported by Mono for quite some time and since it's working for other people (right?) I think it's unlikely to be related to certificate validation. Just works for everyone BUT this one person. Is there any way you can get the full exception ? that will

[MonoTouch] Two problem publish app in AppStore with sqlite database

2011-12-19 Thread fsantanac
My first problem is how to get the directory of my db (off line data) ( https://developer.apple.com/library/ios/#qa/qa1719/_index.html Technical QA QA1719 ), Apple say for this data: Offline Data This is data that can be downloaded or otherwise recreated, but that the user expects to be reliably

Re: [MonoTouch] Monodevelop 2.8.5 project options wrong?

2011-12-19 Thread Jeff Stedfast
jowi, Great catch! It looks like when Alan added the pixel size values to the buttons, he used the wrong values (the ones in the tooltip are right). Just so you know, it's just the string rendered in the buttons that's wrong. It will use the correct icon sies in the application. Jeff On Mon,

Re: [MonoTouch] IB + MonoDevelop with public outlets

2011-12-19 Thread Eric J. M. Smith
On 19 December 2011 10:15, Karl Heinz Brehme Arredondo k...@e-magesolutions.com wrote: Is there a possibility or a way to declare an outlet public on Xcode and then MonoDevelop understand it making the outlet in C# to be public? Like Visual Studio when you set a control public or private. I

Re: [MonoTouch] IB + MonoDevelop with public outlets

2011-12-19 Thread Karl Heinz Brehme Arredondo
Thanks Eric, that will help. Karl From: Eric J. M. Smith e...@tarkvara.org Reply-To: e...@tarkvara.org Date: Mon, 19 Dec 2011 14:32:49 -0500 To: monotouch@lists.ximian.com monotouch@lists.ximian.com Subject: Re: [MonoTouch] IB + MonoDevelop with public outlets On 19 December 2011 10:15,

[MonoTouch] LINQ crash - pulling my hair out

2011-12-19 Thread Jason Awbrey
I use LINQ to parse XML a lot in my app, and generally don't have problems. However, I ran into something this morning that is driving me nuts: I have some XML that looks like this (this is the fragment within a larger doc) HighRiskMapAreaList xmlns:a=

[MonoTouch] Assistance tracing an intermittent crash

2011-12-19 Thread Brian Schuth
I'm seeing crashes in my app that, if I weren't working in a managed environment, I would swear were memory management problems. The app runs fine in the simulator. The crashes happen in different places in the app depending on what previous actions I have taken. The crashes occur in places in

Re: [MonoTouch] Assistance tracing an intermittent crash

2011-12-19 Thread Sebastien Pouliot
Hello Brian, 9 PEDICATiPad 0x008ef950 monoeg_g_log (goutput.c:145) ^ that function in your stack trace means the runtime was tried to output something (a message) to you. Try to run the following in a terminal window /Developer/MonoTouch/usr/bin/mtouch --logdev Then run

Re: [MonoTouch] Odd sporatic error on WAV uploads via PUT HTTP request.

2011-12-19 Thread Rolf Bjarne Kvinge
Hi, I don't know exactly what's going on, but I have a few questions that might help you: * It seems you're using https, do you have the same problem with just http? * Does it fail instantly when it fails, or does it start uploading and then fail after some random amount of time? * (If it

Re: [MonoTouch] SIGSEGV Error when tapping a button?

2011-12-19 Thread dermotos
Thanks for the replies guys. Im a little bit further on this issue. If I remove all the code from the button's method, when I press the button I get: When using an Action (Partial method) -[UITouch onBtnImageTouchUpInside:]: unrecognized selector sent to instance 0x6cc96a0 When using an Outlet