Download Print this page

Full Screen Display - Epson Moverio BT-200 Technical Information For Application Developer

Hide thumbs

Advertisement

2.1

Full screen display

BT-200 uses Android 4.0 Tablet UI. With this UI, Application is typically not allowed to use full screen. However,
application can use full screen with the following setting.
■In Application
Implement the following lines in each Activity onCreate().
Window win = getWindow();
WindowManager.LayoutParams winParams = win.getAttributes();
winParams.flags |= WindowManager.LayoutParams.FLAG_SMARTFULLSCREEN;
win.setAttributes(winParams);
If application has multiple activities, implement above procedure in each Activity.
■Add import definition
import android.view.Window;
import android.view.WindowManager;
To use the import function, the file must be in the SDK. Using the Google standard SDK, the following
modification is used to avoid build errors.
■Modify definition value to immediate value (for Standard SDK)
Definition:FLAG_SMARTFULLSCREEN = 0x80000000;
winParams.flags |= WindowManager.LayoutParams.FLAG_SMARTFULLSCREEN;
winParams.flags |= 0x80000000;
Moverio Technical Information (

Advertisement

loading

  Also See for Epson Moverio BT-200