Try using it in eclipse. Using the 1.1 SDK I get the following error;

android.os.Build.VERSION cannot be resolved

Al.


---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Stoyan Damov
Sent: 03 April 2009 11:59
To: [email protected]
Subject: [android-developers] Re: Determining the firmware version


What??? android.os.Build is not part of the public API???
Why can I see it here then?

http://developer.android.com/reference/android/os/Build.VERSION.html

On Fri, Apr 3, 2009 at 1:20 PM, Al Sutton <[email protected]> wrote:
>
> Is there any way to determine the version of Android that an app is 
> running on?
>
> The reason being my latest idea was to turn off my on-screen keypad 
> when running on cupcake. The problem is the firmware version shown on 
> the about screen comes from android.os.Build.VERSION which appears to 
> be a private API.
>
> Does anyone know anywhere else it can be obtained from in an approved 
> manner?
>
> Al.
>
> ---
>
> * Written an Android App? - List it at http://andappstore.com/ *
>
> ======
> Funky Android Limited is registered in England & Wales with the 
> company number  6741909. The registered head office is Kemp House, 
> 152-160 City Road, London,  EC1V 2NX, UK.
>
> The views expressed in this email are those of the author and not 
> necessarily those of Funky Android Limited, it's associates, or it's 
> subsidiaries.
>
>
>
> >
>




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to