-
android AppWidgetExample(AppWidget示例)源码
android AppWidgetExample(AppWidget示例)源码
- 2014-03-16下载
- 积分:1
-
android 后台发送邮件实例源码下载
该实例用的是android下使用qq邮箱在后台发送Email
- 2013-10-23下载
- 积分:1
-
android高仿美食天下源码
android高仿美食天下源码
- 2015-06-09下载
- 积分: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
-
android 自定义 popupwindow 实例源码下载
android 自定义 popupwindow 实例源码下载
- 2014-11-18下载
- 积分:1
-
android 视频录制 例子源码
录像例子
- 2014-11-21下载
- 积分:1
-
android 实现圆形菜单
private void computeCoordinates() { BigStone stone; BigStone menus; for (int index = 0; index < STONE_COUNT; index ) { stone = mStones[index]; stone.x = mPointX (float) (mRadius * Math.cos(stone.angle * Math.PI / 180)); stone.y = mPointY (float) (mRadius * Math.sin(stone.angle * Math.PI / 180)); } if (flag == 0) { for (int i = 0; i < MENUS; i ) { menus = mMenus[i]; switch (i) { case 0: menus.x = 300 * 1.8f; menus.y = 50; break; case 1: menus.x = 300 * 1.8f 100; menus.y = 50; break; case 2: menus.x = 300 * 1.8f 200; menus.y = 50; break; case 3: menus.x = 300 * 1.8f; menus.y = 150; break; case 4: menus.x = 300 * 1.8f 10 100; menus.y = 250; break; } } } }
- 2014-06-22下载
- 积分:1
-
android 一键配置WIFI模块 源码
WIFI模块转串口 一键配置
- 2015-06-03下载
- 积分:1
-
3-PSS并联机器人可达工作空间绘制的MATLAB程序
自己做的3-PSS并联机器人可达工作空间绘制的MATLAB程序,workspace_main.m为主程序,在MATLAB中进入解压缩后的文件夹并运行workspace_main即可完成绘图。另外Trirspace.m为3-RRR平面并联机器人可达工作空间的绘图程序,调用方法相同。
- 2020-05-26下载
- 积分:1
-
android 上传视频文件实例,含服务器源码下载
android 上传视频文件实例,含服务器源码下载
- 2013-07-18下载
- 积分:1