[mono-android] Unit Testing for MonoDroid

2012-07-12 Thread Manski
Hi everybody, because of the lack of a MonoDroid unit testing framework in Visual Studio I've written such a framework myself. I'd like to share it with the community here as there may be other people looking for something like this. The framework uses exactly the same API as Visual Studios' own

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

2012-07-12 Thread javitxin
I found the problem. When using sharetime runtime, the app is not able to run in a device.. Thanks! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/problem-installing-apk-in-device-tp5710772p5710845.html Sent from the Mono for Android mailing list archive at Nabble

Re: [mono-android] Unit Testing for MonoDroid

2012-07-12 Thread Miha Markic
Hi Sebastaian, Cool project, I'll definitely need something like that. One quick observation - when I click on any item in "Results for Failing Tests I got null reference exception. Looks like GuiTestRunnerActivity.TestRunner Is null within TestMethodResultActivity.OnStart. Cheers, Miha PS.

Re: [mono-android] Limits of free version

2012-07-12 Thread Jason Awbrey
You cannot deploy to an actual device without a license. You cannot use a device for debugging without deploying to it, so that requires a license also Sent from my iPad On Jul 12, 2012, at 1:15 AM, javitxin wrote: > I wnow but I want to know if I can install the app in a real device and make

Re: [mono-android] Limits of free version

2012-07-12 Thread javitxin
thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Limits-of-free-version-tp5710840p5710848.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@lists.ximian.com

[mono-android] Random Deadlock

2012-07-12 Thread henon
Hi folks, I am working on an app that needs to do heavy work in the background. I use RunOnGuiThread to update the UI with progress and results. The problem is, that I am experiencing non-deterministic hangups. When hanging I pause the debugger and I always see that the executing thread (mostly my

Re: [mono-android] Is AesCryptoServiceProvider not implemented?

2012-07-12 Thread Atsushi Eno
First of all, the FCL part (System.* namespaces) are in general based on Silverlight and CoreCLR based API profile. We have some extensions but that's the basic. Similar design also applies to Windows Phone 7. AesCryptoServiceProvider is only part of full .NET, not in Silverlight. That class d

Re: [mono-android] Unit Testing for MonoDroid

2012-07-12 Thread Manski
Could you paste a stracktrace for that NullReferenceException? This shouldn't be happening. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Unit-Testing-for-MonoDroid-tp5710844p5710851.html Sent from the Mono for Android mailing list archive at Nabble.com. _

[mono-android] P/Invoke fails with JavaSystem.Load() in static constructor (bug?)

2012-07-12 Thread Manski
When I load a native shared library with "JavaSystem.Load()" in a static constructor like this: class MyClass { static MyClass() { Java.Lang.JavaSystem.Load("/path/to/libmylib.so"); } [DllImport("mylib")] private static extern int get_version(); public static int getV

Re: [mono-android] Unit Testing for MonoDroid

2012-07-12 Thread Miljenko Cvjetko
Hi Great job Few Qs (I'm on vacation so pls do not get angry if something stupid is asked): 1. TestTests project is actually Desktop unit testing project? 2. In M4A app project I have to add source linked unittests so I can test those on emulator or device? 3. I can see You are covering

Re: [mono-android] Analyzing Heap/Memory Allocations?

2012-07-12 Thread Stephen Shaw
On Fri, Aug 12, 2011 at 9:24 AM, Jonathan Pryor wrote: > On Aug 10, 2011, at 2:13 PM, emalamisura wrote: >> Is there a way to analyze the heap and memory allocations much like how >> Eclipse will let you for Android? > > Not at this time. We will be supporting Mono's heap profiler in a future > r

Re: [mono-android] ActionBarSherlock

2012-07-12 Thread craig
I'm done with this for now. I handled this by modifying the project file and adding this to the bottom: I created a blog about binding ActionBarSherlock here: http://www.craigsprogramming.com/2012/07/actionbarsherlock-with-mono-for-android.html Seems to be

Re: [mono-android] Unit Testing for MonoDroid

2012-07-12 Thread Manski
moljac wrote > > 1. TestTests project is actually Desktop unit testing project? > That's correct. It exists just for verification purposes. You don't need it in your unit testing solution. moljac wrote > > 2. In M4A app project I have to add source linked unittests so I can > test thos

Re: [mono-android] Is AesCryptoServiceProvider not implemented?

2012-07-12 Thread Joel Low
I'd thought I'd add my two cents too -- I was playing with this (in regular .NET) a few weeks back, and my deduction was that the CryptoServiceProvider classes all call on the Windows Cryptographic Service Provider (hence the name) to complete its operations. Since the CSP doesn't exist on Andro

Re: [mono-android] Is AesCryptoServiceProvider not implemented?

2012-07-12 Thread bjarke
Hi thank you for the enlightening answer. My problem was that at first i used the RijndaelManaged which not gave the exact same result as AesCryptoServiceProvider which i use in a webservice. However using the AesManaged gave the the same results and therefore i use this for my implementation. --