android Kiosk mode/ usb serial for android library
catecory android.name="android.intent.category.HOME
catecory android.name="RUN_AT_BOOT"
catecory android.name="android.intent.category.DEFAULT
device/lge/hammerhead/aesop_hammerhead.mk
#disable the navigation bar
PRODUCT_PROPERTY_OVERIDES += qemu.hw.mainkeys=1
public void disableNotifiationBar~~~~
frameworks.base/packages/SystemUI/src/com/android/systemui/BattertMeterView.java
android usb_serial for android
https://github.com/mik3y/usb-serial-for-android
I need to check if the option "Install apps from unknown sources" is enabled or disabled.
Whether applications can be installed for this user via the system's ACTION_INSTALL_PACKAGE
mechanism.
1 = permit app installation via the system package installer intent
0 = do not allow use of the package installer
INSTALL_NON_MARKET_APPS
boolean unknownSource = false;
if (Build.VERSION.SDK_INT < 3) {
unknownSource = Settings.System.getInt(getContentResolver(), Settings.System.INSTALL_NON_MARKET_APPS, 0) == 1;
}
else if (Build.VERSION.SDK_INT < 17) {
unknownSource = Settings.Secure.getInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 0) == 1;
} else {
unknownSource = Settings.Global.getInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 0) == 1;
}
'Android' 카테고리의 다른 글
Perl 5.18에서 Switch.pm 제거로 발생하는 문제 (0) | 2015.06.16 |
---|---|
Explore Android Video Encoding (0) | 2015.04.27 |
Andriod IPC: Shared Memory with ashmem, MemoryFile and Binder (0) | 2015.04.27 |