Re: [MonoTouch] Are there any known issues with WebClient and SSL?

2011-08-31 Thread Nic Wise
Sebastian said there was something left turned on in 4.1 which caused it. Next version was going to remove it. It was just logging, which is a PITA, but not a show stopper :) And Sebastian, there is a default to reply all in the gmail web interface :) On Tue, Aug 30, 2011 at 23:12, Jeff Stedfast

[MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread catullum
I have a sql command that works on the simulator but not on the device. i tried similar constructs but nothing is working. this was my original: connection = new SqliteConnection (Data Source= + dbPath); connection.Open ();

Re: [MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread Robert Jordan
On 31.08.2011 11:51, catullum wrote: I have a sql command that works on the simulator but not on the device. i tried similar constructs but nothing is working. this was my original: connection = new SqliteConnection (Data Source= + dbPath);

Re: [MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread catullum
I close my conection evry. time i use aselect statment. the file cleantec.sqlite witch is my db is in the app bundle. there is no problem while reading and there is no problem while writing in the iossimulator only during runnig in device the insert script dosen't works. -- View this message

Re: [MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread Dimitris Tavlikos
This is most likely happening because the database file is in a read-only path. The app bundle is read-only on the device, but not on the simulator. Try saving the database file in the Documents folder (through Environment.GetFolderPath(SpecialFolder.Personal)). Dimitris Tavlikos Software

Re: [MonoTouch] MD 1.8 a2 and MonoTouch Activation

2011-08-31 Thread catullum
hallo i use the 2.8 alpha to but not th alpha of monotouch. I'm thinking about to try the os5beta but befor i would ask how stable is it and how stable works the developer envrioment? -- View this message in context:

Re: [MonoTouch] Stable combo

2011-08-31 Thread Jeff Stedfast
Hi, We're about to release MonoDevelop 2.6 final (hopefully today or tomorrow), so based on that, my recommendation would probably be: * Xcode 3.2.6 (install to a different prefix, like /Xcode3) if you want to use Interface Builder functionality (we're working hard on fixing bugs for MonoDevelop

Re: [MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread Robert Jordan
On 31.08.2011 13:32, catullum wrote: Ok thanks but please tell me how can i say to the monodevelop that the sqlite files gos to the documents folder durin the compilation? There is no way to deploy directly into the Documents or Library folders. You should check if the DB file already exists.

Re: [MonoTouch] Stable combo

2011-08-31 Thread Nic Wise
Whats the current state (as of 2.6 being out, ie tomorrow) if I want to use 4.1? * Xcode 3.2.6 (install to a different prefix, like /Xcode3) if you want to use Interface Builder functionality (we're working hard on fixing bugs for MonoDevelop 2.8 which will have Xcode4 support but it's not ready

Re: [MonoTouch] Are there any known issues with WebClient and SSL?

2011-08-31 Thread Sebastien Pouliot
Right! I had looked at the mail settings options, but not in the Labs section. Thanks Sebastien On Wed, Aug 31, 2011 at 3:54 AM, Nic Wise n...@fastchicken.co.nz wrote: Sebastian said there was something left turned on in 4.1 which caused it. Next version was going to remove it. It was just

Re: [MonoTouch] Stable combo

2011-08-31 Thread Jeff Stedfast
Hi Nic, On Wed, Aug 31, 2011 at 8:10 AM, Nic Wise n...@fastchicken.co.nz wrote: Whats the current state (as of 2.6 being out, ie tomorrow) if I want to use 4.1? * Xcode 3.2.6 (install to a different prefix, like /Xcode3) if you want to use Interface Builder functionality (we're working hard

Re: [MonoTouch] Stable combo

2011-08-31 Thread Nic Wise
Yep, if you want to use MonoTouch 4.1 betas, it's still the same recommendation for all the supporting software (Xcode 3.2.6, MonoFramework 2.10.5, MonoDevelop 2.6.0, etc). Cool. I forgot 4.1 was a beta... I have code in the appstore using it oops :) Hmmm, for MonoTouch 4.9 I'm not so

Re: [MonoTouch] Stable combo

2011-08-31 Thread Jeff Stedfast
On Wed, Aug 31, 2011 at 10:34 AM, Nic Wise n...@fastchicken.co.nz wrote: Yep, if you want to use MonoTouch 4.1 betas, it's still the same recommendation for all the supporting software (Xcode 3.2.6, MonoFramework 2.10.5, MonoDevelop 2.6.0, etc). Cool. I forgot 4.1 was a beta... I have

[MonoTouch] Problem on changing namespace for Foo.xib.designer.cs

2011-08-31 Thread diviner
Hi all, Sometimes I want to organize modules in my monotouch project, so I need to change namespace when the xib is changed. Lets say I have a page named Page1.xib and it includes Page1.xib.cs Page1.xib.designer.cs. I want to change it from project root into Module1 folder, so I change its

Re: [MonoTouch] Problem on changing namespace for Foo.xib.designer.cs

2011-08-31 Thread Jeff Stedfast
Adding Michael Hutchinson to the Cc, hopefully he has some ideas. Jeff On Wed, Aug 31, 2011 at 1:41 PM, diviner divinerc...@gmail.com wrote: Hi all, Sometimes I want to organize modules in my monotouch project, so I need to change namespace when the xib is changed. Lets say I have a page

[MonoTouch] Customizing map annotation view

2011-08-31 Thread r2d2
My simple application contains UIMapView with some annotations. I used GetViewAnnotation in MyDelegate:MKMapViewDelegate to customize colors of default round pin in annotation view. So I can set colors of the pin only in time of creation annotation view. I want to change content of annotation

Re: [MonoTouch] Customizing map annotation view

2011-08-31 Thread Nic Wise
Have a look here: https://gist.github.com/1184571 I set around 400 pins on a button press. it's instantanious. you want to focus on: RefreshPinColours() - line 384 GetViewForAnnotation. line 478 (I use a custom annotation - CycleAnnotation - to keep track of the PinAnnotationView) it's

Re: [MonoTouch] Problem on changing namespace for Foo.xib.designer.cs

2011-08-31 Thread Michael Hutchinson
Designer files are autogenerated - you cannot just change them and expect your changes to be kept. This applies to all designer files created by VS and MD, and the file header comment makes this clear. The designer files of the Xcode 4 integration in MD 2.8 are the only exception to this that I

Re: [MonoTouch] Stable combo

2011-08-31 Thread Nic Wise
Jeff, just to be 100% clear: I just got MT 4.1.1.1.1.1.1.1.1.1. So I can use xcode 4.x now, assuming I dont want IB integration? (which required MD2.8). Including iOS5 SDK (obviously not the new bindings)? thanks Nic On Wed, Aug 31, 2011 at 15:45, Jeff Stedfast j...@xamarin.com wrote: On

Re: [MonoTouch] Problem on changing namespace for Foo.xib.designer.cs

2011-08-31 Thread diviner
Michael, The namespace in the designer files is taken from your project's settings for default namespace. So how can I change the namespace of xib file after the xib file is created? Diviner. -- View this message in context:

Re: [MonoTouch] sqlite insert works on the simulator but not on the device

2011-08-31 Thread catullum
Thanks to all the Guys that have contribute to solve my Problem. The Problem was that the sqlfile was in the app bundle so i to that i copy it outside by invok this method. private void CopyDB() { var documents = Environment.GetFolderPath

Re: [MonoTouch] sharing between monotouch and monodroid, any tips?

2011-08-31 Thread kjrb
The way I got it work was to have Mac (MonoTouch) files referenced as links to files in VS from Mono for Adnroid and WP7 project. I used MonoTouch to VS converter (borrowed from: http://www.shrinkrays.net/code-snippets/csharp/monotouch-tips-and-snippets.aspx) to modify MonoTouch project file so I