-
java 在线考试系统
需要自行建数据库
- 2020-11-27下载
- 积分:1
-
android 百度地图api 示例源码
android 百度地图api 示例源码
- 2014-02-25下载
- 积分: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
-
viewpager 示例源码
viewpager 示例源码
- 2014-05-16下载
- 积分:1
-
android broadcast (广播生命周期实例)下载
android broadcast (广播生命周期实例)下载
- 2014-03-16下载
- 积分:1
-
Fragment消息的交互
package com.fragment.demo3;import android.app.Fragment;import android.os.Bundle;import android.view.LayoutInflater;import android.view.View;import android.view.ViewGroup;import android.widget.TextView;public class Fragment2 extends Fragment {private TextView text;@Overridepublic View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {View view = inflater.inflate(R.layout.fragment2, null);text = (TextView) view.findViewById(R.id.textView1);return view;}public void setText(String setText) {text.setText(setText);}}
- 2015-10-25下载
- 积分:1
-
程序员必读之软件架构
程序员必读之软件架构
- 2015-04-22下载
- 积分:1
-
android 仿qq侧滑菜单 实例源码下载
仿照qq 5.0 侧滑效果,很棒
- 2015-01-28下载
- 积分:1
-
[Java程序设计教程](源码+教案+参考答案)
【实例简介】
书名《Java程序设计教程》
书号:978-7-302-18214-6
附件中是:电子教案、实例源文件、思考练习参考答案
- 2021-08-06 00:30:58下载
- 积分:1
-
android 带翻页效果的电子杂志 附完整源码下载
电子杂志(带翻页效果)源码,效果非常逼真,想做电子书的朋友可以研究下
- 2021-04-03 22:29:04下载
- 积分:1