-
防盗
防盗
- 2013-07-03下载
- 积分:1
-
android 白天黑夜模式切换例子源码
android 白天黑夜模式切换例子源码
- 2014-09-28下载
- 积分:1
-
天气预报app
一个天气预报app,可以方便的查询全国各个城市的天气情况,让您出行无忧。
- 2022-03-11 22:45:25下载
- 积分:1
-
android 各种常用对话框(dialog) 实例源码下载
android 各种常用对话框(dialog) 实例源码下载
- 2015-02-03下载
- 积分:1
-
Matrix_ScaleToFitTest
Android Test Case for Andriod.
- 2014-03-15 23:02:55下载
- 积分:1
-
android 异步 执行 任务 例子 附讲解
Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(), objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute() doInBackground() onProgressUpdate() onPostExecute() onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else { //continue... } See this Image For more Clear.
- 2013-07-05下载
- 积分:1
-
FlowLayout
说明: 流失标签,用于搜索推荐,可定义点击状态,用于搜索推荐,可定义点击状态(Lost tags, used for search recommendation, can define click status, used for search recommendation, can define click status)
- 2020-06-21 22:20:02下载
- 积分:1
-
android 日食
本程序以简洁的风格实现了日食简单功能,从代码实现来说是基本的java编程,对于初学者也易于理解和从中学到一些知识,是一个很不错的初始代码,具有开发的价值,新手可以试着自己做一下自己的一个小的app,是一个不错的可开发的简易应用。
- 2022-01-22 11:55:20下载
- 积分:1
-
16444891
对调制解调器的经典编程,具有较好的研究价值!()
- 2018-04-21 20:18:19下载
- 积分:1
-
android
android开发相关文档,android学习基础文档、界面切换效果总结(the book of android)
- 2013-09-09 08:37:24下载
- 积分:1