Android Things support Library • Permissions are free (reboot required for dangerous ones) • Google play services: ◦ Firebase ▪ Realtime database ▪ Cloud messaging ▪ Etc ◦ Google cloud platform ◦ Google cloud IoT ◦ ...
Full screen display (no status bar, notifications or navigation buttons) • Sign-In • System apps (Calendar, Telephony, Settings..) • Display is optional
contains the following: • bootanimation.zip: Boot animation located in the root directory • <user-space driver>.apk:User-space driver as a service (action=BOOT_COMPLETED) • <main>.apk: (Required) The apk for the main entry point (action=MAIN, category=IOT_LAUNCHER) • <sub>.apk:One of any number of apks that is launched by the main apk
update. • POLICY_APPLY_ONLY - Download and apply an available update. • POLICY_APPLY_AND_REBOOT - Download and apply an available update. Reboot the device automatically. This is the default policy.
{ private val HOME = "home" } override fun onCreate(savedInstanceState: Bundle?) { val firebaseAuth = FirebaseAuth.getInstance() val reference = FirebaseDatabase .getInstance() .reference .child(HOME) ... }