Kitkat

904 views

Published on

Android KitKat featured API

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
904
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
42
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Kitkat

  1. 1. KitKat Altaf ur Rehman
  2. 2. Kitkat for - Designed for Low end device. - 512MB RAM - Reduce fragmentation.
  3. 3. Features API perspective • • Printing Framework • Screen Recording • SMS provider. • Animation pause
  4. 4. Features API perspective (Cont..) • Immersive full-screen mode. • Translucent system bar. • External Storage Access. • Drawable for RTL-layout • App Permissions • Special cases with regard to 4.4.0
  5. 5. Printing Framework - No specific printing intent. - Have to use PrintHelper,PrintDocumentAdapter. - At last programmatically create PrintPdfDocument. - Possible workaround WebView.createPrintDocumentAdapter.
  6. 6. Screen Recording • adb shell screenrecord • Can protect SurfaceView.setSecure(boolean b)//need further
  7. 7. SMS Provider Required intent filter - android.provider.Telephony.SMS_DELIVER - WAP_PUSH_DELIVER_ACTION. - android.intent.action.SENDTO. - android.intent.action.RESPOND_VIA_MESSAGE.
  8. 8. Animation Pause - Extending the functionality of Animator with pause and resume. - Beside this we also have callback such AnimatorPauseListener.
  9. 9. Immersive full-screen mode mView.setSystemUiVisibility( View.SYSTEM_UI_FLAG_IMMERSIVE);
  10. 10. Translucent System bar Child theme by extending. Theme_Holo_NoActionBar_TranslucentDecor.
  11. 11. External Storage Access • • READ_EXTERNAL_STORAGE permission for reading shared files(getExternalStoragePublicDirectory). • However in-case of app storage we don’t need any permission.(getExternalFilesDir)
  12. 12. Drawable for RTL-Layout -RTL layout introduced in ICS. -Specific drawable for RTL locale. -Can automatically be mirrored while setting. -Drawable.setAutoMirrored(boolean b) //
  13. 13. App Permissions - INSTALL_SHORTCUT - UNINSTALL_SHORTCUT
  14. 14. Special cases with regard to 4.4.0 - Expansion files https://code.google.com/p/android/issues/detail?id=61881 - ACTION_GET_CONTENT and PICK Intent (PREVIOUS)content://media/external/images/media/62 (KITKAT)content://com.android.providers.media.documents/document/image:62

×