Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Tomasz Cielecki
I just made a small sample here: https://github.com/Cheesebaron/MonoDroid.DatePickerSample But what your exception is saying that some of the values you have fed the DatePickerDialog are invalid: java.lang.IllegalArgumentException: current should be >= start and <= end I think it is the 12 you ha

[mono-android] including a subclassed EditText

2011-12-20 Thread John Murray
I have subclassed edit text to add a bit of proprietary behaviour called "EditTextEx" I am having trouble figuring how to use it In the XML I get an error (though it compiles ok) which says my subclass is 'Invalid child element ' I realise I have to include the subclass with a reference t

Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Mike Child
yes, the month value is 0 based, so 12 is not valid. You would want to use 11. Mike Child On Tue, Dec 20, 2011 at 3:09 AM, Tomasz Cielecki wrote: > I just made a small sample here: > https://github.com/Cheesebaron/MonoDroid.DatePickerSample > > But what your exception is saying that some of th

Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Tom Opgenorth
Good to know! Thanks all. On Tue, Dec 20, 2011 at 06:24, Mike Child wrote: > yes, the month value is 0 based, so 12 is not valid. You would want to use > 11. > > Mike Child > > > > On Tue, Dec 20, 2011 at 3:09 AM, Tomasz Cielecki > wrote: > > I just made a small sample here: > > https://github

Re: [mono-android] Support for mixed mode assemblies

2011-12-20 Thread Jonathan Pryor
On Dec 20, 2011, at 12:48 AM, Mahesh wrote: > Do you have any plan for supporting mixed mode assemblies in future release > of mono android No: http://www.jprl.com/Blog/archive/development/mono/2008/Jan-27.html The one change since 2008 was that there was (briefly?) a discussion on mono-l

Re: [mono-android] HTML5 vs NativeDevelopment vs C#

2011-12-20 Thread SRI
Hi, I am also creating a Hybrid App Framework where I merge usage of Web Technologies with Native C# by implementing a Micro In-Process Web Server which runs on both Android/IOS. My belief is that both the Native Development as well as a Web (Html5) Development will exist and may eve

Re: [mono-android] including a subclassed EditText

2011-12-20 Thread Jonathan Pryor
On Dec 20, 2011, at 7:30 AM, John Murray wrote: > I have subclassed edit text to add a bit of proprietary behaviour called > “EditTextEx” > I am having trouble figuring how to use it > In the XML I get an error (though it compiles ok) which says my subclass is > ‘Invalid child element ‘ > > I

Re: [mono-android] Cannot get Hello World to work...

2011-12-20 Thread Jonathan Pryor
On Dec 19, 2011, at 8:05 PM, mattbrand wrote: > Taking your advice, I got the emulator to start up correctly using the AVD > Manager. That's probably the problem. When you start an emulator via the AVD Manager, the resulting emulator has a _tiny_ /data partition (64MB), which isn't enough to st

Re: [mono-android] HTML5 vs NativeDevelopment vs C#

2011-12-20 Thread Jonathan Pryor
On Dec 19, 2011, at 9:20 PM, Glen Hassell wrote: > Simply - Monodroid does support JavaScript in Native applications. Not at this time, but it will be fixed in a future release: http://bugzilla.xamarin.com/show_bug.cgi?id=382 So eventually it will be possible to expose C# code via JavaSc

Re: [mono-android] Cannot get Hello World to work...

2011-12-20 Thread Tom Opgenorth
Hmmm, interesting. I don't typically start up my emulator via the IDE, and I don't have this problem as a rule of thumb. On Tue, Dec 20, 2011 at 09:27, Jonathan Pryor wrote: > On Dec 19, 2011, at 8:05 PM, mattbrand wrote: > > Taking your advice, I got the emulator to start up correctly using th

Re: [mono-android] HTML5 vs NativeDevelopment vs C#

2011-12-20 Thread Ing. Hipolyto Obeso H
That would be great El 19/12/2011, a las 15:52, Stuart Johnson escribió: > I'm working on a Monodroid app prototype thats a bit of a hybrid of C# > and HTML5/Javascript. I'm using Monodroid to host a web control, in > which my jQuery pages run. The outer Monodroid app does all the heavy > lift

[mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
Hi, I've got a class that inherits from JavaList. It was building ok in the last version of mono for android but now with mono for android 4 it doesn't work. My class declaration is... public partial class NotifyingList : Android.Runtime.JavaList Any ideas or workarounds? Is this the same

[mono-android] SqliteTransaction

2011-12-20 Thread Venky
I'm using a device that has android v2.2 in it. Is the following code supported on it? I need sqlite3 support on it (basically database transactions). I'm badly stuck. Please help!!! using (SqliteConnection conn = new SqliteConnection("Data Source=" dbPath ";Version=3")) {

[mono-android] installing mono runtime in ics emulator

2011-12-20 Thread Wally McClure
Installing the mono runtime into the ics emulator seems to take forever, as in 10+ minutes and I am running on a macbook pro 2.3 ghz quad core 8 gigs of ram laptop. I'm running in bootcamp and win7 x64. Any idea or help to improving the process? Wally

Re: [mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread caruso
This is the true Error you dont implement all abstract methods in Your Splash Screen Activity. I had the same issue in Listadapters and hope this helps you. [E:\Work\VLM\source\MobileBullet\Droid.Container\Droid.Container.csproj] SplashScreenActivity.java(27,5): javac error : method does not

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread caruso
i used the time to drink coffee but on my working machine there were only 5 minutes to wait. I installed an image from 2.2 , 2.3 and 4.0. For that i have done nothing special but think about it. It is only the first time or do you install the Framework every day? My Feeling of improved speed was

Re: [mono-android] Bluetooth Chat sample

2011-12-20 Thread fschmidberger
Hi ChrisNTR, Yes, it works! After doing the same tweaks as I had done with the Java stuff I'm able to receive data from a heart rate monitor. Thanks again Frank -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Bluetooth-Chat-sample-tp5076608p5089955.html Sent fro

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread Wally McClure
yeah, we don't install the framework everyday, unless google keeps pushing out new versions of the sdk and emulators, which they put out very often. It just seems that what was a minute or two process before is now much longer. My concern is that there is a bug somewhere in the process of uplo

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread caruso
i deleted my post because i thought of talking about the false Emulator. But you have to copy 8MB to the Device i don't know much about the Emulator but i know he is not the fastest thing in the world. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/installing-mono

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread Wally McClure
I was just afraid that there is something else that might be causing a slowdown. Wally > Date: Tue, 20 Dec 2011 12:56:06 -0800 > From: djta...@gmx.net > To: monodroid@lists.ximian.com > Subject: Re: [mono-android] installing mono runtime in ics emulator > > i deleted my post because i though

Re: [mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
On 21/12/2011 8:56 a.m., caruso wrote: > This is the true Error you dont implement all abstract methods in Your Splash > Screen Activity. Hi, Thanks for the clue! I managed to work out that the problem was that onBackPressed() was being overridden and I was targeting a pre Android2 API (1.6 whic

Re: [mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
I should add that if I inherit from List instead of JavaList then it all compiles/packages/deploys fine. ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread Jonathan Pobst
The shared runtime has slowly gotten bigger as we added v7a and x86 support. In the future, we may have to look at shipping 3 separate runtimes so we only install 1 copy of the native libraries. Jonathan On 12/20/2011 2:43 PM, Wally McClure wrote: > yeah, we don't install the framework everyd

Re: [mono-android] installing mono runtime in ics emulator

2011-12-20 Thread Stephen Long
Yeah - it's crazy slow. I think it took more like 20+ minutes on first run with a freshly created emulator. On Tue, Dec 20, 2011 at 5:20 PM, Jonathan Pobst wrote: > The shared runtime has slowly gotten bigger as we added v7a and x86 > support. In the future, we may have to look at shipping 3 s

Re: [mono-android] Cannot get Hello World to work...

2011-12-20 Thread mattbrand
Hmm. I reinstalled the Android SDK Tools, and I now have my default partition size at 512Mb. But I'm still getting this error: Waiting for device Getting package list from device Internal error. Object reference not set to an instance of an object. I've tried this through 4.0.3 and 2.3.3. I thin

Re: [mono-android] Cannot get Hello World to work...

2011-12-20 Thread Tom Opgenorth
Just curious, you have snapshots turned on for your AVD? If so, turn them and try to start the AVD and send your app to it. On Tue, Dec 20, 2011 at 14:58, mattbrand wrote: > Hmm. I reinstalled the Android SDK Tools, and I now have my default > partition > size at 512Mb. But I'm still getting th

Re: [mono-android] SimpleCursorAdapter & Managed Query

2011-12-20 Thread Nathan Blevins
Hey Jonathan, I am still getting the same error when I try to target a 4.0 emulator. If I target anything less, it works like a charm. Any thoughts? Nathan On Mon, Dec 12, 2011 at 1:19 PM, Jonathan Pryor wrote: > On Dec 10, 2011, at 12:13 AM, Nathan Blevins wrote: > > I had simple example th

Re: [mono-android] SimpleCursorAdapter & Managed Query

2011-12-20 Thread caruso
I had the Same issue last days, but have my own Database and provider an when i add an column "_id" this works, but Bookmarks don't have an id when i read the Android description. It looks like Managed Query and Cursor need an unique column with label _id. Target in my case was 2.2 Enrico -- Vie