[Monodroid] Deprecated APIs in 2.2

Jonathan Pryor jpryor at novell.com
Thu Mar 3 09:20:39 EST 2011


On Mar 3, 2011, at 8:26 AM, Konaju Games (Dev) wrote:
> If MonoDroid requires Android 2.2 (Level 8) or higher

It doesn't; MonoDroid requires Android 1.6 (Level 4) or higher.

However, there is one Mono.Android.dll per API level, and you specify the API level you're targeting within the Project Properties (Applications tab -> Minimum Android to target drop-down).

> , should APIs introduced in 2.2 be supported?

Yes, they should be, if you're using the appropriate Mono.Android.dll (see above).

> I wish to use Display.Rotation (android.view.Display.getRotation()), but we only have the deprecated Display.Orientation (getOrientation()) supported in MonoDroid.

You mean this Display.Rotation property?

	http://docs.monodroid.net/index.aspx?link=P:Android.Views.Display.Rotation

 - Jon



More information about the Monodroid mailing list