[mono-android] Low/Medium/High resolution

2012-03-05 Thread milop
What is Mono Android's equivalent of the "res/drawable-hdpi, res/drawable-mdpi, and res/drawable-ldpi" for resolution dependence? All I see is one "Drawable" folder under "Resources". How do I implement the three sizes in Mono Android? Thanks in advance, Mike -- View this message in context: ht

Re: [mono-android] Low/Medium/High resolution

2012-03-06 Thread milop
Thank you. That works. I guess I could have tried it first. Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Low-Medium-High-resolution-tp5539149p5541124.html Sent from the Mono for Android mailing list archive at Nabble.com. __

[mono-android] 4.2.1 Nice!

2012-05-15 Thread milop
Thanks for the update. No problems here and the enhancements are sweet. ItemEventArgs got me only in one place. No problem. The layout designer is awesome ... BUT, I can't view the XML. I know, I know, you're saying "Jeez ...". It is important. V2? Thanks for all the hard work. Mike -- Vie

Re: [mono-android] 4.2.1 Nice!

2012-05-16 Thread milop
Naturally. Integrated split view is what I'm talking. Also, I'd love to see integration with TFS. Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-1-Nice-tp5709746p5709758.html Sent from the Mono for Android mailing list archive at Nabble.com.___

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread milop
Use the /Log switch when starting VS. It may help point out the problem. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visual-Studio-2010-crashes-when-opening-a-new-or-existing-Mono-for-Android-project-after-upgrade-to-1-tp5709541p5709759.html Sent from the Mono f

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread milop
Sorry. Can't help if logging shows nothing. It's gonna have to be a Xamarin question. But Yes, you can roll back. Just uninstall the latest version (Add/Remove programs) a reinstall the earlier version. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visual-Studio-

[mono-android] Insert 2000 rows into SQLite

2011-05-16 Thread milop
Hello. I am iterating through a System.Data.DataTable row by row and Inserting into SQLite using ContentValues and WriteDatabaseTable.Insert(...) It's crashing after a couple of hundred rows with the following error. I don't know why "close()" is being called. What is the best way to insert a lar

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-16 Thread milop
Hi, Karl. Thanks for the response. Here's the code. I've subclassed the Application class and have a SQLiteOpenHelper object named DBHelper in it that I access for all DB operations: foreach (DataRow row in ds.Tables[1].Rows) {

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-17 Thread milop
Hi, Karl. I've never used SQLite either and so far I'm not a big fan. Half of my confusion is whether I should use SQLiteOpenHelper or the SQLite ADO.Net provider. I'm learning Android and in all the reading, naturally it all alludes to SQLiteOpenHelper. This whole thing of passing the version

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-17 Thread milop
Hi, Greg. Thanks for the response. Regarding sqlite-net, it seems to be a separate open source project. How does it relate to the Mono.Data.Sqlite.dll and Mono.Data.Tds.dll? Also, on the following page, under the API Compatibility column for Mono.Data.Sqlite.dll, the link for "limitations" shows

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-17 Thread milop
Hi, Greg. Following your ORM way, I get an error creating the SQLConnection object using the connection string in your code: "Invalid ConnectionString format for parameter /data/data/com.mydomain.android/pos/databases/POS.db" The name of my database is POS.db. So, I created the database using th

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-17 Thread milop
Hi, Karl. Thanks. That worked. How does the .Net framework SpecialFolder enumeration map to Mono-Droid? I couldn't find any documentation on it. Thanks again, Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Insert-2000-rows-into-SQLite-tp4401830p4405213.ht

Re: [mono-android] Insert 2000 rows into SQLite

2011-05-19 Thread milop
Hi, Ken. Yes, I've read that. I was going to give that a try. Thanks, Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Insert-2000-rows-into-SQLite-tp4401830p4409640.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] how deep can I go with MonoDroid ?

2011-06-29 Thread milop
Not sure. There's a rumor that Novell might be dropping support for the Mono platform. http://www.zdnet.com/blog/open-source/is-mono-dead-is-novell-dying/8821 The creators of Mono are starting a new company: http://xamarin.com/ I'm in here now looking for the latest info. I don't see any more s

Re: [mono-android] Hallelujah!

2011-07-21 Thread milop
Amen Brother! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Hallelujah-tp4599634p4620286.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@lists.ximian.com UNSU

[mono-android] Previews

2011-07-26 Thread milop
Hello, What preview is this product currently at? Would it be possible to put timelines on them? Thank you, Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Previews-tp4634600p4634600.html Sent from the Mono for Android mailing list archive at Nabble.com. __

[mono-android] Deploy to device without going through store

2011-11-29 Thread milop
Hello, I am writing an app for company use and will not be publishing it to the store. How do I go about getting the app and the Mono runtimes installed on the Android devices? Thank you, Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Deploy-to-device-with

Re: [mono-android] Deploy to device without going through store

2011-11-29 Thread milop
Thanks, Andrew. That installs my app, but it doesn't install the Mono runtimes. How do I get those installed? Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Deploy-to-device-without-going-through-store-tp5032378p5032568.html Sent from the Mono for Android m

Re: [mono-android] Deploy to device without going through store

2011-11-29 Thread milop
Hi, Paul. You're right. I was in debug mode. When I switch to Release mode Visual Studio makes the proper changes to the Mono Android Options. After rebuilding the project and running the command that Andrew suggested, the app installs and I can run it. Thanks, Mike -- View this message in co

Re: [mono-android] Deploy to device without going through store

2011-11-29 Thread milop
Hi, Paul. You're right. I was in debug mode. When I switch to Release mode Visual Studio makes the proper changes to the Mono Android Options. After rebuilding the project and running the command that Andrew suggested, the app installs and I can run it. Thanks, Mike -- View this message in co

[mono-android] Error with MonoDroid 4

2011-12-09 Thread milop
This code was working in v1.2, but I get "System.NotSupportedException: Don't know how to convert type TicketLine to an Android.Runtime.IJavaObject" in 4.0: My class: class TicketLine { public int TicketNo {get; set;} public int LineNo { get; set; } public string It

Re: [mono-android] System.NotSupportedException with ArrayAdapter of custom object

2011-12-12 Thread milop
Hi, Tomasz. Thanks for replying. Sure I can do that, but I'd like to know what changed from version 1.2 to version 4.0 that causes the same, previously acceptable, code to now fail. I didn't have to implement it before. And, shouldn't everything in MonoDroid implicitly derive from Java.Lang.Objec

Re: [mono-android] System.NotSupportedException with ArrayAdapter of custom object

2011-12-13 Thread milop
Thanks, Jon. Been there done that, regressively speaking. I changed my TicketLine object to inherit Java.Lang.Object and it works now. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Error-with-MonoDroid-4-tp5061997p5072050.html Sent from the Mono for Android mail

Re: [mono-android] Populate Spinner from DataTable

2011-12-14 Thread milop
Troadie, Consume it like you would normally: Add a web reference to your project, call it MyWebService: using (MyWebService ws = new MyWebService()) { DataTable dt = ws.SomeFunction(); // Now use the datatable. } Does this

Re: [mono-android] Populate Spinner from DataTable

2011-12-15 Thread milop
The reason why you can't use a datatable is that it is not serializable. The DataSet is. Ultimately you would want to create your own DTO (Data Transfer Object), but using a DataSet can get an app up and running in a pinch. Mike -- View this message in context: http://mono-for-android.1047100.n5

Re: [mono-android] Populate Spinner from DataTable

2011-12-15 Thread milop
Thanks for replying, Troadie. This is an old post and I've worked it out. Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Populate-Spinner-from-DataTable-tp4370301p5078570.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

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. _