Re: [mono-android] SQLite Close

2011-08-27 Thread was
Can anyone comment on this? I'm not sure which minimum Android OS version to target at the moment: 2.1 or 2.2. If I could find out which sqlite functionality was added in 2.2, that would help. Thanks. Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com

Re: [mono-android] How to change shapes color dynamically?

2011-08-27 Thread Jonathan Pryor
On Aug 26, 2011, at 5:12 PM, chobo2 wrote: > Sorry I am still confused. How do I take a shape and change it's color threw > code? You should be able to use the code previously discussed, except use a GradientDrawable instead of a ShapeDrawable, e.g.: var bgShape = (GradientDrawable) Re

Re: [mono-android] DataContractJsonSerializer on MonoDroid

2011-08-27 Thread Jonathan Pryor
On Aug 26, 2011, at 10:27 PM, Nick Randolph wrote: > Does anyone have a sample of this that works. I don't have a sample, but I think I know the problem you're seeing. You cannot currently use DataContractJsonSerializer with types inheriting (directly or indirectly) from Java.Lang.Object, becaus

Re: [mono-android] Adding an Audio file

2011-08-27 Thread Jonathan Pryor
On Aug 26, 2011, at 7:10 PM, shaked949 wrote: > I know how to create button .. > but I don't know How to set an actions after the button is selected... > if you have some links with methods.. (like when I press the button , new > "page" is opened..or when i press the button ...the user can fill in

Re: [mono-android] SQLite Close

2011-08-27 Thread Jonathan Pryor
On Aug 27, 2011, at 5:29 AM, was wrote: > Can anyone comment on this? I'm not sure which minimum Android OS version to > target at the moment: 2.1 or 2.2. If I could find out which sqlite > functionality was added in 2.2, that would help. Thanks. The functionality needed to use Mono.Data.Sqlite wa

Re: [mono-android] SQLite Close

2011-08-27 Thread gabriel.b...@gmail.com
So if I use Sqlite I need to target at least Andoird v2.2 2011/8/27 Jonathan Pryor > On Aug 27, 2011, at 5:29 AM, was wrote: > > Can anyone comment on this? I'm not sure which minimum Android OS version > to > > target at the moment: 2.1 or 2.2. If I could find out which sqlite > > functionality

Re: [mono-android] SQLite Close

2011-08-27 Thread was
Works fine on my 2.1 device although Close() doesn't work as you found; I just leave the connection open while the app is running as I access different tables in the db all the time. However, I guess there may be other SQLite functions which don't work in 2.1, but the basic ones I use to open, read

[mono-android] Could not create the Android package

2011-08-27 Thread Stuart Johnson
I have been working fine all day, testing my application on the emulator. I added a some new activities, icons, and re-factored some code, all of which build fine, yet now I can no longer create an android package. I have tried deleting the obj folder, restarting the emulator, restarting the

Re: [mono-android] Could not create the Android package

2011-08-27 Thread Greg Shackles
Tough to say exactly what's wrong from that log, but my guess is that it's related to your application's resources. You mentioned adding icons, so I'd suggest removing those (or maybe any other resources you added) from the project and see if packaging works again. - Greg On Sat, Aug 27, 2011 at

Re: [mono-android] Could not create the Android package

2011-08-27 Thread Stuart Johnson
I have removed everything I can think of that I have added. I changed the case of some objects, could that be it? I noticed that if I change the filename case of something in the resourses folder, it fails to change in the Resource.Designer file unless I change the name too. On 27/08/11 17: