-
linux网络编程源码
linux网络编程源码
- 2021-07-22 00:33:45下载
- 积分:1
-
android蓝牙与设备通信
资源描述package com.capitalbio.bluetoothlibs;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.Stack;
import java.util.TreeSet;
import java.util.UUID;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.os.Handler;
import android.text.TextUtils;
import android.util.Log;
public class BluetoothService {
private String TAG = "BluetoothService";
private UUID mUUID = UUID
.fromString("00001101-0000-1000-8000-00805F9B34FB");
// .fromString("00001000-000
- 2023-06-26 10:20:04下载
- 积分:1
-
NavigationDrawer 使用 ExpandableList
在Android自带的NavigationDrawer代码下,假如ExpandableList,使之能实现更多功能。
- 2022-05-14 13:27:24下载
- 积分:1
-
Android仿微信长按录制小视频功能
Android仿微信长按录制小视频功能,关于功能,大家都了解,这里主要是说实现这一功能需要用到的一些方法,比如视频播放控件的调用和定义、计时器的使用、使用摄像头、初始化摄像头(横屏和竖屏的切换)、设置进度条、视频录制的控制(开始录制、停止录制等)、录制完成回调接口等功能,在代码的MovieRecorderView.java文件中,有具体的实现代码,欢迎下载源码查看。
- 2022-01-27 22:03:10下载
- 积分: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
-
Getting Started with the actual combat android development, recently many of my...
android开发入门与实战,近来很多朋友想在网上找相关的代码资料,我就买了此书并上传相关代码资料,希望我们多学习。-Getting Started with the actual combat android development, recently many of my friends want to find the relevant code for online information, I bought the book and upload the relevant code information, would like us to learn more.
- 2022-07-21 09:45:58下载
- 积分:1
-
LocationMap
一个简单的地图位置定位android应用,在这个基础上可以再通过GPS来获取定位信息(A simple map positioning android applications, on this basis could be obtained by GPS positioning information
)
- 2014-06-02 15:48:49下载
- 积分:1
-
example in eclipse
这是一个源代码,供那些想在eclipse中学习basic的人使用。这是一个很好的例子。导入后,此应用程序可以运行配置。但请注意图书馆。
- 2022-02-13 22:43:52下载
- 积分:1
-
drawBitmap
android应用程序开发示例:画图+图片处理(Android application development example: Drawing)
- 2016-08-29 15:24:14下载
- 积分:1
-
android 图片搜索 例子源码下载
android 图片搜索 例子源码下载
- 2014-11-24下载
- 积分:1