Monotouch - add event to iphone calendar from my app
hey is it possible for my app to programatically add events (with permission from the user) to the iphones calendar? cheers w:// ...
hey is it possible for my app to programatically add events (with permission from the user) to the iphones calendar? cheers w:// ...
I've just started some MonoTouch development and I've tried, and failed, to get Moq working for my unit tests. The binary version fails because it's looking for System v2.0, which I assume is down to its Castle requirements, and building it from source crashes the compiler! My question is has anyone gotten Moq to work on Mono (the touch...
Hey - I have the following method on my UITableView controller public void RemoveEventFromList(Event evt){ if (_sessions != null) { if (_sessions.Contains(evt)) { _sessions.Remove(evt); } } this.tableView.ReloadData(); } which do...
Hey I know that in the google maps API it's possible to replace the existing tiles with my own - and using their tile server - feed my own maps. i'm interested in doing this using monotouch - is there any way of doing this atm - or does anyone know of a way of achieving this any other way? w:// ...
I have a view with a button at the bottom of the portrait screen, when I flip to landscape my tableview and everything else adjusts fine, but my button at the bottom is now missing. I can't find a property in IB that would allow me to make the position of that button relative to the bottom of the screen, so that if it flips to landscape...
I'm creating a MonoTouch app that has some declarative business logic that the client doesn't want to be easily retrieved. Obviously, there's the usual argument that nothing in software can every be protected, but the client would prefer that it not be trivially easy to do. I could encode the logic as C#, but it's cleaner if I could hav...
I'm trying to resize an image loaded from disk - a JPG or PNG (I don't know the format when I load it) - and then save it back to disk. I've got the following code which I've tried to port from objective-c, however I've got stuck on the last parts. Original Objective-C. This may not be the best way of achieving what I want to do - any...
We're migrating our dev shop away from XCode to MonoTouch. In Objective-C, the [super] is the same as a call to base in C#? ...
[edit] Found the solution. Reinstall EVERYTHING - xcode, mono, monodevelop and monotouch. Now it works. yay. [/edit] I've had Xcode (3.2.1 - SnowLeopard, iphone 3.1.3) installed for a while, and I can run and build apps on it fine. I installed MonoTouch, as I want to leverage the 8+ years of .NET skills I have :) So I installed: M...
Hey What are the steps involved in adding a secure webservcie? I can't seem to find a decent guide or anything anywhere. w:// ...
I'm a newbie. I can't figure out how and where to call ResignFirstResponder to get rid of the keyboard when the user finished entering the text in an UITextField. I'm a bit confused by the UIResponder class. Mono documentation says: "To dismiss the keyboard, send the UIResponder.ResignFirstResponder message to the text field that is curr...
When MyView gets pushed on to the NavigationController, I have the following code public override void ViewDidLoad () { this.NavigationController.Toolbar.SetItems(new UIBarButtonItem[] { new UIBarButtonItem("Next",UIBarButtonItemStyle.Plain, ClickNext) }, true); this.NavigationItem.Title = "Proposal Plan - ...
I'm trying to learn the MapKit with Monotouch and I'm having difficulty figuring out how to search for an address. I finally found this snippet of Objective-C code that might help but it has a line where they use a URL to get a return value and I have no idea how to use this code in C#: NSString *urlString = [NSString stringWithFormat:...
I'm trying to convert a piece of Objective-C code into C# for use with Monotouch and I have no idea what to use to replace stringWithContentsOfUrl Should I use something like: HttpWebRequest request = (HttpWebRequest) WebRequest.Create("http://www.helephant.com"); HttpWebResponse response = (HttpWebResponse) request.GetResponse(); if (r...
Hey does anyone have any examples of using NSKeyedArchiver in monotouch? i just want to store a list of pocos w:// ...
Hi folks, I'm a .NET developer trying to make the leap into objective-c iPhone programming. I created my first app - just a simple portfolio with multiple xibs. I've just come across MonoTouch which lets you develop iPhone apps in C# or .NET. Has anyone tried this out? I'd be interested to know people opinions on it. Cheers, Jonesy ...
Hi, I'm new to IPhone development and have to decide on a suitable tool to develop my application in. Since I am know C# / .NET, but not objective C, Mono Touch seems appealing to me. But is it is worth spending the extra $400? If have tried both, I'd be interested in your opinion. Thanks, Adrian ...
I'm trying to get a basic flip animation transition working when I push a controller inside a navigation. The code below flips the view, however the view appears first (each element fades in), and then the flip occurs. Is it possible to do a flip animation with a UINavigationController? Any pointers would be great, the examples I've fou...
In Monotouch when we call BecomeFirstResponder on a UISearchBar in the ViewWillAppear method, it does not cause the keyboard to appear. Is there something that needs to be set before this can happen. The View I am using is very simple at this point, just t single line of code in the ViewWillAppear; ...
Edited Mar 30 - Note: Monotouch used. When I rotate to LandscapeRight/Left I want to change the location of some of my buttons. Here's what I'm trying: Have my ShouldAutorotateToInterfaceOrientation returning True. In my WillRotate (I tried putting this in DidRotate as well) it doesn't show any difference, here's my code: public ...