[MonoTouch] trying to work out how to get searches to work properly.

2012-06-05 Thread Alex White
Hi, I am new to MT and MT.D, I am trying to get my head round how to properly structure the search bar with search scope, I have not found any working examples of SQLite IList into a the tableview.source of an inherited dialogviewcontroller, and then to get the searching to work, I have got the

Re: [MonoTouch] trying to work out how to get searches to work properly.

2012-06-05 Thread Alex White
ks Alex On 5 Jun 2012, at 13:57, Nic Wise wrote: > You may need to show the dialog before it creates the search bar - > this happens with NavigationBars too. > > On Tue, Jun 5, 2012 at 12:40 PM, Alex White wrote: >> Hi, >> >> I am new to MT and MT.D, I am trying t

Re: [MonoTouch] trying to work out how to get searches to work properly.

2012-06-05 Thread Alex White
wControllers so that you don't have to create all the > different delegate classes, etc). > > Jeff > > On Tue, Jun 5, 2012 at 10:51 AM, Alex White wrote: > Hi Nic, > > thanks for the reply, > > I have tried the following code in the ViewDidAppear and ViewDidLo

Re: [MonoTouch] is the downloadable code in McClure's "iPhone Programming with MT..." compatible with current version of MT/MD?

2012-06-08 Thread Alex White
Unfortunately this is what happens with reasonablly new products, they change shape frequently as they mature, I have been frustrated with the samples or the lack of with the current version of MT and MT.D, I am sure with time we will get some up to date samples. I remember the the version 1 rel

[MonoTouch] RowSelected not firing at all

2012-06-09 Thread Alex White
I have to say the learning curve of MonoTouch has been harsh, I just keep on hitting hurdles over and over again. My next issue is RowSelected is not firing e.g. public class SampleTableViewController : SQLiteTableViewController { static NSString key = new NSSt

Re: [MonoTouch] is the downloadable code in McClure's "iPhone Programming with MT..." compatible with current version of MT/MD?

2012-06-09 Thread Alex White
Thanks Wally, As you know since then (2010), things have moved on in terms of MT.D for MT, as someone that has moved over from Microsoft C# (many years of programming), the differences in Xcode from Microsoft are massive, so for people in my position MT.D on top of MT cuts through a lot of that

Re: [MonoTouch] RowSelected not firing at all

2012-06-09 Thread Alex White
to create a bunch of delegate classes) > > I'll commit a fix in just a minute. > > Hope that helps and sorry for the confusion, > > Jeff > > On Sat, Jun 9, 2012 at 4:06 AM, Alex White wrote: > I have to say the learning curve of MonoTouch has been harsh, I just ke

[MonoTouch] trying to understand the best way to call tableviewcontrollers in relation to GCing.

2012-06-12 Thread Alex White
Hi, I have a small application that goes several levels deep into tableviewcontrollers, navigating down the tree works fine then back up works fine, but the second time down the tree I hit errors where objects have been GC'd. It is advisable to create a variable at the appdelegate level for ea

Re: [MonoTouch] trying to understand the best way to call tableviewcontrollers in relation to GCing.

2012-06-13 Thread Alex White
ot;), 1) } , -- snipped thanks Alex On 12 Jun 2012, at 20:41, Pete Macko wrote: > I usually don't hold references to VCs pushed onto the nav controller - just > let them go out of scope when they're popped off. Recreate them every time > you need to push one

[MonoTouch] need some help with toolbars ect.

2012-06-18 Thread Alex White
Hi, I have been trying to work out the best way to layout my navigation through my application, I hit a number of issues on the way, here is a mock up of what I am trying to achieve. http://i49.tinypic.com/2zi95ps.png the important bits are that the images on the top buttons have no borders, t

[MonoTouch] Issues with MonoTouch

2012-06-22 Thread Alex White
Hi, These are the issues I have encountered in the last few days, hopefully some of them have simple fixes. 1. why does IB loose all my outlets on some of the view controllers, there was one in particular where it did not matter what order I did things if I created a few outlets and then saved

Re: [MonoTouch] Issues with MonoTouch

2012-06-22 Thread Alex White
: > Hi, > > On Fri, Jun 22, 2012 at 11:28 AM, Alex White wrote: > Hi, > > These are the issues I have encountered in the last few days, hopefully some > of them have simple fixes. > > 1. why does IB loose all my outlets on some of the view controllers, there > was

[MonoTouch] google street view with monotouch

2012-06-27 Thread Alex White
Hi all, a small bit of history, I have an existing application that currently runs on MS windows it is database of points of interest, the application has a lot of users, each of these users uses google with the street view option to find these places of interest then using the link button on t

Re: [MonoTouch] google street view with monotouch

2012-06-27 Thread Alex White
but if your goal is to have > street view on your device it appears that both Apple and Google are working > against you > > On Wed, Jun 27, 2012 at 9:06 AM, Alex White wrote: > Hi all, > > a small bit of history, I have an existing application that currently runs on > MS

Re: [MonoTouch] google street view with monotouch

2012-06-28 Thread Alex White
need to be trying > this on the device. > > So, you are just trying to display the result, right? With a quick > play with Charles, I managed to get this out: > > https://cbks0.google.com/cbk?output=tile&zoom=4&x=0&y=3&cb_client=maps_sv&fover=2&onerr=3&renderer=sp

[MonoTouch] modal view controller

2012-06-29 Thread Alex White
Hi, I can't get my head round how to code the a modal view controller. in my calling code _streetview = new StreetviewiPhone(url,true, "RevisionPointsiPhone"); this.NavigationController.PresentModalViewController(_streetview, true); which I guess is right? then in the called view controller p

Re: [MonoTouch] modal view controller

2012-06-29 Thread Alex White
i, Jun 29, 2012 at 6:44 AM, Alex White wrote: >> Hi, >> >> I can't get my head round how to code the a modal view controller. >> >> in my calling code >> >> _streetview = new StreetviewiPhone(url,true, "RevisionPointsiPhone"); >> this.Na

Re: [MonoTouch] modal view controller

2012-06-29 Thread Alex White
gnal: SIGHUP thanks again. ATB Alex On 29 Jun 2012, at 13:32, Nic Wise wrote: > Try it without the parent > > this.DismissModalViewControllerAnimated(true); > > works for me :) > > On Fri, Jun 29, 2012 at 6:44 AM, Alex White wrote: >> Hi, >> >> I can&

Re: [MonoTouch] IPhone Application Critical Scenario Help Required ---

2012-07-10 Thread Alex White
hi, Am I reading you right, you want a button that as the user presses it the indicator grows?, firstly this has a problem, that is what happens if the user presses it for too long and wants to go back a bit, your design needs to incorporate this functionality, look at the built in progress ind

Re: [MonoTouch] IPhone Application Critical Scenario Help Required ---

2012-07-10 Thread Alex White
I am only a little way in front of you in terms of MT knowledge, but I have a lot of experience of other programming platforms, if anyone can spot a better way please correct me, what I would do is this. Create a class that inherits uiview, plan for reuse from the start, so plan for having the

Re: [MonoTouch] Cacheing Data

2012-07-11 Thread Alex White
I would do the same as Nic, singleton class that is available throughout the app, I use the class for all global settings like colours for the screens etc. If you are going to pass data up as parameters and it is quite large it is worth looking at passing by ref rather than by value, also passin

[MonoTouch] need some advice on the best platform

2012-08-12 Thread Alex White
Hi, I have been developing an iPhone/iPad application, TBH the development is going fine most of my issues now are deployment to devices to allow people to debug the application, this has been very hit and miss (with very little hit!), it is unacceptable for me to spend many hours in front of a

Re: [MonoTouch] need some advice on the best platform

2012-08-12 Thread Alex White
t; > On Sun, Aug 12, 2012 at 5:39 AM, Alex White wrote: > Hi, > > I have been developing an iPhone/iPad application, TBH the development is > going fine most of my issues now are deployment to devices to allow people to > debug the application, this has been very hit and miss (

Re: [MonoTouch] need some advice on the best platform

2012-08-18 Thread Alex White
Hi Sebastien, monotouch 3.0.3.5, xcode 4.4.1, but I installed the IOS 6 beta, that seems to have done a job on my computer, I have a roundabout way of getting stuff to work via the testflightapp site, that has taken a bit of getting used to but it at least gets me up and running. ATB Alex O

[MonoTouch] a couple of deployment questions with app store approval

2012-08-26 Thread Alex White
Hi All, My first app is a program that has been quite successful on windows, so a port over to IOS is the next logical step. Firstly this application uses Sqlite, on first run it looks for the database, I could create a blank database if one is not there but there is a quite a lot of initial da

[MonoTouch] having a lot of problems rolling out betas

2012-08-26 Thread Alex White
Hi All, This process is getting very frustrating, I am now using TestFlightApp to get my betas out to users, to say this process is flaky is an understatement, to simplify things I have only one provisioning profile and one development profile, I have one user that just cannot get his device to

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
don't provide any good tools for debugging deployment issues. This is > why I like TF - they provide a nice interface on top of that process to make > it easier to manage > > On Sun, Aug 26, 2012 at 12:47 PM, Alex White wrote: > Hi All, > > This process is getting very f

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
Aug 2012, at 09:53, Nic Wise wrote: > You could also try to install while your phone is plugged in with the > xcode organiser showing the console - iOS is quite good with error > messages, so you should be able to see whats going on. > > > > On Mon, Aug 27, 2012 at 9:04 A

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
d way of doing it. > > ? > > On Mon, Aug 27, 2012 at 10:55 AM, Alex White wrote: >> Hi Nic, >> >> All I get back if I try to debug to the device is the following:- >>> >> Aug 27 10:44:56 unknown kernel[0] : AppleSerialMultiplexer: >> mux-a

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
On 27 Aug 2012, at 12:21, Nic Wise wrote: > What error do you get from monodevelop? > > > > On Mon, Aug 27, 2012 at 12:08 PM, Alex White wrote: >> Hi Nic, >> >> Thanks for the idea, getting the ipa and dragging it to iTunes, removing the >> app from

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
: > Which version of everything are you using? > > xcode, osx, MT, MD, mono > > On Mon, Aug 27, 2012 at 12:40 PM, Alex White wrote: >> Hi Nic, >> >> Installing application >> Installation failed: Send Message Error (error: 0xe82d) >> error MT1006:

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
hat, I have few issues > > > > On Mon, Aug 27, 2012 at 1:36 PM, Alex White wrote: >> Hi Nic, >> >> xcode = 4.4.1 >> osx 10.8.1 (did this upgrade to see if it would fix the problem, nothing >> changed) >> Monotouch 5.3.5 (I have rotated t

Re: [MonoTouch] having a lot of problems rolling out betas

2012-08-27 Thread Alex White
obile Safari set to Never can cause this problem, at least that's what one > of my testers experienced. > > Mikkel > > On Mon, Aug 27, 2012 at 5:14 PM, Alex White wrote: > Thanks Nic + Jason, > > At least we know it is a messed up configuration somewhere, I will cre

Re: [MonoTouch] having a lot of problems rolling out betas

2012-09-06 Thread Alex White
iod of say 1 month to purchase the released software before the software dies. Taking that idea forward, apple could have a beta section on the store. ATB Alex On 29 Aug 2012, at 11:09, Miljenko Cvjetko wrote: > Hi Alex > > On 2012.08.27 17:14, Alex White wrote: &g

Re: [MonoTouch] having a lot of problems rolling out betas

2012-09-07 Thread Alex White
n Fri, Sep 7, 2012 at 6:17 AM, Alex White wrote: >> Hi mel, >> >> Thanks for the reply, had a good look around, I was missing the >> CFBundleExecutable key In my Info.plist I added the entry and still nothing >> is working, it seems a shame but I have now organised

Re: [MonoTouch] Voice recognition

2012-09-13 Thread Alex White
The voice training involved with the VR stuff normally prohibits it's use, I know they have got better over the years but my last attempt at VR was 5 years ago and it did not work out very well. ATB Alex On 13 Sep 2012, at 13:53, Nic Wise wrote: > Personally, I've never liked voice as an inp

Re: [MonoTouch] jailbreak

2012-09-22 Thread Alex White
No Jailbreaking at all, under the hood MonoTouch uses Xcode to native compile the app, my guess is once the app is compiled it would be very difficult to see the difference between a MonoTouch app and an Xcode app. C# gives you the same code across IOS/Android/Windows. ATB Alex On 22 Sep 201

[MonoTouch] having nightmares with updates to and from xcode

2012-09-23 Thread Alex White
Hi All, I have a project that has 80+ xib files, there seems to be significant problems with updates mainly from Xcode back to MonoDevelop, I have tried saving the xib file in Xcode, I have tried closing the xib in Xcode, I have tried closing Xcode completely, rebooting the computer, Xcode show

Re: [MonoTouch] Maptastrophe?

2012-09-24 Thread Alex White
The apple maps are sub-standard all my windows users (over 1000 of them) that use the iPhones and iPads that have upgraded to IOS6 have taken their devices into the apple stores and got replacement units as the mapping component is completely useless and there seems to be no way to take the devi

[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] rotations have stopped working on the devices but work in the simulator

2012-09-26 Thread Alex White
; Rolf > > On Wed, Sep 26, 2012 at 7:13 AM, Alex White wrote: > Hi Rolf, > > if I key the following lines into a view controller > > public override bool ShouldAutorotate() > { > return true; > } > > public override UIInterfaceOrienta

Re: [MonoTouch] Fun with MFMailComposeViewController

2012-09-26 Thread Alex White
Hi Chris, what works for me is the following two bits of code pdfFileName = Path.Combine (Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "docs.pdf"); NSData data = NSData.FromFile

Re: [MonoTouch] Fun with MFMailComposeViewController

2012-09-27 Thread Alex White
there :) > > On Thu, Sep 27, 2012 at 6:12 AM, Alex White wrote: >> Hi Chris, >> >> what works for me is the following two bits of code >> >> >> pdfFileName = Path.Combine >> (Environment.GetFolderPath(Environment.SpecialFolde

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-27 Thread Alex White
ing the log file. > > Thanks, > > Jeff > > On Sun, Sep 23, 2012 at 3:25 AM, Alex White wrote: > Hi All, > > I have a project that has 80+ xib files, there seems to be significant > problems with updates mainly from Xcode back to MonoDevelop, I have tried >

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

2012-09-27 Thread Alex White
hat to try next. ATB Alex On 26 Sep 2012, at 23:10, Rolf Bjarne Kvinge wrote: > Hi, > > On Wed, Sep 26, 2012 at 2:51 PM, Alex White wrote: > Hi Rolf, > > thanks for the reply, I now have > > public override UIInterfaceOrientationMask > GetSupporte

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-27 Thread Alex White
; > Sent from my iPhone > > On Sep 27, 2012, at 7:24 AM, "Alex White" > mailto:alexwhit...@gmail.com>> wrote: > > Hi Jeff, > > thanks for the reply, > > This problems has been occurring on and off for months, but in the last week > 100% of the Xcode

[MonoTouch] uitableview and uipagecontrol

2012-09-27 Thread Alex White
Hi All, I have a uitableview with potentially lots of records returned, I would like to use pagination to control how many records get returned to the user on each page, I am guessing that the uipagecontrol is the way to go, am I correct, is there a better way, any examples for me to get some i

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-28 Thread Alex White
7:05, Jeff Stedfast wrote: > Hi Alex, > > On Thu, Sep 27, 2012 at 7:24 AM, Alex White wrote: > Hi Jeff, > > thanks for the reply, > > This problems has been occurring on and off for months, but in the last week > 100% of the Xcode updates are no making their way into Mono

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-28 Thread Alex White
for a few days and > see if it seems to solve the issue for you. > > Hope that helps, > > Jeff > > On Fri, Sep 28, 2012 at 3:54 AM, Alex White wrote: > Hi Jeff, > > My issues could come down to the performance of my MacBook it is pretty old a > dual cor

Re: [MonoTouch] uitableview and uipagecontrol

2012-09-28 Thread Alex White
Hi Adam, Thanks for the reply, I have recoded things and I am much happier with outcome, I was trying to get the scrolling to work in a way that I was happy with but hitting all sorts of issues, mainly with bouncing and the table scrolling out the bounds, this was why I was looking at paging, I

Re: [MonoTouch] having nightmares with updates to and from xcode

2012-09-28 Thread Alex White
gh" just because I use Fusion with Windows VM and in 1 > week it go to almost 0 MB free + Office 2011... > > My only desired change is to change to a SSD disk (and for the VM, a > quadcore... but) > > Karl > > Em 28/09/2012, às 11:44, Alex White escreveu: &

[MonoTouch] a couple of questions please

2012-10-02 Thread Alex White
Hi all, I need to get the following two things to work properly. 1. when an action sheet is generated from a button press to stop more than one action sheet from being created, do you just disable the button as soon as it is clicked and re-enable as soon as an option is clicked e.g.

Re: [MonoTouch] Get current orientation in a view in iOS6

2012-10-17 Thread Alex White
Hi, I pass the controller into the datasource e.g. this._bikeList.DataSource = new TableViewDataSource (_list, this); so that in the datasource I can pick up the orientation. so this works public TableViewDataSource (List list, rootBikeListiPad ReviseList) { this._list = list;

Re: [MonoTouch] Understanding the memory profiler

2012-10-29 Thread Alex White
Hi, Whilst I cannot give you answers I have been profiling one of my apps recently and noticed similar things going on, can you show us your code that you are using, what I did find made a difference for me was scope, because the GC was causing problems I declared almost everything at the class

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

2012-10-30 Thread Alex White
ip up your project I can have a quick look to see if there is >> something strange somewhere. >> >> Rolf >> >> On Thu, Sep 27, 2012 at 1:30 PM, Alex White wrote: >>> >>> Hi >>> >>> Yes that works, I have gone right through t

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

2012-10-30 Thread Alex White
e change in iOS 6 as versus Monotouch. > > Thanks for the pointer! > > -Brett > > On Tue, Oct 30, 2012 at 4:12 PM, Alex White wrote: >> I had this problem a while back, Rolf found the issue for me, I was using a >> tab controller and one of my root controllers off

Re: [MonoTouch] TabBar @ top of the screen

2012-11-15 Thread Alex White
I agree with Nic, I did what you are trying to do, make my IOS app behave like its big brother on windows, my testers hated it, they have an expectation that it is going to work like an IOS app, e.g. menus and toolbars all in the right places. Getting an IOS app to behave like an IOS app means

Re: [MonoTouch] Thanks Everyone!

2012-12-03 Thread Alex White
Very well done, very polished, a lot of hard work has gone into that. On 4 Dec 2012, at 01:44, dermotos wrote: > Well, after 18 months of spare time development & learning, I've finally > released my first app on the App Store. > (more info: www.groovepond.com) > > I just wanted to thank ever

Re: [MonoTouch] How to generate DBML in Monotouch

2012-12-11 Thread Alex White
TBH, I feel sqlite-net stuff does enough LINQ, for the more complex stuff LINQ is really slow and pure SQL statements with proper indexed joins wins every time, Microsoft never got LINQ-SQL performing anything like proper SQL statements, if they can't get it right, what chance has anyone else.

Re: [MonoTouch] MFMailComposeViewController AddAttachmentData PDF not working

2012-12-11 Thread Alex White
This is how I do it. pdfFileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "bikelist.pdf"); NSData data = NSData.FromFile(pdfFileName);

Re: [MonoTouch] MFMailComposeViewController AddAttachmentData PDF not working

2012-12-11 Thread Alex White
Glad its working that mime type has worked on 100% of different mail systems for me. ATB Alex On 11 Dec 2012, at 17:57, Matronix wrote: > Thank you for the information. Switching the mimetype to "text/x-pdf" fixed > the issue. I figured it was the mimetype but I had no clue what other one I

Re: [MonoTouch] SQLITE TIMED OUT

2012-12-30 Thread Alex White
why are you using an adapter are you updating the data?, I would use a reader as they are much quicker and then if some of the data needs to be updated, native sql update statements to update e.g. update tbldata set field1=test where primarykey=1 or use the orm of sql-net which is quick enough