登录
首页 » Android » Android开发精典案例60个

Android开发精典案例60个

于 2022-07-06 发布 文件大小:18.59 MB
0 167
下载积分: 2 下载次数: 1

代码说明:

Android开发精典案例60个,内容包括 关于activity生命周期,按钮监听,列表,对话框,横竖屏切换处理, canvas画布,游戏框架,帧动画,各种形状碰撞,游戏实战,截屏,蓝牙等内容,丰富,适合安卓初学者。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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
  • listview点击刷新
    由于最近项目需要,就做了这个listview的刷新功能,一般都只是下拉刷新或者上拉加载更多,这次是点击单个item,刷新所点击的item内容,希望对大家有所帮助。如有好的建议或者意见,也希望大家指教。
    2023-05-27 04:25:09下载
    积分:1
  • android 移动PathMenu 菜单 例子源码下载
    pathmenu
    2015-04-01下载
    积分:1
  • OSAC
    发3个使用MATLAB对OFDM系统的仿真,实现了基本的流程,(Three simulation of OFDM system using MATLAB is made, and the basic flow is realized.)
    2019-03-27 19:01:51下载
    积分:1
  • ProviderInfo
    Holds information about a specific android.content.ContentProvider content provider.
    2014-05-17 23:56:15下载
    积分:1
  • android 菜单键选择背景颜色 例子
    需要将package 中的_ 去掉后 即可编译成功
    2015-05-30下载
    积分:1
  • mapView
    android的地图编辑器实例,告诉你如何写地图(android map editor instance, tell you how to write map)
    2013-07-23 09:25:56下载
    积分:1
  • android broadcast (广播生命周期实例)下载
    android broadcast (广播生命周期实例)下载
    2014-03-16下载
    积分:1
  • Apress.Android.Essentials.Jul.2008.pdf
    a android mobile documents
    2009-05-03 09:42:05下载
    积分:1
  • AndroidTheme
    Android的样式和风格案例1-ImageButton按下的弹起的效果 案例2-自定义的Activity的Theme 案例3-Activity背景模糊透明 (Android style in case 1-ImageButton the effect of pressing the up Case 2- Custom Theme Activity in the case of 3-Activity background blur transparent)
    2011-05-08 08:41:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载