[mono-android] Sending Web Service DataSet Problem

2014-04-21 Thread Steve Sharrock
We've been sending DataSets to Web Services from Android devices for a few years now with no problems. We recently starting sending a DataSet with a DataTable containing a "string" column that contains CR/LF (0x0d/0x0a) sequences and it appears the CR (0x0d) is not serialized with the other data in

[mono-android] Sqlite error on Android version 4.1/4.2/4.3

2013-12-27 Thread Steve Sharrock
We have been running an application for a few years with no trouble. Now we find that if our customers have a phone or tablet with the versions 4.1/4.2/4.3, we get an Exception (object reference not set to an instance of an object) from within an Insert SQL command using SqliteCommand.ExecuteNonQue

[mono-android] Problem calling Web Service on Secure Server (https)

2013-09-18 Thread Steve Sharrock
Our applications have been calling web services using https for a few years with no problems. Suddenly, one customer has some newer Nexus 7 devices that fail with the following error. Error writing request: the Authentication or decryption has failed They report the new device is an Android

Re: [mono-android] Nexus 7 4.2.2 not in VS2010 "Select Device" dialog

2013-04-02 Thread Steve Sharrock
might help someone else. From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Steve Sharrock Sent: Monday, April 01, 2013 12:13 PM To: monodroid@lists.ximian.com Subject: [mono-android] Nexus 7 4.2.2 not in VS2010 "Select Device" dialo

[mono-android] Nexus 7 4.2.2 not in VS2010 "Select Device" dialog

2013-04-01 Thread Steve Sharrock
I've downloaded the latest USB drivers from Asus.com. I found the "Developer Options" on the tablet and enabled USB Debugging. I found an earlier post where Jonathan said. The Select A Device dialog uses `adb` to list it's devices. http://docs.xamarin.com/android/Guides/Troubleshootin

Re: [mono-android] VS2010 Crashing a lot lately v4.4.54

2013-02-15 Thread Steve Sharrock
:monodroid-boun...@lists.ximian.com] On Behalf Of Steve Sharrock Sent: Tuesday, February 12, 2013 11:24 AM To: monodroid@lists.ximian.com Subject: Re: [mono-android] VS2010 Crashing a lot lately v4.4.54 I filed a bug report as Jon asked; but, now it is getting so bad I need to roll-back to a prior version. What

Re: [mono-android] VS2010 Crashing a lot lately v4.4.54

2013-02-12 Thread Steve Sharrock
Steve Sharrock Sent: Monday, January 28, 2013 10:51 AM To: 'Discussions related to Mono for Android' Subject: [mono-android] VS2010 Crashing a lot lately v4.4.54 It seems lately I'm getting more VS2010 crashes with the message "Microsoft Visual Studio has encountered a proble

Re: [mono-android] VS2010 Crashing a lot lately v4.4.54

2013-01-28 Thread Steve Sharrock
ists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Steve Sharrock Sent: Monday, January 28, 2013 10:51 AM To: 'Discussions related to Mono for Android' Subject: [mono-android] VS2010 Crashing a lot lately v4.4.54 It seems lately I'm getting more VS2010 crashes with

[mono-android] VS2010 Crashing a lot lately v4.4.54

2013-01-28 Thread Steve Sharrock
It seems lately I'm getting more VS2010 crashes with the message "Microsoft Visual Studio has encountered a problem and needs to close". The "minidump" file Microsoft wants sent says: Exception Code 0xc005 - The thread tried to read from or write to a virtual address for which it does not h

[mono-android] Upgrade to 4.4.54 and lost activation

2013-01-08 Thread Steve Sharrock
to send I'll email it after this post. Thanks, Steve Sharrock st...@sharkcode.com ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] No resource found for Color

2012-11-29 Thread Steve Sharrock
The Color is defined in Resources/Values/Colors.xml... #659ccf The reference to the Color is in Resources/Layout/ViewReports.axml... Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: Jonathan Pryor [mailto:j...@xamarin.com

[mono-android] No resource found for Color

2012-11-29 Thread Steve Sharrock
x27; with value '@color/gridheadbg' The Color name in this case is GridHeadBG. The work-around is pretty obvious - change all color resource names to lower-case. I'm just a bit curious if this was overlooked somehow. Steve Sharrock Architecture/Design/Programming www.sharkcod

[mono-android] FW: Bluetooth Connect NullPointerException

2012-10-16 Thread Steve Sharrock
OK - I'm an idiot. I rebooted the Galaxy Tab 2 and re-paired the scanner and now all works fine with either the secure or insecure socket. Thanks for the reply. Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: Jonathan Pryor [mai

[mono-android] Bluetooth Connect NullPointerException

2012-10-16 Thread Steve Sharrock
nsecure code snippet? Any help is appreciated, thanks. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] PSA: Properly supporting ARM Devices

2012-09-28 Thread Steve Sharrock
rs getting our updated code; but, still running on much older phones? Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent

Re: [mono-android] Bluetooth Service Discovery failed exception

2012-09-19 Thread Steve Sharrock
Thanks, I just found the work-around (hack) before I got your reply and it seems to work fine. Thanks again, Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: Jonathan Pryor [mailto:j...@xamarin.com] Sent: Wednesday, September 19, 2012 12:16

[mono-android] Bluetooth Service Discovery failed exception

2012-09-19 Thread Steve Sharrock
catch( Java.IO.IOException e ) { Toast.MakeText( this, "Cannot Connect Socket", ToastLength.Long ).Show(); Utl.ShowError( e.Message, "Connect Error" ); return; } Toast.MakeText( this, "Success Connect", ToastLen

Re: [mono-android] Screen sizes and layouts

2012-08-16 Thread Steve Sharrock
Each Styles.xml has entries like... <item name="android:textSize">16sp</item> <item name="android:textSize">18sp</item> <item name="android:layout_height">wrap_content</item> This way I only need one Layout that refe

[mono-android] Resources/Values-large Folder Error

2012-07-02 Thread Steve Sharrock
screens are at least 470dp x 320dp (HVGA) * small screens are at least 426dp x 320dp (QVGA) Thanks for any help. I'm sure this used to work - our apps have been running since 9/2011. Thanks, Steve Sharrock Architecture/Design/Programmi

Re: [mono-android] Resources Normal S/B Large

2012-06-28 Thread Steve Sharrock
960dp x 720dp large screens are at least 640dp x 480dp (VGA) normal screens are at least 470dp x 320dp (HVGA) small screens are at least 426dp x 320dp (QVGA) Thanks for any help. I'm sure this used to work - our apps have been running since 9/2011. Steve Sharrock Architecture/Design/Programming

[mono-android] Resources Normal S/B Large

2012-06-27 Thread Steve Sharrock
. I don't know when this occurred. Am I making some kind of mistake? Should the folders use uppercase (Large rather than large)? Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid

[mono-android] VS2010 4.2.1 deploy to device clears data

2012-05-18 Thread Steve Sharrock
It may be my feeble mind remembering something that never was; but, I seem to remember before 4.2.1 that deploying an app from VS2010 didn't clear any existing data (SqlLite etc). If this is something new, is there any setting to preserve existing application data. Thanks Steve Sha

Re: [mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Steve Sharrock
I use TextView.TextColors.DefaultColor property which is an int. I've been using TextView.SetTextColor to restore this "int" default color. Can the int from DefaultColor be converted to an Android.Graphics.Color easily? Steve Sharrock Architecture/Design/Programming ww

[mono-android] Application-wide Themes

2012-01-19 Thread Steve Sharrock
is default behavior. I tried adding " android:theme="@android:style/Theme.Translucent" to the manifest within the tag; but, could not build the package without errors. Thanks Steve Sharrock Architecture/Design/Programming www.sharkcode.com

[mono-android] Parse error: There is a problem parsing the package.

2012-01-09 Thread Steve Sharrock
One of our clients just got a Samsung Galaxy Tab 10.1 (OS 3.1). When they try to install our package (minimum version 2.2), they get the Parse error. I made a one-time minimum/target version 3.1; but, they get the same error occurs. Any thoughts? Steve Sharrock Architecture/Design/Programming

[mono-android] Minimum Android version

2011-11-29 Thread Steve Sharrock
We started our applications targeting API Level 8 - Android 2.2 (probably because that was the version of my boss' DroidX). We've started to get some of our customers wanting to run on various devices that only run Version 2.1. I've been able to lower our minimum level to 2.1 without loosing any fu

[mono-android] CommonApplicationData Access Denied

2011-11-22 Thread Steve Sharrock
I'm trying to write a common file that three of our MonoDroid applications can all read/write. I tried the following directory: string p = System.Environment.GetFolderPath( System.Environment.SpecialFolder.CommonApplicationData ); I get an exception saying that part of the path is not found, and

[mono-android] Retrieve MAC address instead of AndroidID

2011-11-21 Thread Steve Sharrock
I'm working with a device (Bluebird Pidion 6000) that returns null for the AndroidID string id = Android.Provider.Settings.Secure.GetString( this.ContentResolver, Android.Provider.Settings.Secure.AndroidId ); Is there a way of getting a MAC address or some other fairly unique ID that I might tr

Re: [mono-android] Bluebird Pidion BIP-6000

2011-11-18 Thread Steve Sharrock
incompatibility with this device. What I found on the web is pretty sparse regarding changes from 2.1 to 2.2. I'll keep looking. Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: Jonathan Pryor [mailto:j...@xamarin.com] Sent: Friday, November 18,

[mono-android] Bluebird Pidion BIP-6000

2011-11-18 Thread Steve Sharrock
This "rugged" device used to be Windows Mobile, but now they've introduced an "Android Compatible" version of the device. One of our customers downloaded one of our MonoDroid applications, and of course, the device doesn't appear to be compatible enough. It looks like the app crashes trying this...

[mono-android] FW: Access Denied /mnt/sdcard/download

2011-10-25 Thread Steve Sharrock
But, alas, now that I can see the files, the DELETE throws an "Access Denied" exception. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> _ From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com]

[mono-android] FW: (sorry) Clear Downloads /mnt/sdcard/download

2011-10-25 Thread Steve Sharrock
I was using System.IO.Directory.EnumerateFiles( path ) and got no results. When I changed it to System.IO.Directory.GetFiles( path ) I get the list of .apk files. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> _ From: Steve Sharr

[mono-android] Clear Downloads /mnt/sdcard/download

2011-10-25 Thread Steve Sharrock
and choose "USB Mass Storage" and delete the files from the PC. I hope there is a was we can do this from within our apps. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailin

[mono-android] HP ePrint intent

2011-10-21 Thread Steve Sharrock
I read that the HP ePrint application could be called using an intent. After several hours of Googling, I can't find any example. If anyone on this list knows the answer, or some other wifi printing, solution, please let me know. Thanks, Steve Sharrock Architecture/Design/Progra

[mono-android] Something Positive to Report - Barcode Scan

2011-10-19 Thread Steve Sharrock
a.GetStringExtra( "SCAN_RESULT" ); ... Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] Emulator custom resolution vs. Device same resolution

2011-10-18 Thread Steve Sharrock
Forgot to mention on the emulator the dpiX is 240, dpiY 240 and Density Dpi 240. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> _ From: Steve Sharrock [mailto:st...@sharkcode.com] Sent: Tuesday, October 18, 2011 10:47 AM To: 'Dis

[mono-android] Emulator custom resolution vs. Device same resolution

2011-10-18 Thread Steve Sharrock
the same resolution. I can set the resolution and Density Dpi, but I can't set XDpi and YDpi, so the emulator retrieves my "Styles" from Resources/Values-normal. Are there any tricks I can do to truly simulate the Tablet? Thanks, Steve Sharrock Architecture/Design

[mono-android] If I roll-back MonoDroid Version...

2011-10-17 Thread Steve Sharrock
kages). This is only for a limited number of corporate users, so I could request they uninstall anything required. The current users all have a signed package. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcod

[mono-android] Programmatically determine if App is running on Emulator

2011-10-17 Thread Steve Sharrock
This must be fairly simple; but, I haven't found the answer (well, it is late). Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNS

Re: [mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Steve Sharrock
em.EventHandler' P:\Linen\MonoDroid\MainLine\RouteDelivery\Activities\SelectOrder.cs 95 Error 3 Cannot implicitly convert type 'System.EventHandler' to 'Android.Widget.AdapterView.ItemLongClickHandler' P:\Linen\MonoDroid\MainLine\RouteDelivery\Activities\SelectOrder.cs 9

[mono-android] VS2010 MD 1.9.1 "aapt.exe" exited code 1 and ItemLongClick

2011-10-17 Thread Steve Sharrock
arge Values-small When I add Values-medium to support HVGA, I get the "aapt.exe" exited code 1 message. BTW - Visual Studio Help->About shows Mono for Android 1.0 rather than 1.9. I double-checked the install and ran a "repair" with no changes. http://android

[mono-android] VS not recognizing Samsung GALAXY Tab

2011-10-13 Thread Steve Sharrock
use to get this to work. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

[mono-android] Interrupted Activities (states)

2011-10-11 Thread Steve Sharrock
r by following the documentation on Web Service calls. Detailed testing by button-pushing (non-developer) testers is producing some ugly errors having to do with synchronization. Any help is greatly appreciated. Steve Sharrock Architecture/Design/Programming www.sharkcode.com _

Re: [mono-android] Alert Dialog Box Button

2011-10-03 Thread Steve Sharrock
meone else will have to help you on that. Builder.SetPositiveButton( "Yes", EventHandler clicked ); Builder.SetNeutralButton( "No", EventHandler clicked ); Builder.SetNegativeButton( "Cancel", EventHandler clicked ); Steve Sharrock Architecture/Design/Programm

[mono-android] Keystore Signed Packages

2011-10-03 Thread Steve Sharrock
rdless of Debug/Release build. When I move the Release .apk file to a corporate server for others to download from, do I use the Project.Project.apk, or the Project.Project-Signed.apk? Thanks, Steve Sharrock Architecture/Design/Programming ww

Re: [mono-android] How to deploy App To Market

2011-09-06 Thread Steve Sharrock
(or, they can just navigate to our .apk file with their browser). The only tricky part is the IIS server needs the following MIME type added. .apk application/vnd.android.package-archive Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: mono

Re: [mono-android] Eval unusable, how about real devices?

2011-09-01 Thread Steve Sharrock
I use a DroidX for all testing -- much, much faster than the Emulator. I do Windows Mobile 5.0 development also and it's about the same performance when stepping thru debug code. Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: monodroid

[mono-android] Separate Assemblies with Activities

2011-08-24 Thread Steve Sharrock
tutorials? Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] 1.0.3

2011-08-24 Thread Steve Sharrock
Debugging on a DroidX is much, much faster -- thanks. Have the versions of any of the run-time DLLs changed (Mono.Android, or any System...)? Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid

Re: [mono-android] https WebService call failing (answered)

2011-08-22 Thread Steve Sharrock
System.Net.ServicePointManager.ServerCertificateValidationCallback Supplying a callback that returns true seems a bit heavy handed; but, it works. Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> _ From: Steve Sharrock [mailto

[mono-android] https WebService call failing

2011-08-22 Thread Steve Sharrock
And, of course the same code works fine from within a Desktop or Web application. Any thoughts on this are appreciated. Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing l

[mono-android] Upgrade from Novell to Xamarin

2011-08-18 Thread Steve Sharrock
to do to continue development with Xamarin support. Thanks, Steve Sharrock (for Computer Software Architects) Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing list Monodroid@lists.ximian.com UNS

[mono-android] Upgrading from Novell

2011-08-18 Thread Steve Sharrock
. Is our license from Novell still good, or can it be transferred? Where (and which version) should we download? Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sharkcode.com/> ___ Monodroid mailing l

Re: [mono-android] Status of Mono for Android?

2011-07-18 Thread Steve Sharrock
+1. Does Xamarin have a new mailing list to replace this one? In other words, to which list will Jonathon Pryor and the other (formerly Novell) support staff respond? Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: monodroid-boun

Re: [mono-android] Status of Mono for Android?

2011-07-18 Thread Steve Sharrock
+1. Does Xamarin have a new email list to replace this one? In other words, to which list will Jonathan Pryor respond? Steve Sharrock Architecture/Design/Programming www.sharkcode.com ___ Monodroid mailing list Monodroid@lists.ximian.com

[mono-android] GoogleMaps Sample App

2011-05-31 Thread Steve Sharrock
I've been trying to compile and deploy the GoogleMaps sample (from GitHub). I've installed the Google APIs per the instructions. When I try to deploy to a device I get the error: "Unable to find library 'com.google.android.maps". Any ideas on how to get past this? Thanks, Steve

Re: [mono-android] checking wifi or mobile connection

2011-05-24 Thread Steve Sharrock
quot; + n.ExtraInfo + "\n" ); } Utl.ShowMessage( sb.ToString() ); } catch( Exception ex ) { Utl.ShowException( "Net", ex ); } Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Original Message- From: mon

[mono-android] Convert to/from java.lang.object

2011-05-20 Thread Steve Sharrock
I'm trying to use Button.Tag (java.lang.object) to store a simple int; but, I can't find a method to convert to/from java.lang.object to/from .NET. I've never hit this since most of the conversions are pretty automatic. Thanks, Steve ___ Monodroid m

[mono-android] SurfaceView Drawing on Background Thread

2011-05-17 Thread Steve Sharrock
I'm working from a java example trying to get all drawing for this view done on a background thread. I'm close; but, I could sure use a MonoDroid example if anyone knows of one. Thanks, Steve Sharrock Architecture/Design/Programming www.sharkcode.com http://www.sha

[mono-android] (aresgen) Finding Layout xml errors

2011-05-12 Thread Steve Sharrock
As my Layouts get larger and more complex, I'm spending more time trying to find errors in my axml whenever I get the dreaded "System.NullReferenceExceptionL Obje..." File: aresgen" error message. Is there any logs or ways of tracking down the error other than squinting at X