Re: [MonoTouch] Custom MapKit Pins/Circles
Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required in iPhoneOS 3.0 public override void OnActivated (UIApplication application) { } } } Next here is the os4MapsViewController.cs: using System; using System.Drawing; using System.Collections.Generic; using System.Diagnostics; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class os4MapsViewController: UIViewController { private MKMapView _mapView { get; set; } ListMapsStuff.MapAnnotation pins; public MKMapView MapView { get { return _mapView; } } public os4MapsViewController () : base() {} public override void ViewDidLoad () { base.ViewDidLoad (); // // Create our map view and add it as as subview. // pins = CreateRandomPins(); _mapView = new MKMapView(); _mapView.Frame = new RectangleF (0, 0, this.View.Frame.Width, this.View.Frame.Height); _mapView.ShowsUserLocation = true; _mapView.MapType = MKMapType.Hybrid; _mapView.Delegate = new MapViewDelegate(); foreach (MapAnnotation m in pins) { _mapView.AddAnnotation(m); } View.AddSubview(_mapView); } ListMapsStuff.MapAnnotation CreateRandomPins() {
Re: [MonoTouch] Custom MapKit Pins/Circles
It should be in bin/Debug/iPhoneSimulator. It's copied to the simulator after compilation. On 06/09/2011, at 09.08, Tomasz Cielecki tom...@ostebaronen.dk wrote: Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required in iPhoneOS 3.0 public override void OnActivated (UIApplication application) { } } } Next here is the os4MapsViewController.cs: using System; using System.Drawing; using System.Collections.Generic; using System.Diagnostics; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class os4MapsViewController: UIViewController { private MKMapView _mapView { get; set; } ListMapsStuff.MapAnnotation pins; public MKMapView MapView { get { return _mapView; } } public os4MapsViewController () : base() {} public override void ViewDidLoad () { base.ViewDidLoad (); // // Create our map view and add it as as subview. // pins = CreateRandomPins(); _mapView = new MKMapView(); _mapView.Frame = new RectangleF (0, 0, this.View.Frame.Width, this.View.Frame.Height); _mapView.ShowsUserLocation = true; _mapView.MapType = MKMapType.Hybrid; _mapView.Delegate = new MapViewDelegate(); foreach (MapAnnotation m in pins) { _mapView.AddAnnotation(m); } View.AddSubview(_mapView); } ListMapsStuff.MapAnnotation CreateRandomPins() {
Re: [MonoTouch] Custom MapKit Pins/Circles
So It seems the images are not included in the .app file. My guess this is not what I want :D Now how do I make them jump in there willingly? On Tue, Sep 6, 2011 at 9:11 AM, Mikkel Lønow mloe...@gmail.com wrote: It should be in bin/Debug/iPhoneSimulator. It's copied to the simulator after compilation. On 06/09/2011, at 09.08, Tomasz Cielecki tom...@ostebaronen.dk wrote: Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required in iPhoneOS 3.0 public override void OnActivated (UIApplication application) { } } } Next here is the os4MapsViewController.cs: using System; using System.Drawing; using System.Collections.Generic; using System.Diagnostics; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class os4MapsViewController: UIViewController { private MKMapView _mapView { get; set; } ListMapsStuff.MapAnnotation pins; public MKMapView MapView { get { return _mapView; } } public os4MapsViewController () : base() {} public override void ViewDidLoad () { base.ViewDidLoad (); // // Create our map view and add it as as subview. // pins = CreateRandomPins(); _mapView = new MKMapView(); _mapView.Frame = new RectangleF (0, 0, this.View.Frame.Width, this.View.Frame.Height); _mapView.ShowsUserLocation = true; _mapView.MapType = MKMapType.Hybrid; _mapView.Delegate = new MapViewDelegate(); foreach (MapAnnotation m in pins) {
Re: [MonoTouch] Custom MapKit Pins/Circles
It's working in MonoDevelop 2.6 RC2. Get it from the updater :) Make sure to set Build Action to Content. Otherwise, you would have to copy them yourself. On Tue, Sep 6, 2011 at 13:08, Tomasz Cielecki tom...@ostebaronen.dk wrote: So It seems the images are not included in the .app file. My guess this is not what I want :D Now how do I make them jump in there willingly? On Tue, Sep 6, 2011 at 9:11 AM, Mikkel Lønow mloe...@gmail.com wrote: It should be in bin/Debug/iPhoneSimulator. It's copied to the simulator after compilation. On 06/09/2011, at 09.08, Tomasz Cielecki tom...@ostebaronen.dk wrote: Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required in iPhoneOS 3.0 public override void OnActivated (UIApplication application) { } } } Next here is the os4MapsViewController.cs: using System; using System.Drawing; using System.Collections.Generic; using System.Diagnostics; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class os4MapsViewController: UIViewController { private MKMapView _mapView { get; set; } ListMapsStuff.MapAnnotation pins; public MKMapView MapView { get { return _mapView; } } public os4MapsViewController () : base() {} public override void ViewDidLoad () { base.ViewDidLoad (); // // Create our map view and add it as as subview. // pins = CreateRandomPins(); _mapView = new MKMapView();
[MonoTouch] Tomasz Cielecki has invited you to use Google Talk
Tomasz Cielecki has invited you to sign up for Google Talk so you can talk to each other for free over your computers. To sign-up, go to: http://www.google.com/accounts/NewAccount?service=talksendvemail=trueskipvpage=truereqemail=monotouch@lists.ximian.comcontinue=http://www.google.com/talk/service/handleinvite?p%3DoYbpDTQBAAA.ZX9Yp28ZF1EL9tovX19IZoeghLdLcUvzd1aDR9WzcWvFqWGetWW4xo7qOsRfEM1KOOOimKOJ2xcWA6xDxirAcg.z9q7vIfd4a9dzKIn5Ehy1Afollowup=http://www.google.com/talk/service/HandleEmailVerified?ee%3DoYbpDTQBAAA.BkMkHRplWfZEyR7oMnw3_FdlO2B8IbkNSJ8Ze79JKY4.0HkSAP6XdOvsoC7cC-O3WQ%26p%3DoYbpDTQBAAA.ZX9Yp28ZF1EL9tovX19IZoeghLdLcUvzd1aDR9WzcWvFqWGetWW4xo7qOsRfEM1KOOOimKOJ2xcWA6xDxirAcg.z9q7vIfd4a9dzKIn5Ehy1A Google Talk is a downloadable Windows* application that offers: - Free calls over your computer anytime, from anywhere, and for as long as you want - A simple and intuitive user interface for sending instant messages or making calls--no clutter, pop-ups or ads - Superior voice quality through just a microphone and computer speaker - Fast file transfers with no restrictions on file type After signing-up, download Google Talk and sign in with your new Google Account username and password. You can then begin inviting anyone you want to talk to for free. Google Talk works with any computer speaker and microphone, such as the ones built-in to many PC laptops today, as well as with wired and wireless headsets and USB phones. Google Talk also works across all firewalls. Google Talk is still in beta. Just like with Gmail, we're working hard to add features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making it even better! Thanks, The Google Talk Team To learn more about Google Talk before signing up, visit: http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). * Not a Windows user? No problem. You can also connect to the Google Talk service from any platform using third-party clients (http://www.google.com/talk/otherclients.html). ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Custom MapKit Pins/Circles
OK, seems to work now. Thank you. Though I would still prefer if I could just draw a circle with text inside as I could imagine having images for every possible number that could appear inside the circle could be problematic to generate. MonoDroid/Android and Windows Phone 7 makes this possible and the overlay layer drawn on top of the map scales when you zoom in and out even though you have specified a radius. See these images for an example: http://imageshack.us/photo/my-images/18/device20110906153628.png/ http://imageshack.us/photo/my-images/801/device20110906160751.png/ This is the same effect I want. Preferably without using images. As both text and the color of the circle has to be updated sometimes. On Tue, Sep 6, 2011 at 1:11 PM, Mikkel Lønow mloe...@gmail.com wrote: It's working in MonoDevelop 2.6 RC2. Get it from the updater :) Make sure to set Build Action to Content. Otherwise, you would have to copy them yourself. On Tue, Sep 6, 2011 at 13:08, Tomasz Cielecki tom...@ostebaronen.dk wrote: So It seems the images are not included in the .app file. My guess this is not what I want :D Now how do I make them jump in there willingly? On Tue, Sep 6, 2011 at 9:11 AM, Mikkel Lønow mloe...@gmail.com wrote: It should be in bin/Debug/iPhoneSimulator. It's copied to the simulator after compilation. On 06/09/2011, at 09.08, Tomasz Cielecki tom...@ostebaronen.dk wrote: Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required in iPhoneOS 3.0 public override void OnActivated (UIApplication application) { } } } Next here is the os4MapsViewController.cs: using System; using System.Drawing; using System.Collections.Generic; using System.Diagnostics; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; using
Re: [MonoTouch] The compiler appears to have crashed
Thanks Nic, added your findings to the bugzilla entry - they might come in handy while debugging this ;-) Jeff On Sun, Sep 4, 2011 at 6:14 AM, Nic Wise n...@fastchicken.co.nz wrote: Interestingly, this works public static decimal DecimalFromDB(object theValue, decimal dDefaultValue = Decimal.Zero) Problem converting for (int)0 to (decimal)0?? :) N On Sun, Sep 4, 2011 at 01:45, competent_tech xamarinfor...@competent.com wrote: After a process of elimination (removing files until I found the one causing the issue, then removing or adjusting methods), I was able to track down the culprit line of code: public static decimal DecimalFromDB(object theValue, decimal dDefaultValue = 0) Removing the default value fixes the issue. I verified that it was this line and this line only that caused the issue by creating the following class which reproduces the problem as the only class in a test project: using System; namespace Test { public class TestClass { public TestClass () { } public static decimal DecimalFromDB(object theValue, decimal dDefaultValue = 0) { return dDefaultValue; } } } -- View this message in context: http://monotouch.2284126.n4.nabble.com/The-compiler-appears-to-have-crashed-tp3788615p3788649.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
[MonoTouch] Error on deploy to iOS5 B7
Hi, I'm getting this the second time I try to deploy to a device with iOS5 B7 - works once, then won't deploy again. I have to reboot the phone. I figured I'd post it because of the AMDeviceStartService - I wondered if on deploy you're starting some service that on prior iOS5 versions used to stop, but now doesn't? Might even be a bug in iOS5. Dino Unhandled Exception: System.Exception: AMDeviceStartService returned: 0xe87f at MonoTouch.Installation.Device.StartService (MonoTouch.CoreFoundation.CFString) 0x000af at MonoTouch.Installation.Installer.UploadApplication (object,System.EventArgs) 0x0036f at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0006e at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0003d at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () 0x3 at MonoTouch.CoreFoundation.CFRunLoop.Run () 0xd at MonoTouch.Installation.Installer.InstallApplication (string) 0x000c5 at MTouch.Main (string[]) 0x032d1 [ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: AMDeviceStartService returned: 0xe87f at MonoTouch.Installation.Device.StartService (MonoTouch.CoreFoundation.CFString) 0x000af at MonoTouch.Installation.Installer.UploadApplication (object,System.EventArgs) 0x0036f at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0006e at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0003d at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () 0x3 at MonoTouch.CoreFoundation.CFRunLoop.Run () 0xd at MonoTouch.Installation.Installer.InstallApplication (string) 0x000c5 at MTouch.Main (string[]) 0x032d1 The application was terminated by a signal: SIGHUP ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] No preview when switching to UIImagePickerController via UITabBarController on iOS 5
I still haven't heard from Apple on this, but iOS 5 beta 7 appears to address this issue. -- View this message in context: http://monotouch.2284126.n4.nabble.com/No-preview-when-switching-to-UIImagePickerController-via-UITabBarController-on-iOS-5-tp3732760p3793811.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] SIGSEGV Crash: dyld: could not load inserted library...monotouch-fixes.dylib
I came accross this thread after encountering the same issue. My observations were nearly identical, but for me the issue still persists. Interestingly, the issue only persists when the app is launched from MonoDevelop. When I quit the app on the emulator and then launch it from the emulator home screen the percieved behavior is perfectly normal and exactly as expected. Could this be an issue with the debugger? If a Mono dev would like to observe this please contact me, I can reproduce this consistantly and provide a VNC view of it. -- View this message in context: http://monotouch.2284126.n4.nabble.com/SIGSEGV-Crash-dyld-could-not-load-inserted-library-monotouch-fixes-dylib-tp3722121p3793973.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Error on deploy to iOS5 B7
Hello, Could you fill a bug report in bugzilla.xamarin.com ? Also please include whether this occurs on this single project or for any project. Thanks, Sebastien On Tue, Sep 6, 2011 at 11:44 AM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: Hi, I’m getting this the second time I try to deploy to a device with iOS5 B7 – works once, then won’t deploy again. I have to reboot the phone. I figured I’d post it because of the “AMDeviceStartService” – I wondered if on deploy you’re starting some service that on prior iOS5 versions used to stop, but now doesn’t? Might even be a bug in iOS5. Dino Unhandled Exception: System.Exception: AMDeviceStartService returned: 0xe87f at MonoTouch.Installation.Device.StartService (MonoTouch.CoreFoundation.CFString) 0x000af at MonoTouch.Installation.Installer.UploadApplication (object,System.EventArgs) 0x0036f at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0006e at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0003d at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () 0x3 at MonoTouch.CoreFoundation.CFRunLoop.Run () 0xd at MonoTouch.Installation.Installer.InstallApplication (string) 0x000c5 at MTouch.Main (string[]) 0x032d1 [ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: AMDeviceStartService returned: 0xe87f at MonoTouch.Installation.Device.StartService (MonoTouch.CoreFoundation.CFString) 0x000af at MonoTouch.Installation.Installer.UploadApplication (object,System.EventArgs) 0x0036f at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0006e at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info) 0x0003d at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () 0x3 at MonoTouch.CoreFoundation.CFRunLoop.Run () 0xd at MonoTouch.Installation.Installer.InstallApplication (string) 0x000c5 at MTouch.Main (string[]) 0x032d1 The application was terminated by a signal: SIGHUP ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Custom MapKit Pins/Circles
Good. Unfortunately, I haven't tried to draw circles that scales when zooming. You could put a label on top of the annotation instead, which you can update when you need to? On Tue, Sep 6, 2011 at 16:09, Tomasz Cielecki tom...@ostebaronen.dk wrote: OK, seems to work now. Thank you. Though I would still prefer if I could just draw a circle with text inside as I could imagine having images for every possible number that could appear inside the circle could be problematic to generate. MonoDroid/Android and Windows Phone 7 makes this possible and the overlay layer drawn on top of the map scales when you zoom in and out even though you have specified a radius. See these images for an example: http://imageshack.us/photo/my-images/18/device20110906153628.png/ http://imageshack.us/photo/my-images/801/device20110906160751.png/ This is the same effect I want. Preferably without using images. As both text and the color of the circle has to be updated sometimes. On Tue, Sep 6, 2011 at 1:11 PM, Mikkel Lønow mloe...@gmail.com wrote: It's working in MonoDevelop 2.6 RC2. Get it from the updater :) Make sure to set Build Action to Content. Otherwise, you would have to copy them yourself. On Tue, Sep 6, 2011 at 13:08, Tomasz Cielecki tom...@ostebaronen.dk wrote: So It seems the images are not included in the .app file. My guess this is not what I want :D Now how do I make them jump in there willingly? On Tue, Sep 6, 2011 at 9:11 AM, Mikkel Lønow mloe...@gmail.com wrote: It should be in bin/Debug/iPhoneSimulator. It's copied to the simulator after compilation. On 06/09/2011, at 09.08, Tomasz Cielecki tom...@ostebaronen.dk wrote: Trouble is that I am currently using the Emulator to test my app. How do I find the .app package? I am using the latest stable version of MonoDevelop. On Mon, Sep 5, 2011 at 3:45 PM, Mikkel Lønow mloe...@gmail.com wrote: Right click / Ctrl click / two finger tab on the .app package and select Show Package Contents. What version of MonoDevelop are you using? On Mon, Sep 5, 2011 at 15:42, Tomasz Cielecki tom...@ostebaronen.dk wrote: How do I make sure that they are actually copied into the .app package? On Mon, Sep 5, 2011 at 3:39 PM, Mikkel Lønow mloe...@gmail.com wrote: At first glance it looks correct. Is Build Action for pin.png set to Content? Can you make sure they are actually copied to the .app package? (there's a bug in some versions of MonoDevelop where images would not be copied). Mikkel P.S. Replied to all. On Mon, Sep 5, 2011 at 15:32, Tomasz Cielecki tom...@ostebaronen.dk wrote: I think your suggestion is more or less the same way I am implementing it. Code can be seen here https://gist.github.com/1194994 or: Here is my Main.cs file: using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using LoadSiteList; using MonoTouch.MapKit; using MonoTouch.CoreLocation; namespace MapsStuff { public class Application { static void Main (string[] args) { UIApplication.Main (args); } } // The name AppDelegate is referenced in the MainWindow.xib file. public partial class AppDelegate : UIApplicationDelegate { UITabBarController tabBarController; os4MapsViewController viewController; MapsStuff.TableViewController viewController2; // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); tabBarController = new UITabBarController(); viewController = new os4MapsViewController(); viewController2 = new TableViewController(); viewController.TabBarItem = new UITabBarItem (Map, UIImage.FromFile(Images/103-map.png), 0); viewController2.TabBarItem = new UITabBarItem (List, UIImage.FromFile(Images/103-map.png), 0); tabBarController.ViewControllers = new UIViewController[] {viewController, viewController2}; window.AddSubview(tabBarController.View); // If you have defined a view, add it here: // window.AddSubview (navigationController.View); window.MakeKeyAndVisible (); return true; } // This method is required