-
基于xmpp聊天
主要实现的功能 聊天通讯,通过注册账号登陆用户,可以添加好友,一对一聊天、群聊、创建群、图片、文件发送。需要配置好openfire 服务器即可使用。
- 2022-09-30 20:20:11下载
- 积分:1
-
数据库
demo,里面有一个utils,其他东西就没有多少了,utils进行了增删改查等操作,可以看看,没有了,对了是基于orm数据库的
- 2022-01-23 10:38:32下载
- 积分:1
-
远程视频监控
【核心代码】 public interface CameraSource { static final String LOG_TAG = "camera"; /** * Open the camera source for subsequent use via calls to capture(). * * @return true if the camera source was successfully opened. */ boolean open(); /** * Close the camera source. Calling close on a closed CameraSource is * permitted but has no effect. The camera source may be reopened after * being closed. */ void close(); /** * The width of the captured image. * * @return the width of the capture in pixels */ int getWidth(); /** * The height of the captured image. * * @return the height of the capture in pixels */ int getHeight(); /** * Attempts to render the current camera view onto the supplied canvas. * The capture will be rendered into the rectangle (0,0,width,height). * Outstanding transformations on the canvas may alter this. * * @param canvas the canvas to which the captured pixel data will be written * @return true iff a frame was successfully written to the canvas */ boolean capture(Canvas canvas); boolean saveImage(String savePath, String fileName); }
- 2013-12-04下载
- 积分:1
-
16444891
对调制解调器的经典编程,具有较好的研究价值!()
- 2018-04-21 20:18:19下载
- 积分:1
-
简单网络视频播放
简单网络视频播放
- 2013-07-13下载
- 积分:1
-
Android 手势监听和图片放大缩小功能实例
Android 手势监听和图片放大缩小功能实例,安卓手机系统控制实例。关键代码分享如下:
ImageView myImageView = (ImageView) v;
switch (event.getAction() & MotionEvent.ACTION_MASK) {
// 设置拖拉模式
case MotionEvent.ACTION_DOWN:
matrix.set(myImageView.getImageMatrix());
savedMatrix.set(matrix);
start.set(event.getX(), event.getY());
mode = DRAG;
break;
case MotionEvent.ACTION_UP:
case MotionEvent.ACTION_POINTER_UP:
mode = NONE;
break;
case MotionEvent.ACTION_POINTER_DOWN:
oldDist = spacing(event);
if (oldDist > 10f) {
savedMatrix.set(matrix);
midPoint(mid, event);
mode = ZOOM;
}
// 若为DRAG模式,则点击移动图片
case MotionEvent.ACTION_MOVE:
if (mode == DRAG) {
matrix.set(savedMatrix);
matrix.postTranslate(event.getX() - start.x, event.getY()
- start.y);
} // 若为ZOOM模式,则点击触摸缩放
else if (mode == ZOOM) {
float newDist = spacing(event);
if (newDist > 10f) {
matrix.set(savedMatrix);
float scale = newDist / oldDist;
// 设置缩放比例和图片的中点位置
matrix.post
- 2022-04-20 06:24:10下载
- 积分:1
-
扫描二维码,完美支持适配方案
可用的二维码扫描demo。还包括本地扫描。完美解决部分机型扫描框适配问题以及横屏问题。
- 2023-07-27 02:35:03下载
- 积分:1
-
android相册系统(Matrix实现)
JavaApk汒隴ㄩ :
1) 掛桴祥悵痐垀枑鼎璃麼最唗腔俇淕俶睿假俶﹝
2) 蛌婥掛桴枑鼎腔訧埭昦刉壺掛佽隴恅璃﹝
3) 掛桴埭鎢峈厙奻刲摩麼厙衭枑鼎ㄛ彆扡摯麼漲善蠟腔唳ㄛ蕾撈籵眭扂蠅﹝
4) 掛桴枑鼎轎煤測鎢硐褫鼎旃噶悝炾妏蚚ㄛ昦蚚衾妀珛蚚芴蚕森竘珨綴彆迵掛桴拸壽﹝
5) 妀珛埭鎢婓埭鎢忨毓峓囀輛俴妏蚚ㄐ
- 2022-03-01 03:07:26下载
- 积分:1
-
水果连连看
一款连连看的游戏,闲暇时分娱乐消遣,游戏说明,通过一根线两个相同的水果链接起来就可以消除点,简单易上手!
- 2022-07-15 10:35:30下载
- 积分:1
-
listview 下拉刷新 android示例源码下载
listview 下拉刷新 android示例源码下载
- 2014-04-13下载
- 积分:1