Re: [mono-android] System.Linq.Dynamic

2012-04-17 Thread Atsushi Eno
Oh, OK I found the solution :) What I missed was System.Core (I thought it must have been used in my app and hence processed!). I attached a workaround sample for my DynamicTest [*1] sample in our monodroid-samples repo. It should be also noted that element has to be added to the element for

Re: [mono-android] VM full error

2012-04-17 Thread Jonathan Pryor
On Apr 12, 2012, at 8:02 PM, King Coffee wrote: > I'm using the following code to allocate an image file to a ImageView > control, with instance name: image. > > Bitmap bitmap = BitmapFactory.DecodeFile(matches[0]); > image.SetImageBitmap(bitmap); If you're not using `bitmap` after this point, y

Re: [mono-android] System.DllNotFoundException with native library

2012-04-17 Thread Jonathan Pryor
On Apr 12, 2012, at 5:39 PM, jclement wrote: > Is what I'm trying to achieve possible? Yes; SanityTests [0] bundles and loads native libraries. Unfortunately, it looks like your native library is not a valid Android native library: https://bugzilla.xamarin.com/show_bug.cgi?id=4462#c1 T

Re: [mono-android] Using resource by other project

2012-04-17 Thread Jonathan Pryor
On Apr 13, 2012, at 10:25 AM, mpiralli wrote: > I have created two Monondroid projects in my "workspace" in Monodevelop. The > first is called "CustomProject", and the other called "MainProject" What kind of projects are these? Application or Library projects? Which version of Mono for Android

Re: [mono-android] System.Linq.Dynamic

2012-04-17 Thread Jonathan Pryor
On Apr 16, 2012, at 11:45 AM, laurar81 wrote: > can you tell me of you find a solution? Could you please file a bug and attach your project? Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.xim

Re: [mono-android] Does MonoDroid use the NDK ??

2012-04-17 Thread Jonathan Pryor
On Apr 17, 2012, at 2:44 PM, zezba9000 wrote: > Does MonoDroid in fact use the NDK?? Both libmonodroid.so and libmono.so are built using the Android NDK toolchain, e.g. with arm-linux-androideabi-gcc. > Also it begs the question as to why Google even chose to use x86 over ARM for > the GoogleTV

[mono-android] Does MonoDroid use the NDK ??

2012-04-17 Thread zezba9000
Hi all, Ive asked a question on StackOverflow and just wanted to clarify the answer I got. http://stackoverflow.com/questions/10148458/cant-get-monodroid-4-0-6-x86-emulation-or-googletv-to-work/ Does MonoDroid in fact use the NDK?? If so that would explain why I can't get it to run on the GoogleT

Re: [mono-android] GLDiag not working in 4.0.6 on Samsung Galaxy S

2012-04-17 Thread Eduardo Jimenez
Ok, so I should call MakeCurrent() if I'm using MonoDroid 4.0.4 but not if I'm on 4.0.6 in the onLoad. In OnResize I should call it anyway. Anyway, is there a way of getting 4.0.5? I have access to 4.0.4 and 4.0.6 but not to the beta 4.0.5 and I'd love to give it a go. Also, is there a way of

Re: [mono-android] Excessive JNI global references (Again and again)

2012-04-17 Thread Jonathan Pryor
On Apr 17, 2012, at 3:43 AM, Igor Russkih wrote: > With original list of ~100 items, I'm getting overflow with just a couple of > device (or emulator) "flips": Is this with Mono for Android 4.0.6 or the 4.1.0 alpha? In 4.1.0 we altered things so that when we hit a gref threshold we perform a col

Re: [mono-android] GLDiag not working in 4.0.6 on Samsung Galaxy S

2012-04-17 Thread Andreia Gaita
On Tuesday, April 17, 2012 at 3:58 PM, Konaju Games (Dev) wrote: > If you are using AndroidGameView, you now need to call MakeCurrent() as the > first thing in OnLoad(). > I did this, and got rid of my attempt at creating a second OpenGL context and > the exception disappeared in my project. >

Re: [mono-android] GLDiag not working in 4.0.6 on Samsung Galaxy S

2012-04-17 Thread Konaju Games (Dev)
If you are using AndroidGameView, you now need to call MakeCurrent() as the first thing in OnLoad(). I did this, and got rid of my attempt at creating a second OpenGL context and the exception disappeared in my project. Sly On Apr 17, 2012 8:17 PM, "Eduardo Jimenez" wrote: > Do you mean that y

Re: [mono-android] Problem getting SQLAdapter to populate ListView

2012-04-17 Thread Mike
Hi David, I'm also an Android newbie. Here is an example of what we are using to populate a ListView. Hope this helps. _mySQLAdapter = new ChildListAdapter(this, kidList); var layoutListView = FindViewById(Resource.Id.LayoutListView); layoutListView.Adapter = _mySQLAda

[mono-android] Problem getting SQLAdapter to populate ListView

2012-04-17 Thread David Russell
Hi All, I am a newbie to Android. I am developing an app which will use data from an external SQL database. I have successfully tested the ability to send a query and get a single row but I now want to bring back a number of rows for display in a ListView. I am a seasoned C# and VB programmer b

Re: [mono-android] Need to set cursor location in EditText control

2012-04-17 Thread Mike
Thanks for the reply Jon. I was a little confused yesterday and shouldn't have even mentioned getSelectionEnd. I found the method I need, SetSelection. I'm still puzzled as to why the special characters are causing the EditText to behave that way, but this workaround is doing the trick. --Mike -

Re: [mono-android] Troubles with linking of my app

2012-04-17 Thread Jonathan Pobst
This generally means you are trying to use an assembly that is not compiled for the MFA profile. In the .NET Framework 3.5, System.Func is in System.Core.dll In MFA (and .NET 4.0), System.Func is in mscorlib.dll. You will need to recompile your assembly using the MFA profile. Jonathan On 4

[mono-android] Troubles with linking of my app

2012-04-17 Thread Willem Meints
Hi, I'm trying to get an app ready for the Android marketplace, but run into a small problem with it. When I build the package, I get the following error from the Linker: C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(524,5): error MSB4018: The "LinkAssemblies" task faile

Re: [mono-android] GLDiag not working in 4.0.6 on Samsung Galaxy S

2012-04-17 Thread Eduardo Jimenez
Do you mean that you have to stop manually creating the frame buffer on loading? Or is it something else? That one I've got covered but if it's something else I don't know... Eduardo On 4/17/2012 12:00 PM, Konaju Games (Dev) wrote: There was a change to OpenGL initialization in 4.0.5 describ

Re: [mono-android] GLDiag not working in 4.0.6 on Samsung Galaxy S

2012-04-17 Thread Konaju Games (Dev)
There was a change to OpenGL initialization in 4.0.5 described in the release notes. That change will be required for any older code. Sly On Apr 17, 2012 4:19 PM, "Eduardo Jimenez" wrote: > GLCube won't work for some reason. It crashes with no callstack. > Meanwhile the triangle ES 2.0 works in

[mono-android] Excessive JNI global references (Again and again)

2012-04-17 Thread Igor Russkih
I would like to express my feelings abit: Each time I go deep into the development of android views and UIs, I spent alot of time struggling with the subj. I do development mostly on simulator (thats simpler and faster than having a device). Also this helps to track the resource usage, because wit