• 大小: 0.11M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 标签: 视频  

资源简介

【核心代码】

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);
 
}

资源截图

代码片段和文件信息

/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package com.xmobileapp.cammonitor;

public final class R {
    public static final class attr {
    }
    public static final class drawable {
        public static final int icon=0x7f020000;
    }
    public static final class id {
        public static final int BtnCancle=0x7f050017;
        public static final int BtnConnect=0x7f050019;
        public static final int BtnDelete=0x7f05001d;
        public static final int BtnModify=0x7f05001c;
        public static final int BtnNew=0x7f05001b;
        public static final int BtnSave=0x7f050016;
        public static final int BtnTest=0x7

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        280  2009-08-13 14:51  CamMonitor\.classpath

     文件        846  2009-08-13 14:50  CamMonitor\.project

     文件        834  2009-08-15 15:31  CamMonitor\AndroidManifest.xml

     文件      31999  2009-09-02 22:28  CamMonitor\bin\CamMonitor.apk

     文件      37056  2009-09-02 22:28  CamMonitor\bin\classes.dex

     文件       1878  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$1.class

     文件       1072  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$2.class

     文件       1904  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$3.class

     文件       1755  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$4$1.class

     文件        919  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$4$2.class

     文件       2767  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient$4.class

     文件       3939  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorClient.class

     文件        835  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorConfigActivity$1.class

     文件       2895  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorConfigActivity$2.class

     文件       2391  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorConfigActivity$3.class

     文件        906  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorConfigActivity$4.class

     文件       5656  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorConfigActivity.class

     文件       3457  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorView$CamMonitorThread.class

     文件       2698  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\CamMonitorView.class

     文件       2506  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\config\CamMonitorParameter.class

     文件       1831  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\core\BitmapCamera.class

     文件        410  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\core\CameraSource.class

     文件       3833  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\core\HttpCamera.class

     文件       4062  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\core\SocketCamera.class

     文件        361  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R$attr.class

     文件        421  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R$drawable.class

     文件       1724  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R$id.class

     文件        472  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R$layout.class

     文件       1235  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R$string.class

     文件        580  2009-09-02 22:28  CamMonitor\bin\com\xmobileapp\cammonitor\R.class

............此处省略65个文件信息

评论

共有 条评论