11.05.2011 17:24, Emanuel Moecklin пишет:
SCREENLAYOUT_SIZE_XLARGE unfortunately isn't supported before
Gingerbread so it's either using reflection or my approach (maybe
there are other solutions) to_really_ solve Droid's problem (I agree
that the nosensor approach is not the right one).
Why would you need reflection for a simple integer constant?
You can just define your own, the value is 4.
Besides, it's defined as a "static final" and so is inlined by the
compiler even if referenced by its symbolic name.
-- Kostya
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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