[mono-android] Problem when installing app on device

2011-10-13 Thread Nicklas Møller Jepsen
Hi, I have the following issue. When I start my application I get java.lang.ClassNotFoundException: android.widget.ItemClickImplementor This happens ONLY when I manually install the APK - not when debugging in VS. I'm running in Release mode with linking turned off. What can I do to successfull

Re: [mono-android] System.Net.Sockets exception

2011-10-13 Thread Nicklas Møller Jepsen
I never did get an answer for this one. I will correct the problem as it is also causing the exception when I manually copy the APK to a device and installs it. I've tried both to use Debug and Release mode. The main problem is that I'm seeing completely different behavior when running the app

[mono-android] Packaging Failed Issue

2011-10-13 Thread was
I have low, medium and high resolution icons in the Resources sub-folders: drawable-hdpi drawable-mdpi drawable-ldpi the icon name is 'skylog' in all folders. This is as per the Android guidelines. I also have an entry in the AndroidManifest: However, I get a 'Packaging Failed' error when

Re: [mono-android] Packaging Failed Issue

2011-10-13 Thread was
was wrote: > > the icon name is 'skylog' in all folders. This is as per the Android > guidelines. I also have an entry in the AndroidManifest: > > android:icon="@drawable-hdpi/skylog"> > > Never mind, the solution was to change the AndroidManifest entry to: also have an en

[mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Wally McClure
A couple of issues that I am seeing: I'm able to set breakpoints in VS. When i debug on my evo device, the breakpoints are hit, however, the lines that are stopped on don't always correspond to the specific line of a breakpoint. I'm finding that the app that I want to debug seems to sometimes s

[mono-android] record video again

2011-10-13 Thread Wally McClure
I'm trying to record some video via M4A running on my htc evo 4g running gingerbread. Everything seems to work fine until I turn off the recording by pressing the stop button, which called the media record's .Stop method. I end up with a zero length file. This makes me think that I need to e

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Elan Hasson
Wally, I have seen this behavior with all project types in VS2010 in general. My understanding is that this occurs when the source code does not match the binary being debugged (PDBs out of date). I resolve this by doing a build clean. Hope this helps, Elan On Thu, Oct 13, 2011 at 10:15 AM, Wa

[mono-android] VS not recognizing Samsung GALAXY Tab

2011-10-13 Thread Steve Sharrock
My application runs fine on this device (except for a few sizing issues); but, VS2010 does not recognize it when I try to deploy to the device. The USB connection is fine -- I can actually see the mass storage device in Windows7. Are there any settings either on the device or in VS that I might use

Re: [mono-android] VS not recognizing Samsung GALAXY Tab

2011-10-13 Thread Elan Hasson
I have a Galaxy Tab and it works fine in Windows 7. You must sign up for the Samsung Developers site (free registration) and download the USB Drivers. http://innovator.samsungmobile.com/down/cnts/toolSDK.detail.view.do?platformId=1&cntsId=9480 Be sure you put the GalaxyTab in debug mode from Se

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Wally McClure
Thanks Elan. I did a clean and started debugging again. I received the same problems. Wally From: e...@elanhasson.com Date: Thu, 13 Oct 2011 10:31:26 -0400 To: monodroid@lists.ximian.com Subject: Re: [mono-android] debugging in Visual Studio w/ 1.9.1 Wally, I have seen this behavior with all

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Nicklas Møller Jepsen
I can confirm this behavior. I've tested this on several devices (HTC Desire S, HTC Sensation, HTC Wildfire, Samsung Galaxy II, etc.) and sometimes the debugger fails to attach. Other times the app is just deployed and not actually started. Reconnecting the device seems to be a way to work aroun

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Tom Opgenorth
FWIW, I have actually seen this behaviour in VS2010 before as well. When debugging Windows Services, I have to do the old Debug...Attach to Process trick. My guess / theory is that because I'm currently working on OLD hardware (think ~ 7 years old) the debugger attaches to the Windows Service and t

Re: [mono-android] VS not recognizing Samsung GALAXY Tab

2011-10-13 Thread Mike Child
My Tab also works fine in Windows 7. I did not have download any drivers to get it to work. As someone else said, make you have the Tabs usb debugging turned on. If you can see it in mass storage mode, then usb debugging is probably not on, our not working. One thing I have noticed on my Tab though

Re: [mono-android] debugging in Visual Studio w/ 1.9.1

2011-10-13 Thread Mike Child
I have also noticed the issue when starting the debug, the app deploys, but never starts. Usually I deploy the app first then I hit debug. I have not had the problem since when doing it like that. It seemed to happen the most when I make code changes and hit debug. I don't remember it ever happenin

[mono-android] an old basic question How to stop the softinput appearing on an Edit text

2011-10-13 Thread John Murray
I have an edit text which is a date )and another time) entry I have implemented an onclick delegate which shows a datetimepicker I have set the edittext to be non editable so that onclick only the datetimepicker dialog appears but despite this on the first click the keyboard still appear

Re: [mono-android] OnActivityResult not being called

2011-10-13 Thread Brian Matz
I'm having a VERY similar problem, but trying to use the camera. The camera opens, and i can "snap" a picture, but when i choose "Save" or "Ok", depending on device, it hides all activities and returns to the device home screen, although the app is still running in the background. Now the code i'

Re: [mono-android] an old basic question How to stop the softinput appearing on an Edit text

2011-10-13 Thread Jonathan Pryor
On Oct 13, 2011, at 4:27 PM, John Murray wrote: > which – I think – is translated into c# monodroid as Close, but not quite: > public class EditTextEx : EditText { > public EditTextEx(Context context, AttributeSet attrs) public EditTextEx (Context context, IAttributeSet attrs)

Re: [mono-android] System.Net.Sockets exception

2011-10-13 Thread Jonathan Pryor
Warning: I'm not known for being the smartest guy in the room. That said... On Oct 13, 2011, at 8:47 AM, Nicklas Møller Jepsen wrote: > The main problem is that I’m seeing completely different behavior when > running the app from VS (on a device) compared to manually copying the APK to > the sam

Re: [mono-android] Problem when installing app on device

2011-10-13 Thread Jonathan Pryor
On Oct 13, 2011, at 5:40 AM, Nicklas Møller Jepsen wrote: Answering things out of order... > What can I do to successfully install a Mono app? If you can debug the app in VS, then the app _has_ been installed onto the device, and you should be able to launch your app from the Android launcher a

Re: [mono-android] Hosting Mono code from native code?

2011-10-13 Thread Jonathan Pryor
On Oct 12, 2011, at 10:01 AM, Jeremy Johnson wrote: > So, if I elected to just build a 'normal' Mono for Android app and wanted to > leverage a third-party graphing component such as aiCharts, I'd need to roll > my own interop with JNI as documented here: Maybe. :-) It depends on the needs of

Re: [mono-android] TableLayout AddView

2011-10-13 Thread Jonathan Pryor
On Oct 11, 2011, at 6:31 PM, Rodney J. Thomas wrote: > I'm trying to dynamically add rows to a tablelayout. It keeps crashing with > the message UnknownMember AddView on the TableLayout object. Could you please provide the full error output? Alternatively, could you please file a bug at bugzilla

Re: [mono-android] Cant' deploy app

2011-10-13 Thread Jonathan Pryor
On Oct 10, 2011, at 5:11 PM, El-Sayed Mohamed wrote: > But, can you suggest any workarounds?. I would suggest trying to subclass/use one of the AdapterView subclasses, such as AbsListView, ExpandableListView, etc. The problem is due to a limitation in how we handle Java generics, so sticking to