My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 148: getRotation
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by mixalhs....@gmail.com, Nov 30, 2012
hello can anyone explain me how the method getRotation() from class Compatibility works? what it returns and how we use it.
Dec 12, 2012
#1 edwin.sc...@gmail.com
private static java.lang.reflect.Method mDefaultDisplay_getRotation

A "Pointer" to the "getRotation" method of a display if supported or null if not supported

See Also:
Display#getRotation()

The method tries to invoke the above method and will return an integer which represents the rotation. If the method does not exist (ie not supported), the method will always return 1.
Dec 13, 2012
#2 mixalhs....@gmail.com
thanks for your response.

Powered by Google Project Hosting