Write to a File in Monotouch
How would I create and write to a file in a Monotouch iPhone app? The file should persist between application launches, so I guess it has to be placed somewhere in the App bundle ( documents or resources?). ...
How would I create and write to a file in a Monotouch iPhone app? The file should persist between application launches, so I guess it has to be placed somewhere in the App bundle ( documents or resources?). ...
MonoTouch seems like a great platform for iPhone development, but I'm concerned about deploying it to the Apple Store. Are there any examples of applications built with it that are currently available on iTunes? We're starting a new project for the iPhone, and keeping the entire stack in C# would be great, but we don't want to incur th...
Hi, How to insert items into NSArray object in C# (Monotouch)? I don't find appropriate method to do so? In Objective-C side, there is a constructor called "initWithObjects" but I don't find this on C# side. pom ...
MonoTouch is always mentioned along with C#. Are the framework and toolset actually limited to C#, or do other CLR languages like IronRuby and F# work as well? ...
Hi, I'm loading image in a view's ViewDidLoad() method like this: imgMonthGraph.Image = UIImage.FromFile("A.png"); (where imgMonthGraph is UIImageView) The above code works. However, I'd need at a later phase (not inside ViewDidLoad())to load another image to the same UIImageView. I'm tring with this code: imgMonthGraph.Image = UII...
What is the best approach to implement tabs that look like web applications on the iPhone, like the screenshot below (notice the "Checkin-Info-Friends" tabs)? These are not part of the UIKit standard library, but seems to be very common lately. I've spent considerable time developing applications for the iPhone, but not developing contr...
I have written some MonoTouch code to display a Nib'less UITableView and the view looks ok populated with cell data on initial display. However when I touch scroll down to view more data I end up with a double grid patten comprising of static horizontal cell separator lines that don't move with the scroll action plus another set or horiz...
I would like to use my existing objective-c UI layer, but call on a few monotouch functions from objective-c. How can I do that? ...
Does MonoTouch allow to create iPhone static libraries? If yes how it can be done? ...
Using this statement calls the selector immediately instead of 6 seconds from now. this.PerformSelector(myStartWaitForSoundSelector, null, 6.0f); Does anyone know how to get this to work with a delay? I am using thread.Sleep(6000) in the function that gets called, but the entire app locks up for six seconds. Thanks ...
The application with webservice (C#) access works well on MAC (iphone simulator), but doesn't work on iphone (release and debug mode). It happens when I tryed to create a new webservice instance. "YNSMS.ynSMSws.Service1 wsSMS = new YNSMS.ynSMSws.Service1();" Could it be a Monotouch iphone runtime bug ? Is there any way to solve it? ...
ABAddressBook mybook = new ABAddressBook(); ABPerson[] allPeople = mybook.GetPeople(); foreach(ABPerson thisPerson in allPeople){ if(thisPerson.GetPhones() != null) ABMultiValue<string> myMultiPhone = thisPerson.GetPhones(); } } I have the previous code in my application. With Monotouch build 1.4 my applicat...
How can I check internet access with MonoTouch? I don't care if the internet comes from a WIFI or the Cell Network, all I care is whether there is internet access or not. ...
Why isn't the TerminateWithSuccess method of the SharedApplication implemented in MonoTouch? How can I invoke it? or even better, how can I programmatically close the application? ...
I'm reading an XML file from a REST web service, parsing it, and displaying the details in a UITableView. The XML file is in encoded as iso-8859-1 and contains accented characters. If I just add the string to the tableview then I get a junk character displayed, so I've tried to convert it to UTF8 but it gets converted to a question mark,...
When I paste in some upper unicode, or even ansi like العربية I get gibberish in MonoDevelop. I am using the MonoTouch framework. Any idea how to get it to allow me to paste in Arabic, Chinese etc.... ian ...
I'm new to MonoTouch and iPhone development. I have my images (PNG) in a resources folder in MonoDevelop, however if I want to set the image property for a button in Interface Builder, how do I do that? It's always a blank dropdown. Do I need to use XCode to access the XIB file and then somehow embed the button image file I'll need in it...
I was trying out doing a manual instantiation of a view and all I get is a black screen. Here's the core of my FinishedLoading currentController = new ChoicesScreen(this.window.Handle); window.AddSubview (currentController.View); window.MakeKeyAndVisible(); note: CurrentController is a protected UIViewController currentController Ch...
How can I store/access global variables within a monotouch application? I am retrieving the GPS Location (using Monotouch.CoreLocation.CLLocationManager) during the FinishedLaunching method of the AppDelegate. How do I then access that information from a property on that appdelegate (from a view, for example)? Or is there another pref...
What's the best way to load and process a "two-level nested" plist file using MonoTouch? I have a plist file with data (structurally) similar to the following: - USA --- New York --- Chicago - UK --- London --- Edinburgh - France --- Paris --- Lyon I have Obj C samples that use NSDictionary and NSArray, but I'd like to get it into a s...