dragon thx.
ok . i add native file with code
import android.view.View;
class decore {
Void setdecore() {
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
}
}
and get this error :
-compile:
[javac] Compiling 3 source files to C:\MyProjects\MyGameProjects\myFontTest\myFontTest.build\android\bin\classes
[javac] C:\MyProjects\MyGameProjects\myFontTest\myFontTest.build\android\src\com\monkeycoder\monkeygame\MonkeyGame.java:2757: error: cannot find symbol
[javac] View decorView = getWindow().getDecorView();
[javac] ^
[javac] symbol: method getWindow()
[javac] location: class decore
[javac] C:\MyProjects\MyGameProjects\myFontTest\myFontTest.build\android\src\com\monkeycoder\monkeygame\MonkeyGame.java:2758: error: cannot find symbol
[javac] int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN;
[javac] ^
[javac] symbol: variable SYSTEM_UI_FLAG_FULLSCREEN
[javac] location: class View
[javac] Note: C:\MyProjects\MyGameProjects\myFontTest\myFontTest.build\android\src\com\monkeycoder\monkeygame\MonkeyGame.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
any suggestions are welcome
|