[mono-android] Add a marker on Google Maps activity

2011-12-16 Thread tequila slammer
I'm trying to add markers to a Google Maps activity. I tested some code examples - mostly the ones from Tomasz Cielecki. The code I'm playing around with is this basic example https://github.com/Cheesebaron/MonoDroid.SimpleOverlayItem. It works as long as I do not try to set my own marker like thi

Re: [mono-android] Excessive JNI global references (2001) on hardware

2011-12-16 Thread warren burch
This is set low for debugging it means there are native resources being allocated which are not being freed - You can turn this off using... adb.exe shell setprop dalvik.vm.checkjni false however - *you dont want to!!* it means there is almost certainly a serious leak, and I bet in your case it

[mono-android] Excessive JNI global references (2001) on hardware

2011-12-16 Thread Igor Russkih
Hello, I'm using a noname android tablet (2.2) for testing, and found that it often gives me *E/dalvikvm( 519): Excessive JNI global references (2001)* Is there any information why the limit can be so low on the device and if this could be reconfigured somehow? Is there any information on other

Re: [mono-android] OpenFileOutput Exception Mono 4.0

2011-12-16 Thread Susanne
Thank you very much! :) This worked out well! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/OpenFileOutput-Exception-Mono-4-0-tp5073997p5081263.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] MonoDroid 4.0.1, APP Crash when debugging

2011-12-16 Thread Renato Degelo
Hail, i've just bought MonoDroid... I've created Hello World Application and deployed it in my device. Everything looks ok. But when a breakpoint is reached and i try to see a variable value, my application crashes. Do you know how i solve it? Thx -- View this message in context: http://mono-

[mono-android] Cant receive picture from Camera intent

2011-12-16 Thread ogborstad
I am trying to use an intent to get a picture from the camera to my application. Both the Intent data parameter to OnActivityResult is null and any member variable in my Activity that I use to store a Uri is null. So how do I access the image taken? I have tested on a device with camera. Heres my

Re: [mono-android] Populate Spinner from DataTable

2011-12-16 Thread troadie
Thanks for all your help Mike. I've now got it working by using the solution at http://www.katr.com/article_android_spinner01.php www.katr.com/article_android_spinner01.php I'm returning a DataSet from a web service function and then using the DataSet to fill the Java object array, which is then

Re: [mono-android] Using the New Compatibility Packages and TabActivity Deprication

2011-12-16 Thread Oscar R Lopez
I´ve set both ways, but i get same problem, can´t find the library. Bye -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Using-the-New-Compatibility-Packages-and-TabActivity-Deprication-tp4705492p5081663.html Sent from the Mono for Android mailing list archive at Na

Re: [mono-android] SPAM-LOW: Re: GridView not releasing view objects

2011-12-16 Thread HSSoftware
Thank you Jon. I will try your suggestion. Did it allow GC to free up those instances of ImageGridActivity? Their presence seemed to lock in the GridView's, and thus the ImageView's. David Sent from my iPad On Dec 16, 2011, at 3:47 PM, "Jonathan Pryor-2 [via Mono for Android]" wrote: > On D

Re: [mono-android] GridView not releasing view objects

2011-12-16 Thread Jonathan Pryor
On Dec 16, 2011, at 9:43 AM, HSSoftware wrote: > Attached is a reproducible case. Thank you, that simplified investigations. :-) > Is there something stupid I am doing, or is GC on a holiday? The GC is on holiday. :-) Well, not exactly. The problem here is that the GC has a limited view of memo

Re: [mono-android] Garbage Collection performance can be very poor (new Mono for Android)

2011-12-16 Thread warren burch
To close the loop on this. I dont see the massive 30+ second GC times now. I do however sometimes see memory usage go *up* after the GC completes which seems a little odd. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Garbage-Collection-performance-can-be-very-poo

Re: [mono-android] ArrayAdapter throws exception can not convert to IJavaObject

2011-12-16 Thread Jonathan Pryor
On Dec 15, 2011, at 11:11 PM, dgoughnour wrote: > I just updated to the most recent version of Mono for Android and code that > used to work now throws an exception. Sorry, that was a regression introduced when fixing a different array handling bug: http://bugzilla.xamarin.com/show_bug.

Re: [mono-android] Using the New Compatibility Packages and TabActivity Deprication

2011-12-16 Thread Jonathan Pryor
On Dec 16, 2011, at 4:19 AM, Oscar R Lopez wrote: > Someone has some example running compatibility package? > > I´ve put android-support-v4.jar on my project with "AndroidJavaSource" > compilation, but i can´t reference anything from it Try setting the Build action to AndroidJavaLibrary. Thanks,

Re: [mono-android] Automatic activity start

2011-12-16 Thread Jonathan Pryor
On Dec 16, 2011, at 5:24 AM, Martyn Wendon wrote: > So we're working on reducing application load time at the moment What device are you running this on? Unless you're providing a custom Application type and doing a ton of work within Application.OnCreate() or BroadcastReceiver.OnCreate(), I

Re: [mono-android] Can not send IDictionary to WCF

2011-12-16 Thread RScanlon
I too am having a very similar issue. The only real difference is that we use actual Dictionaries instead of IDictionary. I believe the issue stems from having a custom or complex type as either the key or value in your dictionary. I have tested it sending a string for the key and an int for the va

Re: [mono-android] IDE gets really slow even after stopping debugging

2011-12-16 Thread Tom Opgenorth
I get this happening from time to time but I'd wager it's more of a VS2010 issue than anything. Why do I say that? Because I see it when trying to debug some WCF services that I attach to on a plain-jane VS2010 install (i.e. no M4A). The only relief I seem to get is (in this order): restarting VS

Re: [mono-android] Populate Spinner from DataTable

2011-12-16 Thread milop
That's exactly what I'm doing. My web service returns a custom DTO though. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Populate-Spinner-from-DataTable-tp4370301p5080514.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] GridView not releasing view objects

2011-12-16 Thread HSSoftware
Attached is a reproducible case. Is there something stupid I am doing, or is GC on a holiday? http://mono-for-android.1047100.n5.nabble.com/file/n5080378/ReproGridView.zip ReproGridView.zip -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/GridView-not-releasing-v

Re: [mono-android] GridView not releasing view objects

2011-12-16 Thread HSSoftware
It seems that this is a larger problem than I thought. When I run DDMS while running my app on the Kindle Fire, I proceed to my activity with the GridView and the thumbnails. I do about a dozen rotates, and then generate an HPROF file with DDMS. Analyzing this with Eclipse Memory Analyzer, I see, a

[mono-android] Holo Dialog and ActionBar

2011-12-16 Thread laurar81
I would like to insert an activity into a dialog and I have implemented a new theme width @android:style/Theme.Holo.Light.Dialog. How do I insert the actionbar? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Holo-Dialog-and-ActionBar-tp5080169p5080169.html Sent fro

Re: [mono-android] Automatic activity start

2011-12-16 Thread Martyn Wendon
I don't believe it matters what Intent category is used, since the OnReceive Method is never called. I think I worked out what was happening though, at some point we added the option for the application to be installed to SD Card and it appears that applications installed on the SD Card may not re

Re: [mono-android] Wishlist: Dont query for device to deploy to when there is only one

2011-12-16 Thread warren burch
Thanks Emiel, indeed it is. Tools\Options\Mono for Android\Use default device brilliant! Cheers Warren -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Wishlist-Dont-query-for-device-to-deploy-to-when-there-is-only-one-tp5079548p5079786.html Sent from the Mono fo

Re: [mono-android] Using the New Compatibility Packages and TabActivity Deprication

2011-12-16 Thread Oscar R Lopez
Someone has some example running compatibility package? I´ve put android-support-v4.jar on my project with "AndroidJavaSource" compilation, but i can´t reference anything from it, on my axml like viewpager I always get an inflate error. (ClassNotFound) Bye -- View this message in context: ht