Re: [mono-android] JAR Binding Problem

2012-07-09 Thread craig
Ok, thanks. I'm not sure how practical this is to bind this JAR but I'm using mostly it as a learning experience. I did upgrade to 4.2.4 and noticed the param bug went away. Anyways, I have been mostly successful in binding this JAR. I got it more or less working over the weekend but there were

[mono-android] Non Google Play release, private company.

2012-07-09 Thread Domanet
Hi All, I’d like to install the software on 50 or so devices owned by the company. This seems fairly easy, but how do I check and download a update? Or does Goggle Play allow to you filter who can install? Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/

Re: [mono-android] Non Google Play release, private company.

2012-07-09 Thread Matthew Leibowitz
Isn't there something like an enterprise release. I know that Mono for Android has a license that is used for this type of thing... On Mon, Jul 9, 2012 at 4:36 PM, Domanet wrote: > Hi All, > > I’d like to install the software on 50 or so devices owned by the company. > > This seems fairly easy

[mono-android] problem installing apk in device

2012-07-09 Thread javitxin
Hi everyone, I am new develping apps with mono for android and I am trying to do a full working example. the problem is that when I try to install my app in my mobile, this tells me that no application was installed. I have followed all the instructions in http://android.xamarin.com/index.php

Re: [mono-android] Non Google Play release, private company.

2012-07-09 Thread Domanet
I'd happy upgrade, Enterprise starts at 100+ devices. I'm 99% sure it's the same software just the rights deploy to 100+ device outside google play. My question is more can I just download the latest version form a website and install the .apk by code? If so what is the code to run install the .

Re: [mono-android] problem installing apk in device

2012-07-09 Thread Tom Opgenorth
How are you copying the APK over to the phone installation? Are you just copying it, or are you using ADB install? (that is the old link, the new one is http://docs.xamarin.com/android/tutorials/Preparing_Package_for_Android_Marketplace ) On Mon, Jul 9, 2012 at 6:15 AM, javitxin wrote: > Hi

Re: [mono-android] Non Google Play release, private company.

2012-07-09 Thread Tom Opgenorth
AFAIK Google Play will not let you download the app You have a couple of options here: 1. Just e-mail the APK to the users. When they look at the e-mail on their Android devices, they should see a button which will let them install the APK in the device. 2. You can just put the APK on a web serv

Re: [mono-android] How to convert?

2012-07-09 Thread Jonathan Pryor
On Jul 9, 2012, at 1:26 AM, craig wrote: > In the code below, in the setter for RawAdapter, I would like to cast/convert > the value variable from Java.Lang.Object to generic type T. Are there any constraints on T? > I have not found a simple way to do this. In this example T must derive from

Re: [mono-android] How to convert?

2012-07-09 Thread craig
Ok, first, I have to say that I no longer need this code, so its not a pressing concern, but I'm still curious as to what the correct answer is. Yes, there is a constraint on T, T must be a Android.Widget.IAdapter: public abstract class IcsAdapterView : AdapterView where T : global::Android.Widge

Re: [mono-android] How to convert?

2012-07-09 Thread Jonathan Pryor
On Jul 9, 2012, at 12:31 PM, craig wrote: > If I use the example you provided, it causes a compile error: > set {Adapter = (T) value;} > > > Error 4 Cannot convert type 'Java.Lang.Object' to 'T' Ah; that just needs an intermediate cast: set {Adapter = (T) (object) v

Re: [mono-android] regarding GPS Location

2012-07-09 Thread Jonathan Pryor
On Jul 7, 2012, at 1:55 PM, ashish vaish wrote: > I developed a sample program for getting GPS location. Its working fine on > Android Emulator. But when i deployed it on device its not working. Its > "onLocationChanged" is not getting fired. What device is this on? Have you tried the MapsAndLoc

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

2012-07-09 Thread Jonathan Pryor
On Jul 6, 2012, at 9:31 PM, craig wrote: > Debugging is super slow and it skips break points. I'm using 4.2.3 Could you please try the 4.2.4 beta and see if that helps? http://docs.xamarin.com/android/Releases/Mono_For_Android_4/Mono_for_Android_4.2.4 Thanks, - Jon __

Re: [mono-android] Non Google Play release, private company.

2012-07-09 Thread Tossing, Chris
You can launch the Android package installer from your code. We have auto-update working with the following: Intent promptInstall = new Intent(Intent.ActionView) .SetDataAndType(Android.Net.Uri.Parse("file://" + installerFileFullPath), "application/vnd.android.package-archi

Re: [mono-android] JAR Binding Help

2012-07-09 Thread Jonathan Pryor
On Jul 6, 2012, at 2:47 PM, craig wrote: > The jar bindings project is generating the code below, which is fine except > the variable named "params" is a reserved C# keyword and its causing an > error. I need some way to remap the addContentView method so that it doesn't > use the name "params"

Re: [mono-android] Detailed Error Log Available for JAR Bindings???

2012-07-09 Thread Jonathan Pryor
On Jul 6, 2012, at 11:12 AM, craig wrote: > I'm trying to bind a JAR file that compiled just fine in Java but I get a > mysterious "java.exe" exited with code 1 when I try to bind the JAR file in > Mono for Android. Enabling Diagnostic MSBuild output should provide additional information. Withi

Re: [mono-android] JAR Binding Help

2012-07-09 Thread craig
I talked with Atsushi, I believe this has already been fixed in 4.2.4. Thanks. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-JAR-Binding-Help-tp5710786p5710788.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] TinyIoC and Linking on release build

2012-07-09 Thread Jonathan Pryor
On Jul 6, 2012, at 6:29 AM, James Lavery wrote: > Am I right in understanding that what it actually means is the assemblies to > /remove/ if not needed? We mean "linking" in the traditional/C context: removal of all code that the linker determines your program doesn't use (e.g. when statically l

Re: [mono-android] ActionBarSherlock

2012-07-09 Thread craig
Well, after a difficult learning curve, I believe I have successfully bound the ActionBarSherlock library in Mono for Android. Download the demo solution here: "http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip

Re: [mono-android] Designer Display Bugs?

2012-07-09 Thread CrisGarro
Hi Sayed. Thanks for the Pdf, I was reading for a while and have a lot of sense doing it by hand, I still have to experiment with some controls to know how to make it work but is a good advance for me, normally I'm not a big fan of the designers but when you don't know how everything works is kind

Re: [mono-android] problem installing apk in device

2012-07-09 Thread javitxin
I just copyed to my device and try to install through a file manager. One question.. Before I buid my app with my new keystore, I change my vs2010 project properties in release template and paste that .keystore at the app path. then, I build the app.. is this correct? Is my app built and signed wi