Re: [mono-android] 4.2.2 Samsung Galaxy SII Turns off at runtime

2012-06-13 Thread SweetLou
Thanks for your reply jon. I indeed get GC_EXTERNAL_ALLOC on my Samsung and after checking heap size i found out that the XOOM has 256mb compared to only 64 on the Samsung. Guess i got some cleaning up to do! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-2-Sam

[mono-android] SQLite and shared rountime

2012-06-13 Thread Dariusz Sroka
Hi, In my project I'm using SQLite database (http://code.google.com/p/sqlite-net/). Everything works ok when I'm using it on my development machine (debug mode + shared rountime tourned on). Problem occurs when I'm trying to create a package for a client - I'm turning off shared rountime to

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread l0nestar
Spoke too soon.. :( However i think i can create a very similar issue in the default android opengl app. If you create a new monodroid opengl project and then put these lines in GLView#.cs OnRenderFrame, underneath GL.DrawArrays(): for (int i = 0; i < 50; i++)

Re: [mono-android] Intel Emulator with maps?

2012-06-13 Thread Marek Habersack
On 2012-06-12 16:55, Jonathan Pryor wrote: On Jun 12, 2012, at 10:22 AM, Stuart Lodge wrote: However, I don't seem to be able to get an Intel x86 emulator image with Google maps also installed. Does anyone know how to achieve this? You don't, as far as I can tell. If you open the AVD manager

Re: [mono-android] Install location with monodevelop

2012-06-13 Thread keith
Thanks Jon I was missing the setting on the mono develop settings > build > general tab that is obviously used for compilation. I had already tried the other two settings both on api 8. Keith Raven Buzz Interactive 25 Trenance Road, Newquay, Cornwall UK TR7 2LT t: +44 (0)1637 839173 m: +44 (0

[mono-android] change to a Java cast after 4.2.2

2012-06-13 Thread John Murray
Since installing 4.2.2 I now get an unhandled exc on this code Which I've probably been lucky to get away with before... trouble is I don't know what to do next to solve it Its a dialog click method public void garlistclick(object sender, DialogClickEventArgs ee) { Al

Re: [mono-android] change to a Java cast after 4.2.2

2012-06-13 Thread Jonathan Pryor
On Jun 13, 2012, at 11:00 AM, John Murray wrote: > Since installing 4.2.2 I now get an unhandled exc on this code What is the runtime type of your `sender` parameter? What release were you using prior to 4.2.2? If you were on 4.0.x previously, you're probably hitting: http://docs.xamar

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread Jonathan Pryor
Could you file a test case at bugzilla.xamarin.com? We haven't been able to reproduce this issue. Thanks! - Jon On Jun 13, 2012, at 4:19 AM, l0nestar wrote: > Spoke too soon.. :( > > However i think i can create a very similar issue in the default android > opengl app. > > If you create a ne

Re: [mono-android] SQLite and shared rountime

2012-06-13 Thread Jonathan Pryor
On Jun 13, 2012, at 4:14 AM, Dariusz Sroka wrote: > Problem occurs when I'm trying to create a package for a client - I'm turning > off shared rountime to create an .apk package and then my database stops > working. Does the Release .apk fail on your device or only on the client's device? If it

Re: [mono-android] SQLite and shared rountime

2012-06-13 Thread dariusz_sroka
Hi, It was not working on both devices (client and mine). I solved my problem by merging two projects (data project and main project) into one - now when my solution have only one project everything is working correct.. Weird. Best regards -- View this message in context: http://mono-for-andr

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread Jonathan Pryor
On Jun 13, 2012, at 2:55 PM, Jonathan Pryor wrote: > Could you file a test case at bugzilla.xamarin.com? We haven't been able to > reproduce this issue. My bad, we already have a bug filed: https://bugzilla.xamarin.com/show_bug.cgi?id=4725 Even better, we're now able to reproduce... -

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

2012-06-13 Thread devbuzz
Apologies in advance - perhaps this isn't the most constructive feedback but... WTH is up with the debugging 4.2.3? The debugger seems to have a mind of it's own. It's slow and doesn't seem to hit all the breakpoints. I rolled back to 4.2.1 (without a reboot either - and using exactly the same c

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread Stuart Lodge
I'm seeing a few of these events too in 4.2.3 - and seeing these errors during the detach http://mono-for-android.1047100.n5.nabble.com/file/n5710267/monodebugexception.png Glad to hear you are already on it :) On 13 June 2012 20:12, Jonathan Pryor wrote: > On Jun 13, 2012, at 2:55 PM, Jonathan

Re: [mono-android] Tow mapviews

2012-06-13 Thread Sayed Arian Kooshesh
not sure of your questions but if you are looking for a thread.. I would use background worker (unless there is a known problem) and use a handler to update your ui thread. If you feel it's more complicated than that, send over your code so I can try it. if you are just looking for a solution to d

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
try parsing a query string On Mon, Jun 11, 2012 at 4:07 PM, Jonathan Pryor wrote: > On Jun 11, 2012, at 1:00 PM, Sayed Arian Kooshesh wrote: >> You should also never use httputility as the static constructor causes a >> whole meg of memory to vainsh. > > How pray-tell did you come to this conclu

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
btw i said STATIC CONSTRUCTOR ;) On Mon, Jun 11, 2012 at 4:10 PM, Sayed Arian Kooshesh wrote: > try parsing a query string > > On Mon, Jun 11, 2012 at 4:07 PM, Jonathan Pryor wrote: >> On Jun 11, 2012, at 1:00 PM, Sayed Arian Kooshesh wrote: >>> You should also never use httputility as the stati

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
is the .net world just full of idiots? I'm going back to pure c. You should also never use httputility as the* static constructor causes* a whole meg of memory to vainsh On Mon, Jun 11, 2012 at 4:10 PM, Sayed Arian Kooshesh wrote: > btw > i said > STATIC CONSTRUCTOR ;) > > On Mon, Jun 11, 2012

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
actually, jon, I'm gonna take back my words. You're not idiot and I appreciate your previous help On Mon, Jun 11, 2012 at 4:12 PM, Sayed Arian Kooshesh wrote: > is the .net world just full of idiots? I'm going back to pure c. > > > You should also never use httputility as the* static constructor

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
static void Main(string[] args) { GC.Collect(); var start = GC.GetTotalMemory(false); Console.WriteLine("Start memory: {0}", start); System.Web.HttpUtility.ParseQueryString(" http://www.yahoo.com?q=1";); GC.Collect();

Re: [mono-android] Does anybody know a way to type and validate at the same time in a WebView

2012-06-13 Thread Sayed Arian Kooshesh
le sigh. The deign is horrible but I will help you. ok what you need to do is put call backs on your textboxes $(".input").keyup(function (e) { var resp = Android.SomeValidationCallBack($(e.target).val(),$(e.target).attr('name')); var jObj = JSON.parse(resp); //just turned a json object into

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread Sayed Arian Kooshesh
The OutOfMemoryException can sometimes be predicted in advance with special code that uses the MemoryFailPoint class in the .NET Framework. http://msdn.microsoft.com/en-us/library/system.runtime.memoryfailpoint.aspx You may also want to look at lazy initialization to help some of that memory issue

[mono-android] Enterprise licensing question

2012-06-13 Thread Ken Lavigne
I have searched and can't find an answer to this one. When I purchase the enterprise version of the software, does the software change in any way or is there additional software or somthing like that? Or is it just a licensing difference? Thanks in advance. -- View this message in context: http

Re: [mono-android] debugger constantly detaches

2012-06-13 Thread Sayed Arian Kooshesh
this is an idea but since I don't know your design, I don't know if it will fit. make a [Application] public class myGlApp: Application { public void onCreate() { //create a pool of float bytes here that you can reuse } ~myGlApp() { //MAKE SURE TO DESTROY POOL PROPERLY } } also the I ra

[mono-android] Dynamic Table View

2012-06-13 Thread Meera
Hi Mono, I am new to Mono for andriod development. I am using monodevelop 3.0.2 c# compatable tool to design Android App for my company. I have created WCF Service and registed to Monodevelop app, its working fine. This service will return a DataTable which i have show in *Table format Dynamicall

[mono-android] Dynamic Binding for datatable to Table View

2012-06-13 Thread Meera
Hi Mono, I am new to Mono for andriod development. I am using monodevelop 3.0.2 c# compatable tool to design Android App for my company. I have created WCF Service and registed to Monodevelop app, its working fine. This service will return a DataTable which i have show in Table format Dynamical

Re: [mono-android] Does anybody know a way to type and validate at the same time in a WebView

2012-06-13 Thread Terry151151
Passing complex objects using Json isn't the problem. The problem is I need to be able to run the callbacks into the Javascript asynchronously. The Javascript calls the routine in the interface. C# then sets up a thread to talk to the server on the internet or a local Sqlite database. When the resu

Re: [mono-android] Dynamic Binding for datatable to Table View

2012-06-13 Thread Miha Markic
In short, I'd go with ListView. You would have to create a custom adapter and create each row there (either inflate an layout or create it dynamically). See demos and samples on ListView, it shouldn't be hard. Miha -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:mono