-
远程视频监控
【核心代码】 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
-
仿电商前台系统
【实例简介】仿电商前台系统
:若有疑问,可以先访问服务器中的半成品项目:http://121.40.92.4:8080/MI_Front/ ;因为后面还完善了购物车,订单等功能,没有部署到服务器,初始账号:123456;密码:123
- 2021-12-06 00:38:59下载
- 积分:1
-
Android文件上传例子 含服务器端源码
Android文件上传 源码
- 2013-06-28下载
- 积分:1
-
android 发送接收短信例子源码
android 发送接收短信例子源码
- 2014-12-23下载
- 积分:1
-
android常用操作:sdcard的读取和写入 实例 附完整源码
首先如果要在程序中使用sdcard进行存储,我们必须要在AndroidManifset.xml文件进行下面的权限设置: 在AndroidManifest.xml中加入访问SDCard的权限如下: 接着我们在使用SDcard进行读写的时候 会用到Environment类下面的几个静态方法 1: getDataDirectory() 获取到Androi中的data数据目录 2:getDownloadCacheDirectory() 获取到下载的缓存目录 3:getExternalStorageDirectory() 获取到外部存储的目录 一般指SDcard 4:getExternalStorageState() 获取外部设置的当前状态 一般指SDcard, android系统中对于外部设置的状态,我们比较常用的应该是 MEDIA_MOUNTED(SDcard存在并且可以进行读写) MEDIA_MOUNTED_READ_ONLY (SDcard存在,只可以进行读操作) 当然还有其他的一些状态,可以在文档中进行查找到 5:getRootDirectory() 获取到Android Root路径 6:isExternalStorageEmulated() 返回Boolean值判断外部设置是否有效 7:isExternalStorageRemovable() 返回Boolean值,判断外部设置是否可以移除
- 2013-05-27下载
- 积分:1
-
Android滑动式菜单
实现类似 Facebook 、Path 2.0 、网易客户端类似的滑动式菜单的组件
- 2013-11-21下载
- 积分:1
-
android 动态添加listview的item及删除
android 动态添加listview的item及删除
- 2014-06-16下载
- 积分:1
-
android 自定义radiogroup实现源码下载 - 自定义radiobutton篇
在原生态radiogroup基础上 实现了 自定义 radiogroup
- 2015-04-14下载
- 积分:1
-
android仿qq空间发布(从相册选照片) 实例源码下载
android仿qq空间发布(从相册选照片) 实例源码下载
- 2015-04-02下载
- 积分:1
-
android 设置头像、裁剪头像(从相册和拍照裁剪)实例源码下载
android 设置头像、裁剪头像(从相册和拍照裁剪)实例源码下载
- 2015-02-06下载
- 积分:1