-
远程视频监控
【核心代码】 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
-
View增加红色数字角标
该项目提供了一种简便的方式,能够在运行期对任意给定的Android view添加徽章, 而不必配合它的布局。可添加的标签包括但不限于右上角的红色数字提醒角标
- 2017-02-09下载
- 积分:1
-
android 4.4 通过拍照、相册 设置头像实例源码下载(亲测通过)
该实例成功解决了 android 4.4 系统 选择照片后 截图失败问题,这是路径取值问题, 详细看代码吧
- 2015-02-13下载
- 积分:1
-
欢迎页
一个简单的引导页面实现
- 2015-01-22下载
- 积分:1
-
fragment实现tab代码
fragment实现tab代码
- 2014-05-23下载
- 积分:1
-
android 录制视频实例 VideoRecordDemo
android 录制视频实例 VideoRecordDemo
- 2015-02-05下载
- 积分:1
-
android 自定义 popupwindow 实例源码下载
android 自定义 popupwindow 实例源码下载
- 2014-11-18下载
- 积分:1
-
本地视频录制,自动对焦,焦距,分辨率设置
本地视频录制,自动对焦,焦距,分辨率设置
- 2014-12-15下载
- 积分:1
-
android 自定义listview 例子源码下载(SlideView)
通过自定义listview 实现
- 2015-04-22下载
- 积分:1
-
Android下使用Sqlite 增删改查功能,含数据库操作类【附源码】
每个应用程序都要使用数据,Android应用程序也不例外,Android使用开源的、与操作系统无关的SQL数据库 --大名鼎鼎的SQLite。SQLite是一款轻量级数据库,它的设计目的是嵌入式,而且它占用的资源非常少,在嵌入式设备中,可能只需要几百KB,这也是 Android 系统采用 SQLite 数据库的原因之一吧。简介轻量级使用 SQLite 只需要带一个动态库,就可以享受它的全部功能,而且那个动态库的尺寸想当小。独立性SQLite 数据库的核心引擎不需要依赖第三方软件,也不需要所谓的“安装”。隔离性SQLite 数据库中所有的信息(比如表、视图、触发器等)都包含在一个文件夹内,方便管理和维护。跨平台SQLite 目前支持大部分操作系统,不至电脑操作系统更在众多的手机系统也是能够运行,比如:Android。多语言接口SQLite 数据库支持多语言编程接口。安全性SQLite 数据库通过数据库级上的独占性和共享锁来实现独立事务处理。这意味着多个进程可以在同一时间从同一数据库读取数据,但只能有一个可以写入数据。
- 2013-02-23下载
- 积分:1