Re: [mono-android] Android.Resource.Id.Home Missing...

2012-08-04 Thread Darren Abbott
The terms used in the manifest and the project file are confusing. Here is a response from Jonathan Pryor explaining the difference between the various settings: http://mono-for-android.1047100.n5.nabble.com/Minimum-Android-to-Target-suggest-use-term-Default-td5711027.html#a5711029 . I filed bug

Re: [mono-android] Android.Resource.Id.Home Missing...

2012-08-03 Thread Darren Abbott
I ran into this recently as well. Set your "minimum SDK level" to whatever you want to build against. That sounds like API level 15 in your case. In your manifest, add (I believe 4 is Android 1.6). At runtime, you will need to insure code referencing .Home is not executed if the API level is l

Re: [mono-android] Minimum Android to Target (suggest use term Default)

2012-07-25 Thread Darren Abbott
I posted a similar question to this group recently. AndroidManifest.xml supports "minSdkVersion" and "targetSdkVersion" attributes. The target SDK version being higher than the min SDK is supposed to mean you can use features from higher SDK level, but have taken steps to insure you are backwards

Re: [mono-android] minimum android level vs. target API level

2012-07-20 Thread Darren Abbott
AndroidManifest.xml. > > > On Fri, Jul 20, 2012 at 3:29 PM, Darren Abbott wrote: > >> That didn't happen for me -- I had to set the minSdkVersion manually. >> But is sounds like I had the right idea, so I'll file a bug report. >> >> Thanks, >> >

Re: [mono-android] minimum android level vs. target API level

2012-07-20 Thread Darren Abbott
SdkVersion in > AndroidManifest.XML. > > > On Thu, Jul 19, 2012 at 9:45 PM, Darren Abbott wrote: > >> I wanted to create an app that would take advantage of API level 11, but >> still run in a reduced functionality mode down to API level 8. >> >> In my projects setti

[mono-android] minimum android level vs. target API level

2012-07-19 Thread Darren Abbott
I wanted to create an app that would take advantage of API level 11, but still run in a reduced functionality mode down to API level 8. In my projects settings, I tried setting "Application/Minimum Android to Target" to "Android 2.2" and "Android Manifest/Target API level" to 12 (closest available

Re: [mono-android] ScaleGestureDetector missing properties

2012-07-19 Thread Darren Abbott
Thanks! I will be sure to start checking per-field API levels. I'm new to android development, and hadn't noticed them before. Darren On Wed, Jul 18, 2012 at 11:08 PM, Jonathan Pryor wrote: > On Jul 18, 2012, at 9:53 PM, Darren Abbott wrote: > > I am trying to make

[mono-android] ScaleGestureDetector missing properties

2012-07-18 Thread Darren Abbott
I am trying to make use of the X and Y components of the span in a ScaleGestureListener. Per the Android and the Xamarin documentation, I should be able to query CurrentSpanX, CurrentSpanY, PreviousScanX, and PreviousScanY properties from a ScaleGesterDetector object. However, those fields don't

Re: [mono-android] What's up with 4.2.3 debugging?

2012-07-07 Thread Darren Abbott
Any trick to getting the Mono for Android extension installed in VS2012 RC? I tried upgrading to VS2012 but cannot get the extension to install. Back to 2010 for now. Darren On Mon, Jul 2, 2012 at 3:09 AM, Matthew Leibowitz wrote: > Or you can upgrade to VS 2012 - the RC version works well > >

Re: [mono-android] What's up with 4.2.3 debugging?

2012-07-02 Thread Darren Abbott
I'll give that a shot. Thanks! Darren On Mon, Jul 2, 2012 at 3:09 AM, Matthew Leibowitz wrote: > Or you can upgrade to VS 2012 - the RC version works well > > > On Sun, Jul 1, 2012 at 6:08 PM, Darren wrote: > >> I cannot seem to reach breakpoints in anything but the primary thread. Is >> that

Re: [mono-android] Larger memory footprint when using BitmapFactory.DecodeFile in C# (and huge memory for tiny image)

2012-06-18 Thread Darren Abbott
How are you measuring the memory usage? Could you be including the Mono run time in the C# calculation? The images you are loading are jpg compressed. Bitmap is an uncompressed format. A little Googling showed a typical JPEG compression ratio of 10:1 to 20:1 without losing noticeable image qual