SOLVED
Hi guys,
To say this in more words, there is a difference in the result I get from Interact2D.reproject2D3DWS() depending on my screen status (with/without the system lines).
In the case I have full screen with full immersive, the resulting vector hits precisely under my touch
In the case I have the system trail and buttons visible, the result is like 5mm down (+y) from the actual touch point
Do you have the same problem? How do you deal with it?
Thanks for all the help,
Darai.
The solution: Something I found on stackowerflow.com
public int getStatusBarHeight() {
int result = 0;
int resourceId = getResources().getIdentifier("status_bar_height", "dimen", "android");
if (resourceId > 0) {
result = getResources().getDimensionPixelSize(resourceId);
}
return result;
}
Extracts the statusbar height from the applet R file.