Re: [mono-android] Upload to device - device not listed

2012-09-13 Thread dickies
Panic over, I had to go onto my device Settings > Applications > Development and make sure you tap USB debugging so the tick goes green. I stupidly thought that because it was already ticked it was active, but no the tick must be green... -- View this message in context: http://mono-for-androi

[mono-android] Upload to device - device not listed

2012-09-13 Thread dickies
Using the latest builds... Given that I've connected my andriod device to my mac and have MonoDevelop open, when I click Run > Upload to Device, the Select Device dialog opens, but my device is not listed. I have killed and restarted the adb server, but still no luck. How can I upload my app to

[mono-android] Designer locks

2012-09-13 Thread Goncalo Oliveira
Hi, What's up with the visual studio designer locks in 4.2.5? I used to be able to select a screen and lock by screen size (normal, large, extra large) but now that possibility is gone. Also, if I fiddle a little bit, some of the locks disappear or get behind text or behind the gray bar... Cheers

Re: [mono-android] Silent App crash

2012-09-13 Thread Igor Russkih
Hrr, no ideas/suggestions? Igor On Sun, Sep 9, 2012 at 11:16 PM, Igor Russkih wrote: > Hello. > > Our user reported a silent permanent app crash on LG gt 540 (android 2.1) > > logcat shows no exceptions at all. Immediately after activity showup, at > some moment (current undestanding - as so

Re: [mono-android] Empy devices running

2012-09-13 Thread Jeremy A. Kolb - ARA/NED
Right. What you HAVE to do is start the emulator BEFORE starting Visual Studio. Otherwise the emulator will never start. -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of zed3 Sent: Thursday, September 13, 2012 4:53 AM

[mono-android] Designer can't load custom controls

2012-09-13 Thread Goncalo Oliveira
Hi, I have a view named SquareLayout that inherits LinearLayout. When adding this view in the axml, the designer doesn't know what to do with it and throws an exception *The layout could not be loaded: com.android.layoutlib.bridge.MockView cannot be cast to android.View.ViewGroup* The same thing

Re: [mono-android] Empy devices running

2012-09-13 Thread zed3
thanks for the reply, but I have not solved the problem. After I click start the window closes and does not open the emulator. This evening I will try to install everything on a clean machine. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Empy-devices-running-tp

Re: [mono-android] Installed version

2012-09-13 Thread Miha Markic
Hi Jon, OK, got that. I think it might make sense to include this detailed version information somewhere in VS as well. Perhaps on Tools/Options/Mono For Android page? Easier to read it, not a big deal though. Miha -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:mon

Re: [mono-android] How to change the network state of device?

2012-09-13 Thread ukrandruha
Thank you all, I figured out how to do it on Java (http://manski.net/2012/03/30/accessing-java-classes-from-mono-for-android-via-jni/) create library package com.mayastudios.jnitest; import android.content.Context; import android.net.ConnectivityManager; import java.lang.reflect.Method; public c