Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-16 Thread Gerry High
Disregard the last message--I hadn't changed the build action to AndroidResource on the linked layout files. On Jan 16, 2012, at 7:52 AM, Gerry High wrote: > This is the route I'm going--to have 2 projects within the same solution. > One thing I've run into is that the IDE doesn't seem like i

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-16 Thread Gerry High
This is the route I'm going--to have 2 projects within the same solution. One thing I've run into is that the IDE doesn't seem like it is smart if you link your layout files in that it is not updating the Resource.designer.cs with the IDs, etc. from the linked layout files. Is this a know issu

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-15 Thread Jonathan Pryor
Really, the easier/saner thing to do is just have separate projects for Kindle vs. non-Kindle builds, and Link the source files between the separate projects. There's less hand-editing of .csproj files this way, and it'll be easier to build your packages from within the IDE. - Jon On Jan 15,

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-15 Thread Jonathan Pobst
We also now support declaring permission in code, so you can use defines: #if !KINDLE [assembly: UsesPermission (Android.Manifest.Permission.Internet)] #endif But I am guessing the actual issue you are hitting is that referencing the GoogleMaps assembly automatically adds the to your manifest

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-15 Thread Jonathan Pryor
On Jan 14, 2012, at 12:11 PM, Gerry High wrote: > I'd like my monodroid app to be able to run on the Kindle Fire and as such I > need to be able to turn off Google maps. Short of creating a new project is > there a way to tie the android manifest settings (e.g. > ACCESS_COURSE_LOCATION, ACCESS_

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-14 Thread HSSoftware
How about moving all your code to a class library, and creating two app projects? One for normal Android, and one for Kindle Fire. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/dynamically-target-Kindle-Fire-from-same-project-tp5145294p5145681.html Sent from the M

Re: [mono-android] dynamically target Kindle Fire from same project

2012-01-14 Thread Gerry High
I looked at my device logs to figure out why it was failing to install and it was due to not being able to find the google maps library. So my issue is different that what I first posted. However, unless I want to dynamically reference the GoggleMaps library I guess I'm stuck with having diffe