There is an class android.os.Build that got static variables cointaining device info, but when i try to access it I allways get a runtime exception.
E.x on how I try to access it:
String model = Build.MODEL;
I always get an Exception like this:
04-14 14:57:45.266: ERROR/AndroidRuntime(770): java.lang.VerifyError: com.mypackage.Main
I cant find any info about needing any special security permission on this.
Anyone got a clue?