FIT2081 Study Guide - Final Guide: Media Type
Document Summary
Native apps require costly developers, have access to full features. Api fragmentation happens when old devices are stuck on lower api levels and versions of android than current released versions that can affect their experience with newer apps. Support libraries can help replicate a feature in a new api level to fit an older api level. Activities are processes that run in the foreground and has a user interface. Services are (cid:271)a(cid:272)kgrou(cid:374)d pro(cid:272)esses a(cid:374)d do(cid:374)"t ha(cid:448)e a user interface. An activity intent activates another activity and carries data across activities. onsaveinstancestate and onrestoreinstancestate are call back methods that should be overridden. The oncreate method is responsible for creating the environment for the app, there are a few things it must includes: Make references for each view in the layout xml file. Restore saved data from bundle, setting instance variables. Shared preferences files are used to store persistent data so that the data still exists after the activity/process has been destroyed.