Re: [mono-android] Slow launch

2011-08-11 Thread Nicklas Møller Jepsen
After doing some testing I found out that the performance is radically improved when running the app on a device outside of Visual Studio (meaning disconnecting the phone from the PC and then starting the app on the phone). It's still slow to start, but that's only when doing a cold start, so a s

[mono-android] R.xml.preferences

2011-08-17 Thread Nicklas Møller Jepsen
How do I do the following in Monodroid: addPreferencesFromResource(R.xml.preferences); Thanks, Nicklas ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] R.xml.preferences

2011-08-17 Thread Nicklas Møller Jepsen
example up here: https://github.com/gshackles/Sample-Projects/blob/master/MonoDroid/MonoDroidSamples/MonoDroidSamples/DemoActivities/Preferences/UpdatePreferencesActivity.cs On Wed, Aug 17, 2011 at 9:31 AM, Nicklas Møller Jepsen mailto:n...@blueposition.com>> wrote: How do I do the f

[mono-android] Adding permissions to an Activity

2011-08-28 Thread Nicklas Møller Jepsen
Can somebody tell me how to add a permission to my application? I want to be able to send an sms so in a "normal" android app I would add android.permission.SEND_SMS to the manifest, but how is this done in mono? Thanks, Nicklas ___ Monodroid mailing li

Re: [mono-android] Adding permissions to an Activity

2011-08-28 Thread Nicklas Møller Jepsen
Ahh, thank you. It's really easy - when you know where to look :) Nicklas From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Wally McClure Sent: 28. august 2011 15:21 To: monodroid@lists.ximian.com Subject: Re: [mono-android] Adding permissions to a

[mono-android] MonoDroid cause device to disconnect

2011-08-30 Thread Nicklas Møller Jepsen
Hi, The device is connected (visible in the DDMS) but when i hit F5 in Visual Studio to Run the app and the "Select device" window appears, the device is disconnected. I've tried to reinstall MonoDroid but no luck. Anyone got a suggestion on how to solve this? Thanks, Nicklas _

Re: [mono-android] MonoDroid cause device to disconnect

2011-08-30 Thread Nicklas Møller Jepsen
Just in case others should run in to the same problem. >From the log I could see that it was using Java 7 and saying the server was >out dated. I uninstalled Java 7, restarted my machine and now it seems that >I'm able to deploy my apps again. Nicklas From: Nicklas Møller J

[mono-android] Exception in VS when debugging causes exception on device

2011-09-04 Thread Nicklas Møller Jepsen
I'm getting this exception in VS: [cid:image001.png@01CC6B41.ADF45920] What can I do to be able to debug my app again? Nicklas <>___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/mo

Re: [mono-android] Exception in VS when debugging causes exception on device

2011-09-05 Thread Nicklas Møller Jepsen
perty = value; } Other exceptions from my app are not causing Mono to throw an exception when debugging in VS. Nicklas -Original Message- From: Jonathan Pobst [mailto:mon...@jpobst.com] Sent: 4. september 2011 22:51 To: Discussions related to Mono for Android Cc: Nicklas Møller Jepsen Subjec

[mono-android] Invalid IL code

2011-09-09 Thread Nicklas Møller Jepsen
Hi, When obfuscating my dlls with Dotfuscator I get the following when running my application on a device: ERROR/mono(5224): Unhandled Exception: System.InvalidProgramException: Invalid IL code in MyPackage.MyActivity:OnCreate (Android.OS.Bundle): IL_0019: pop I've used to Mono Migration Analyz

Re: [mono-android] Invalid IL code

2011-09-10 Thread Nicklas Møller Jepsen
n mono). I haven't tried Dotfuscator, but there may be configuration options you can set that make it work better with mono. Best regards, Rolf On Fri, Sep 9, 2011 at 11:32 AM, Nicklas Møller Jepsen wrote: > Hi, > > > > When obfuscating my dlls with Dotfuscator I get the followi

[mono-android] System.Net.Sockets exception

2011-09-21 Thread Nicklas Møller Jepsen
lig hilsen Nicklas Møller Jepsen n...@blueposition.com<mailto:n...@blueposition.com> mobile: + 45 20 99 93 35 office: + 45 70 20 65 25 Børsen Gazelle 2009 og 2010 Vil du gerne modtage informationer om nye versioner, faciliteter og produkter ? Tilmeld dig vores nyhedsbre

[mono-android] Problem when installing app on device

2011-10-13 Thread Nicklas Møller Jepsen
Hi, I have the following issue. When I start my application I get java.lang.ClassNotFoundException: android.widget.ItemClickImplementor This happens ONLY when I manually install the APK - not when debugging in VS. I'm running in Release mode with linking turned off. What can I do to successfull

Re: [mono-android] System.Net.Sockets exception

2011-10-13 Thread Nicklas Møller Jepsen
Behalf Of Nicklas Møller Jepsen Sent: 21. september 2011 15:31 To: Discussions related to Mono for Android (monodroid@lists.ximian.com) Subject: [mono-android] System.Net.Sockets exception Hi, After I deploy my app to Android Market I get the following exception: ERROR/mono(5886): Unhandled

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Nicklas Møller Jepsen
I can confirm this behavior. I've tested this on several devices (HTC Desire S, HTC Sensation, HTC Wildfire, Samsung Galaxy II, etc.) and sometimes the debugger fails to attach. Other times the app is just deployed and not actually started. Reconnecting the device seems to be a way to work aroun

Re: [mono-android] System.Net.Sockets exception

2011-10-14 Thread Nicklas Møller Jepsen
o Mono for Android Subject: Re: [mono-android] System.Net.Sockets exception Warning: I'm not known for being the smartest guy in the room. That said... On Oct 13, 2011, at 8:47 AM, Nicklas Møller Jepsen wrote: > The main problem is that I'm seeing completely different behavior when > running t

Re: [mono-android] System.Net.Sockets exception

2011-10-14 Thread Nicklas Møller Jepsen
I found the error. The APK needs to be zipaligned... Nicklas -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Nicklas Møller Jepsen Sent: 14. oktober 2011 09:50 To: Discussions related to Mono for Android Subject: Re

Re: [mono-android] Building the .apk VS2010

2011-10-19 Thread Nicklas Møller Jepsen
Just want to share my previous experience... I don't know if this I already done by the command Jonathan wrote, but: Remember to zipalign the APK. after the package is signed. I didn't do that (to exclude potential errors) but caused the app to behave very strange. Maybe you already know - I ju

Re: [mono-android] App fails to launch on device after signing

2011-10-20 Thread Nicklas Møller Jepsen
Hi, Perhaps the Linking options... http://docs.xamarin.com/android/tutorials/Preparing_Package_for_Android_Marketplace Regards, Nicklas From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Willem Meints Sent: 20. oktober 2011 14:29 To: 'monodroid@lis

[mono-android] Web reference/Service reference

2011-11-14 Thread Nicklas Møller Jepsen
Hi, I want to consume a webservice and use both on Android and WP7. I've followed some guides on how to use Linker to share libraries between Mono projects, but it seems the MonoDroid only supports the "old fashioned" Web Reference and WP7 only supports Service References. Anyone got an idea ho