Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
The missing R class issue is now fixed and will be included in the next build release (4.2.5 or whatever next). For resource/asset support in non-binding library project, we need more certain amount of work and I can't say when it will be done. But it has been one of our wish list, so please s

[mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread andyjohnson0
In a recent MfA project I needed to link UI elements (derived from View) to their corresponding data model object (derived from System.Object). The most natural way to do this was to use the View.Tag property. Since this is a java.lang.Object reference, I had to write a generic class that derives f

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread Matthew Leibowitz
Have a look at this thread: http://mono-for-android.1047100.n5.nabble.com/Convert-net-type-to-Java-Lang-Object-how-td5710021.html#a5710144 It seems that a few people are doing this already. Maybe the mono guys could include it in the main set? Matthew On Wed, Jul 11, 2012 at 1:02 PM, andyjohns

Re: [mono-android] Problem: "Emulator not started"

2012-07-11 Thread Forum
I tried this before, did not work. When I checked the things today again I noticed that the daemon port and the number in the emulator window are not the same. Thanks for your patience, Sonya On 10.07.

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

2012-07-11 Thread javitxin
Thanks.. it worked.. but when opening the app it crashes...saying "la aplicacion se ha interrumpido inesperadamente. Intentalo de nuevo.", tralating.. "the application has stopped unexpectedly. Please try again." My android firmware is 2.1 updated. And my developed app has sdk 7 and api level

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

2012-07-11 Thread Tom Opgenorth
Yes, API level 7 is Android 2.1, so that shouldn't be the problem. The next best thing is to view logcat output. You can do this with either DDMS or adb logcat. Startup your application and then start reading the output. It might be helpful to add some Log.Debug statements at strategic points in

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

2012-07-11 Thread Jonathan Pryor
On Jul 11, 2012, at 8:51 AM, javitxin wrote: > Thanks.. it worked.. but when opening the app it crashes...saying ... > "the application has stopped unexpectedly. Please try again." If you open the Android Debug Log: http://docs.xamarin.com/android/advanced_topics/android_debug_log You wi

Re: [mono-android] Problem: "Emulator not started"

2012-07-11 Thread Jonathan Pryor
On Jul 11, 2012, at 7:56 AM, Forum wrote: > When I checked the things today again I noticed that the daemon port and the > number in the emulator window are not the same. I believe that doesn't matter, as `adb start-server` also states that it's running on port 5037 for me, while my emulators s

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread craig
Actually the missing R class issue seems to be at least partially fixed/working already in 4.2.4. I deleted the R class from the JAR file and it is still able to bind - it just throws a few warnings at me: JARTOXML : warning : missing class error was raised while reflecting com.actionbarsherlock.

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread craig
Also I have determined that the resource IDs becoming out of synch between main project and the bound JAR project is a problem. If you compile the java project as a Library project instead of a normal project then it will make all the resource ID fields NOT final, which is important otherwise the

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread Jonathan Pryor
On Jul 11, 2012, at 7:02 AM, andyjohnson0 wrote: > In a recent MfA project I needed to link UI elements (derived from View) to > their corresponding data model object (derived from System.Object). The most > natural way to do this was to use the View.Tag property. Since this is a > java.lang.Obj

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
Missing R isn't a build-time blocker anymore. But the fix is done rather to resolve this issue, where the actual class exists as in dex and doesn't matter at run time, unlike R. http://mono-for-android.1047100.n5.nabble.com/Problem-with-a-wrapper-for-Amazon-in-app-purchases-td5710131.html Atsus

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
craig wrote: Also I have determined that the resource IDs becoming out of synch between main project and the bound JAR project is a problem. Correct, they can be out of sync. If you compile the java project as a Library project instead of a normal project then it will make all the resource ID

Re: [mono-android] Debugging on a phone running Android 4.1

2012-07-11 Thread Brennan Kastner
Below this is the output that results in errors. It used to deploy fine when I was running ICS. I've tried it on both Visual Studio 10 and Visual Studio 2012 RC, I'll try installing and trying it on MonoDevelop tomorrow. Any ideas? Application\bin\Debug\HtmlAgilityPack.dll C:\Users\Osteen\

[mono-android] Limits of free version

2012-07-11 Thread javitxin
Hi, I am not sure if free mono for android is limit just to debug apps in a emulator and not to install in real devices.. At first, I thought that the difference was debugging in a emulator or in a real device, but now, maybe I can't install my app in real device with free version. This is Logic

Re: [mono-android] Limits of free version

2012-07-11 Thread Brennan Kastner
You cannot deploy an application from the free version to any device besides the emulator. On Jul 12, 2012 1:00 AM, "javitxin" wrote: > Hi, > > I am not sure if free mono for android is limit just to debug apps in a > emulator and not to install in real devices.. > > At first, I thought that the

Re: [mono-android] Limits of free version

2012-07-11 Thread javitxin
I wnow but I want to know if I can install the app in a real device and make it work despite of debugging in a emulator. Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Limits-of-free-version-tp5710840p5710842.html Sent from the Mono for Android mailing list

[mono-android] Is AesCryptoServiceProvider not implemented?

2012-07-11 Thread bjarke
Hi guys, loves this mailing list. I am working with some aes encryption but the following implementation produces an error - The type or namespace name 'AesCryptoServiceProvider' could not be found (are you missing a using directive or an assembly reference?) public static string EncryptString(