Re: [mono-android] SetBackGroundColor, SetTextColor

2012-07-19 Thread Martyn Wendon
...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 19 July 2012 15:22 To: Discussions related to Mono for Android Subject: Re: [mono-android] SetBackGroundColor, SetTextColor On Jul 19, 2012, at 5:37 AM, Martyn Wendon wrote: > Just upgraded to the latest stable and found that previous working co

[mono-android] SetBackGroundColor, SetTextColor

2012-07-19 Thread Martyn Wendon
Just upgraded to the latest stable and found that previous working color setting seems to be broken: int colour = Color.Argb(200, 50, 100, 150); SomeLayout.SetBackgroundColor(colour); SomeTextView.SetTextColor(colour); Above give "Cannont convert from 'int' to 'Android.Graphics.Colo

Re: [mono-android] Automatic activity start

2011-12-18 Thread Martyn Wendon
matic activity start On Dec 16, 2011, at 5:24 AM, Martyn Wendon wrote: > So we're working on reducing application load time at the moment What device are you running this on? Unless you're providing a custom Application type and doing a ton of work within Application.OnCreate

Re: [mono-android] Automatic activity start

2011-12-16 Thread Martyn Wendon
To: monodroid@lists.ximian.com Subject: Re: [mono-android] Automatic activity start Have you tried using Android.Content.Intent.CategoryHome instead of Android.Content.Intent.CategoryDefault ? Martyn Wendon wrote > > -Original Message- > From: monodroid-bounces@.ximian >

Re: [mono-android] Automatic activity start

2011-12-15 Thread Martyn Wendon
athan Pryor Sent: 15 December 2011 17:03 To: Discussions related to Mono for Android Subject: Re: [mono-android] Automatic activity start On Dec 15, 2011, at 11:54 AM, Martyn Wendon wrote: > Can anybody see any problem with the following? > > [Broa

[mono-android] Automatic activity start

2011-12-15 Thread Martyn Wendon
Can anybody see any problem with the following? [BroadcastReceiver] [IntentFilter(new[] { Android.Content.Intent.ActionBootCompleted }, Categories = new[] { Android.Content.Intent.CategoryDefault } )] public class BootReceiver : BroadcastReceiver {

Re: [mono-android] waiting for result from runonuithread

2011-11-22 Thread Martyn Wendon
Thanks, that works perfectly! Martyn From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Tossing, Chris Sent: 17 November 2011 13:27 To: Discussions related to Mono for Android Subject: Re: [mono-android] waiting for result from runonuithread

[mono-android] waiting for result from runonuithread

2011-11-17 Thread Martyn Wendon
I have a background thread that occasionally does something with Views, so I have this executing using runonuithread like so: bool success = false; RunOnUiThread(() => success = ExecuteRemoteCommand(command, parameter)); I need to wait for the result from the ExecuteRemoteCommand before

Re: [mono-android] Zip / Unzip

2011-11-10 Thread Martyn Wendon
, 2011 at 11:57, Martyn Wendon wrote: Hi All, Can anybody point me in the direction of some sample code to zip / unzip a file in monodroid? In my application I'm downloading .zip files from the internet and need to unzip them into the file sys

[mono-android] Zip / Unzip

2011-11-09 Thread Martyn Wendon
Hi All, Can anybody point me in the direction of some sample code to zip / unzip a file in monodroid? In my application I'm downloading .zip files from the internet and need to unzip them into the file system (externalstorage). Downloading etc is all working fine, but I'm stumped as to

Re: [mono-android] Extending TextView

2011-09-16 Thread Martyn Wendon
1 22:26 To: Discussions related to Mono for Android Subject: Re: [mono-android] Extending TextView On Sep 15, 2011, at 7:52 AM, Martyn Wendon wrote: > I think that this turned out to be an incorrect (?) use of the "using" statement. I believe you are correct. > What I

Re: [mono-android] Extending TextView

2011-09-15 Thread Martyn Wendon
..@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 14 September 2011 20:53 To: Discussions related to Mono for Android Subject: Re: [mono-android] Extending TextView On Sep 13, 2011, at 6:32 AM, Martyn Wendon wrote: > I'm probably doing somet

[mono-android] Extending TextView

2011-09-13 Thread Martyn Wendon
Morning all, I'm probably doing something silly, but I can't seem to get the following code to work. I'm extending the TextView Class to make rotatable text. public class RotatingTextView : TextView { private int _RotationDegrees; private int _RotationPointX;