пʼятницю, 8 листопада 2013 р.

Android 4.4 KitKat innovative features

Очікуване оновлення Андроїду до версії 4.4, що отримала назву KitKat, виявилось далеко не таким "косметичним, як очікувалося. Багато цікавих фіч, корисних і не дуже, вже можна тестувати на Google Nexus 5, що поступив до продажу. Нижче - короткий опис основних змін з огляду розробника (буде оновлюватися по мірі обробки)

Transitions framework for animating scenes
Key feature: separate layout for every distinct state of UI
Options:
create Scene object / call  beginDelayedTransition() (to specify the ViewGroup and end-result layout)
use the TransitionManager to specify the type of the transition and execute it.
Result:
 animate changes to UI on the fly without scenes defining;

easy calling  the transitions

System Optimization
Key feature: streamlining of major components to reduce memory usage 
Options:
Dalvik JIT code cache tuning
kernel samepage merging 
swaping to zRAM
tuning out-of-memory levels for processes
setting graphics cache sizes
controlling memory reclaim
core system processes are trimmed to use less heap
Result:
stable work on low-memory devices (even with 512 MB Operative Me