[mono-android] Build script on mac

2012-02-18 Thread Steven Pack
Hi All, I just started a build script for my app. I really just want to modify my .csproj files as required and compile exactly the way MonoDevelop does. I've seen references to mdtool and xbuild, basically saying "use mdtool until xbuild is good, which it will be soon". mdtool wasn't in my pat

Re: [mono-android] Help with .so and java source

2012-02-18 Thread Goncalo Oliveira
Thanks for the reply Jon. It's most likely option 2. I tried the dllimport route, and I managed to invoke a few methods. Do you believe this way is better than using jni? I'm just a little rusty with the linux mangling stuff, that's why I started with jni in the first place. Sent from my Windows P

Re: [mono-android] Build script on mac

2012-02-18 Thread Jonathan Pryor
On Feb 18, 2012, at 7:09 AM, Steven Pack wrote: > Any issues I should be aware of with xbuild? Or is that the way? xbuild is the way. Other helpful targets include: /t:Install Install app onto a device. If you have more than one device running, use /p:AdbTarget, e.g. to i

Re: [mono-android] Help with .so and java source

2012-02-18 Thread Jonathan Pryor
On Feb 18, 2012, at 9:11 AM, Goncalo Oliveira wrote: > I tried the dllimport route, and I managed to invoke a few methods. Do you > believe this way is better than using jni? Yes, DllImport will be more efficient than using JNI. It'll also provide a degree of portability with other .NET platform

[mono-android] Newbie - confused on custom attribute vs AndroidManifest.xml and other things

2012-02-18 Thread tweaver60
I am just starting to use Mono for Android (and anything Android), and am having difficulty understanding if I can use a combination of custom attributes, with adding my own items into the AndroidManifest.xml file, such as receiver. I think I would prefer using all custom attributes, but a lot of

Re: [mono-android] Build script on mac

2012-02-18 Thread Steven Pack
Thanks. Where are all the targets defined? And how do import them? Specifying any of those simply throws a target not found error. It looks like xbuild does try to import Mono.MonoMac.targets which I assume is where they are located...?The file it's looking for is not there. I do have some tar

Re: [mono-android] Build script on mac

2012-02-18 Thread Jonathan Pobst
This is the Monodroid list, so it was assumed you were trying to build a Monodroid project. If you are trying to build a MonoMac project, you may have to use mdtool. (I do not know if MonoMac has xbuild support.) For MonoMac, try this list: http://lists.ximian.com/mailman/listinfo/mono-osx J

Re: [mono-android] Trendfftrtrtuy9811766443:43888770; ())(((,.~}~~#~<<<<~~~~~~~~~~<~~~~~~~~}~~}}}}}<##<##}}}}>>~.hahfjjwjf75)$;

2012-02-18 Thread James Bentley
Haha - My 4 year old managed to send this. > Date: Fri, 17 Feb 2012 14:45:06 + > From: sh...@xamarin.com > To: monodroid@lists.ximian.com > Subject: Re: [mono-android] Trendfftrtrtuy9811766443:43888770; > ())(((,.~}~~#~~~<}~~}<##<##>>~.hahfjjwjf75)$; > > T

Re: [mono-android] Build script on mac

2012-02-18 Thread Steven Pack
Thanks Jonathan, I actually *am* compiling a monodroid app. I don't know why it's trying to include MonoMac. That's also why I was asking where the configuration is to tell xbuild which target files to include, because it's obviously including the wrong ones. Steve _