-
安卓图书馆框架
安卓图书馆框架,主要由欢迎界面,登陆页面,注册页面,广场界面,以及用户界面的Demo。
- 2022-03-23 21:10:15下载
- 积分:1
-
android surfaceview制作抽奖大转盘
surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘surfaceview制作抽奖大转盘
- 2023-05-26 08:00:03下载
- 积分:1
-
android listview 示例 附源码
listview 基本用法
- 2013-02-28下载
- 积分: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 图片浏览器 源码下载
android 图片浏览器 源码下载
- 2015-01-08下载
- 积分:1
-
viewflow
安卓滑动界面实现左右滑动,自定义viewgroup(Andrews sliding interface sliding around, custom viewgroup)
- 2013-03-15 17:23:10下载
- 积分:1
-
Android 演示Socket通信的例子 包括了服务器端代码
Android 演示Socket通信的例子 包括了服务器端、客户端代码,以及测试的主程序。在本实例中,演示了采用两种方法实现添加线程,演示了Socket通信的建立方法,在客户端中连接到本机的端口号是5500,测试将数据输入流、输出流连接到socket,在输入测试时,输入半径数值发送到服务器,输入bye结束,程序会反复读用户数据并计算,服务端线程将监听是否有客户端连接到服务器了。
注意两种按键监听的写法,一种需要执行OnClickListener接口,btnOut.setOnClickListener(this);并且重写 @Override,另一种是:rev.setOnClickListener(new receiverlistenr());需要写内部类:class receiverlistenr implements OnClickListener。控件的设置不能在子线程中操作,需要在主线程中。
- 2022-06-19 12:32:46下载
- 积分:1
-
Android BufferedReader
- 2023-08-22 06:30:03下载
- 积分:1
-
Android客户端解析
本例适合初学者,是android客户端解析web端传过来的数据,这只是android客户端的。下一次上传javaweb端的源码。
- 2022-06-27 12:34:02下载
- 积分:1
-
IP拨号器
IP拨号器
- 2023-05-02 06:05:04下载
- 积分:1