Epson BT-2000 Developers Guide - Page 22
Full screen display function - specifications
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
3.2. Full screen display function The MOVERIO Pro BT-2000 is based on Android 4.0 Tablet UI. This specification does not normally allow full display in applications in Android 4.0 Tablet UI; however, you can follow the steps below to enable full display by specifying a unique flag in the app. ■ Executing full screen in applications Execute the following process in onCreate() for each Activity. Window win = getWindow(); WindowManager.LayoutParams winParams = win.getAttributes(); winParams.flags |= WindowManager.LayoutParams.FLAG_SMARTFULLSCREEN; win.setAttributes(winParams); For apps with multiple Activitys, execute the above process for each Activity. ■ Add an import definition import android.view.Window; import android.view.WindowManager; Furthermore, since the import file itself exists in the SDK, when using the standard SDK issued by Google, the build will pass through with the following temporary support. ■ Change defined values to direct values (for standard SDK) * Defined value: FLAG_SMARTFULLSCREEN = 0x80000000; winParams.flags |= WindowManager.LayoutParams.FLAG_SMARTFULLSCREEN; ↓ winParams.flags |= 0x80000000; MOVERIO Pro Developer's Guide (Rev.1.0) 18