-
bms(终版)
实现WIFI环境下的以太网通信,在手机上监控BMS的运行参数(Realize the Ethernet communication in WIFI environment, monitor the operation parameters of BMS on the mobile phone)
- 2017-11-23 13:17:13下载
- 积分: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
-
c-jni-java
C中通过JNI调用java对象接口,也有java调用c接口,是在Android开发环境中运行的(C through JNI call java object interface)
- 2013-08-23 10:00:37下载
- 积分:1
-
android_shopnc_local_life
一个android写的本地生活商店程序,欢迎下载(android local life shop)
- 2016-07-10 17:12:16下载
- 积分:1
-
andriod
有关于安卓的景物实例,主要介绍旅游景点的浏览页面。(There are examples on the scene Andrews)
- 2020-12-27 16:59:03下载
- 积分:1
-
CreatePulleyJoint
滑轮关节,Android开发精典案例源码,很好的参考资料。(The pulley joint, Android development of classical case of source code, a good reference.)
- 2013-11-12 00:14:46下载
- 积分:1
-
android 小米文件管理器 实例源码下载
android 小米文件管理器 实例源码下载
- 2014-06-06下载
- 积分:1
-
android播放IPCamera的rtsp连接
vlc-android播放网络视频成功
- 2014-10-18下载
- 积分:1
-
MIUISoundRecorder
android小米录音机源码,可以直接运行的,非常不错。(MIUI recorder android source)
- 2013-11-23 22:27:51下载
- 积分:1
-
android 实现后台service持续运行,并且唤醒之后进入自定义界面 例子
安装之后就能不断的唤醒,实现后台service持续运行,并且唤醒之后进入自定义界面
- 2014-09-19下载
- 积分:1