Re: [mono-android] mgmain JNI_OnLoad - 'Mono' has exited with code 255

2012-01-17 Thread devbuzz
Hi Eric, I can't see a file version on the Xamarin.Mobile.dll but it looks like it was compiled on 8 Dec at 6:04pm? I just downloaded the latest from the zip file and it looks like it is the latest. Regards Derek -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/mg

Re: [mono-android] Unexpected Exception from System.Net.WebClient result

2012-01-17 Thread subsembly
Thanks a lot. After installing the 4.0.3 beta update and checking both armabi target platforms all other problems did disappear. So the wrong thread for the WebClient events is the last thing that remains. Cheers, Andreas -- View this message in context: http://mono-for-android.1047100.n5.nabb

Re: [mono-android] VS not recognizing manifest for my application after code restructuring

2012-01-17 Thread Tossing, Chris
Wally, I think I was wrong about what I thought I observed, although that doesn't diminish the finicky-ness of adb. :) I don't know whether this is a Visual Studio bug or not, but it turns out that the problem was being caused by having two projects with the same name in different solution fo

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-17 Thread James Lavery
Hi Ben, Thanks a lot - that's what I needed to know, that I need to code for each layout/density. Other layout systems have attributes which allow one to specify that an item should fill remaining space, and I thought Android would have this. No problem! Thanks for your help. James -- View this

[mono-android] GoogleMaps problem

2012-01-17 Thread sanya
Hi all, I've been trying to compile and deploy the project that uses GoogleMaps . And when I try to deploy to a device I get the error: "Unable to find library 'com.google.android.maps". Please help me. Thanks, Sanya. -- View this message in context: http://mono-for-android.1047100.n5.nabble.

Re: [mono-android] GoogleMaps problem

2012-01-17 Thread Greg Shackles
The Google Maps API is part of an external library, and is not included as part of the standard emulator image (and is not included with Android itself by default, for that matter). You need to create an AVD that includes the Google APIs add-on. More details are available here: http://code.google.c

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-17 Thread Tossing, Chris
James, Do a google search using a term like 'android gravity fill vertical'. It is possible to have a view auto-fill the remaining space. The attribute you need to use either 'gravity' or 'layout_gravity', I believe. Thank you, Chris The details of this company are as follows: G4S Technolog

[mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
I have just upgrated to 4.0.1 on VS 2010. I am debugging using a Galaxy Tab. The install hangs on "Installing Mono Runtime" The build is succesful but the install hangs on the Installing Runtime Dialog. I have tried all the obvious: Rebooting the PC and the Android. I remember that it took a lon

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
You should be able to get better messages with Adb Logging: Tools->Options->Mono for Android Turn that on, try again, wait some time, and then check the monodroid.log file written to your desktop. Jonathan On 1/17/2012 10:58 AM, pearlpdx wrote: I have just upgrated to 4.0.1 on VS 2010. I a

[mono-android] App Hanging

2012-01-17 Thread Fencer04
I am calling a webservice and getting 729 results in an array. I'm then out putting these results in to a 2 column table dynamically. Each time I run it chokes somewhere between the 548th and 569th row when setting the text of either the 1st or second column like this: resultView1.Text = outcome.

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
http://mono-for-android.1047100.n5.nabble.com/file/n5152628/monodroid.log monodroid.log Jon, I have looked at the monodroid.log but nothing jumps out. It finishes with: -- Starting Process - 1/17/2012 11:21:14 AM -- Executable: C:\PROGRA~2\Android\ANDROI~1\PLATFO~2\adb.exe Arguments: -s 37C710

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
Can you try that from the command line and see if it returns? I'm not sure if adb.exe isn't returning, or we aren't handling it correctly. You might also want to check logcat, sometimes Android writes an error there but doesn't surface it to the process that caused it. Jonathan On 1/17/2012

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
Sorry to be a pest but I am not sure exactly how to run this from the command line. I tried this: http://mono-for-android.1047100.n5.nabble.com/file/n5152699/Capture.jpg The logcat file is blank. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Installing-Mono-

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
Weird, if it's the same device and still plugged in, that should have done it. As you can see, it's the exact command line I use in VS. ;) If you only have one device attached (and no emulators running), you can omit the -s 37C7107434024D7 and see if that works. Jonathan On 1/17/2012 1:51

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
Still weird: I changed the command line to: http://mono-for-android.1047100.n5.nabble.com/file/n5152797/Capture.jpg Now I get the same behaivior as with VS. Just hangs, never returns a cmd prompt. Is possible it has something to do with the old Runtime not be removed? I looked in Running Serv

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
VS should have removed the old runtime, you can check in: Settings->Applications->Manage Applications->Mono Shared Runtime. But even if that was the problem, it returns something like [FAILED_ALREADY_INSTALLED]. My only other guess is to check logcat: adb.exe logcat -d Hopefully it is report

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
More information: 1. As a sanity check I tried running this on a 5554 emulator. Worked fine on the second try. First try gave an error about the wrong Runtime. 2. I check and the runtime is not installed on the Tablet. 3. I tried the logcat -d and it hang just like the Runtime In

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
It sounds like something is definitely wrong with your tablet or adb. I would suggest you try googling to see if anyone else is seeing these issues with your brand of tablet. Jonathan On 1/17/2012 2:53 PM, pearlpdx wrote: More information: 1. As a sanity check I tried running this on

[mono-android] Buttons in a list Flicker

2012-01-17 Thread Dustin Sprick
In the 3.x version of android, I have a list of buttons, and when scrolled they flicker. After I stop scrolling the background between the buttons are sometimes drawn incorrectly, containing pieces of the images of the buttons in the list. It doesn't happen in the 2.x android versions.

[mono-android] Debug.Keystore for Google Maps

2012-01-17 Thread bauermt40
Hi, I must be missing something. I've read that the debug.keystore is automatically generated, but I can't, for the life of me, find it anywhere. Especially in ..\obj\Debug. Can someone please point me in the right direction? Thanks. -- View this message in context: http://mono-for-android.104710

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread pearlpdx
Let me get this straight. You are telling me that something that worked fine before I upgraded to the latest verstion is a problem with the Tablet. I don't think so. Is there any other way to load the runtime on the tablet, like coping the file to the tablet and executing it there? You also me

[mono-android] Mono crashing at System.MonoType.GetProperties call

2012-01-17 Thread devbuzz
I have a background service that polls a web service every 30 seconds. The web service receives and returns objects serialized as XML. The activity that monitors the service (via broadcast receivers) as well as the service crash after a few hours. Both stack traces indicate the last method calle

Re: [mono-android] Debug.Keystore for Google Maps

2012-01-17 Thread Greg Shackles
Taken from http://docs.xamarin.com/android/advanced_topics/Obtaining_a_Google_Maps_API_Key - Windows Vista/7: C:\Users\*[USERNAME]*\AppData\Local\Xamarin\Mono for Android\debug.keystore - OSX: /Users/*[USERNAME]*/.local/share/Xamarin/Mono for Android/debug.keystore On Tue, Jan 17, 2

Re: [mono-android] mgmain JNI_OnLoad - 'Mono' has exited with code 255

2012-01-17 Thread devbuzz
Eric & Jon, My apologies, the Mobile API's are not responsible. I've got some updated stack trace information which seems to indicate a call to "System.MonoType.GetProperties()" is the culprit. http://mono-for-android.1047100.n5.nabble.com/Mono-crashing-at-System-MonoType-GetProperties-call-tp51

Re: [mono-android] Debug.Keystore for Google Maps

2012-01-17 Thread bauermt40
Totally overlooked that. Thank you so much. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Debug-Keystore-for-Google-Maps-tp5152974p5153027.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monod

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Jonathan Pobst
You can try reverting to the old version and see if that helps: http://android.xamarin.com/Releases/Mono_for_Android_4/Release_4.0.1 The adb.exe file is something that comes with Google's Android SDK. We install that for you, though it doesn't change with the new Mono for Android msi. If you

Re: [mono-android] Installing Mono Runtime Stalls - solved I think

2012-01-17 Thread pearlpdx
I copied both : Mono.Android.DebugRuntime-debug.apk Mono.Android.Platform.apk to the tablet and executed them on the tablet. The log file said it was looking for the platform/android-8 so that is the one I added. Is this correct? Now seems to work fine. -- View this message in context: ht

Re: [mono-android] Installing Mono Runtime Stalls

2012-01-17 Thread Glen Hassell
Hi :-) I had a small issue with a Galaxy Tab, of course *allow debugging* and *unknown sources* have to be set on the device and the USB driver must be loaded... Sorry but are you 100% certain that ADB is able to talk to the device? If not first start with the device; Menu -> Settings -> Securit

Re: [mono-android] Installing Mono Runtime Stalls - solved I think

2012-01-17 Thread Jonathan Pobst
Yep, if your app is targeting Android 2.2 (in your project properties), 8 is the one to install. I'm glad you found a solution for this! Jonathan On 1/17/2012 3:59 PM, pearlpdx wrote: I copied both : Mono.Android.DebugRuntime-debug.apk Mono.Android.Platform.apk to the tablet and executed th

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-17 Thread riteshsahu
Something like this should work in any resolution: http://schemas.android.com/apk/res/android"; android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > The Listvie

Re: [mono-android] Mono crashing at System.MonoType.GetProperties call

2012-01-17 Thread Jonathan Pryor
On Jan 17, 2012, at 4:42 PM, devbuzz wrote: > I have a background service that polls a web service every 30 seconds. Have you tried this on the 4.0.3 beta? Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: h

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-17 Thread James Lavery
Hi Chris, Thanks a lot - I'd looked at gravity, and it looked like what I might want but I wasn't sure. I'll look further into it! James -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-Layout-Activity-with-ListView-and-TextView-below-it-tp5152064p5153230.html Se

Re: [mono-android] Layout - Activity with ListView and TextView below it

2012-01-17 Thread James Lavery
Thanks - that's exactly what I wanted! I'd tried /almost/ exactly what you've posted. The crucial parameter was /layout_weight/ which is what I was missing. James -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Layout-Activity-with-ListView-and-TextView-below-it-t

Re: [mono-android] Mono crashing at System.MonoType.GetProperties call

2012-01-17 Thread devbuzz
Hi Jon, No I haven't - I will download it now and test. Regards Derek -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-crashing-at-System-MonoType-GetProperties-call-tp5152993p5153264.html Sent from the Mono for Android mailing list archive at Nabble.com.