日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Android >内容正文

Android

android 基础培训ppt,Android基础之内部培训.ppt

發布時間:2023/12/20 Android 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android 基础培训ppt,Android基础之内部培训.ppt 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Android基礎之內部培訓

May 30, 2007 V2.0 Android Study Agenda Building Blocks Application Model UI IPC Security Q&A Building Blocks What an application would do Display UI Let user navigate from one UI to another Provide services Act due to cared events Store, retrieve, share data What does android provide Activity Service Intents Broadcast Receiver Notification Content Provider Manifest file Activity What does an activity do ? Display A single screen of your application Respond for events How to move to another screen ? start a new activity How is the previous screen(activity) ? Paused and put onto a history stack History stack Android retains history stacks for each application launched from the home screen. Allow user to navigate through screens back and forth smoothly Activity key methods public void startActivity(Intent intent); protected void onCreate(Bundle savedInstanceState); //restart and restore activity to previous state here protected void onStart(); protected void onResume(); protected void onPause(); //persistent data should be write here protected void onStop(); protected void onDestroy(); protected void onSaveInstanceState(Bundle outState); Activity lifecycle Entire lifecycle onCreate onDestroy Visible lifecycle onStart onStop Foreground lifecycle onResume onPause Service What is service Code that is long-lived and runs without a UI E.g. playing music in the background How to start a service Start service Bind service (RPC) Intent A request to do something ACTION_VIEW content://contacts/1 -- Display information about the person whose identifier is "1". ACTION_DIAL content://contacts/1 -- Display the phone dialer with the person filled in. ACTION_EDIT content://contacts/1 -- Edit information about the person whose identifier is "1". Typically used as inputs for below methods startActivity sendBroadcast startService bindService Intent resolution “Apps are equal” Any app on the mobile device can be replaced or extended -- even core compon

總結

以上是生活随笔為你收集整理的android 基础培训ppt,Android基础之内部培训.ppt的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。