登录
首页 » java » 海康Android代码免费共享

海康Android代码免费共享

于 2022-04-02 发布 文件大小:7.77 MB
0 237
下载积分: 2 下载次数: 1

代码说明:

比较简单实用的代码,与码农们一起分享,希望对大家有帮助。 代码开发基于android4.2.2,可以可以直接支持海康威视摄像机。 上传代码顺便攒点积分。 //实例化播放API myPlayer = Player.getInstance(); SjrsSurface(); //初始化海康威视android sdk videoCtr.NET_DVR_Init();   //设置错误回掉函数 videoCtr.NET_DVR_SetExceptionCallBack(mExceptionCallBack);   //设置连接超时时长 videoCtr.NET_DVR_SetConnectTime(60000); //获取空闲播放端口 playPort = myPlayer.getPort();   NET_DVR_DEVICEINFO_V30 deviceInfo = new NET_DVR_DEVICEINFO_V30(); //登录服务器 cameraInfo.userId = videoCtr.NET_DVR_Login_V30(cameraInfo.serverip, cameraInfo.serverport, cameraInfo.username, cameraInfo.userpwd, deviceInfo);

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 掌握拨号
    应用背景在Android主拨号,与标准的函数,你可以建立与Eclipse或者Android的工作室。顺便说一句,这是Android的测试关键技术安卓应用程序的联系人列表,具有功能:读数据,列表视图接触等。
    2022-03-18 20:16:25下载
    积分:1
  • 用Itext生成Pdf格式文件。 1、新建一个Java工程 2、在工程下新建一个包smart.app.pdf 3、将Source下的所有类拷贝到...
    用Itext生成Pdf格式文件。 1、新建一个Java工程 2、在工程下新建一个包smart.app.pdf 3、将Source下的所有类拷贝到新建的包smart.app.pdf里面 4、将Enviroument里面的ExportPDF.jar放到工程的WebRootWEB-INFlib下 5、将JSP文件夹下的JSP页面拷贝到工程的WebRoot下 6、运行工程就可以调用类CreatPdf.java就可生成pdf;-Generated by iText Pdf format. 1, create a new Java project 2, in the works to create a new package under smart.app.pdf 3, will be all types of Source are copied to the new package smart.app.pdf inside the 4, will be put Enviroument inside ExportPDF.jar works The WebRootWEB-INFlib under 5, will be JSP folder JSP page copied to WebRoot works under 6, run the project can call the category CreatPdf.java can generate pdf
    2023-04-07 20:25:03下载
    积分:1
  • Struts2
    struts 学习JAVA web的开发框架。(The struts learning JAVA web development framework.)
    2012-07-06 19:28:10下载
    积分:1
  • 无约束条件 max f(x1,x2)=21.5+x1*sin(4*pi*x1)+x2sin(20*pi*x2)
    无约束条件 max f(x1,x2)=21.5+x1*sin(4*pi*x1)+x2sin(20*pi*x2) -3.0
    2022-02-06 19:32:03下载
    积分:1
  • java语言编写的写游戏,打地鼠
    用java语言编写的写游戏,打地鼠-java language used to write the game, to fight rats
    2022-02-12 10:16:04下载
    积分:1
  • 这是我在东方标准学习的时候做的一个项目,是中国移动的一个子管理任务模块,采用MVC模式设计,调试成功。...
    这是我在东方标准学习的时候做的一个项目,是中国移动的一个子管理任务模块,采用MVC模式设计,调试成功。-This is my standard in the east to learn to do when a project is a subset of China Mobile Management mission modules, the use of MVC design patterns, debugging success.
    2022-03-01 21:54:31下载
    积分:1
  • 学生成绩查询
    学生成绩查询简单系统,采用java编程。public class SelectClass extends JPanel implements ActionListener{ String sno; private JLabel label = new JLabel("课程查询:");  //创建提示标签 private JButton btnGo = new JButton("查询 GO");  //创建按钮 private JTable table = new JTable();  //声明表格引用 private JScrollPane scrollPane = new JScrollPane();  //创建滚动窗体 private Vector v_head=new Vector();  //创建用于存放表格数据的vector private Vector v_data=new Vector();  //创建数据向量 private GetSelectClass gt;  //创建GetTime对象 private JTextField textField;   //填写开始日期 public SelectClass(String sno) { this.sno=sno;  //设置host属性值 gt=new GetSelectClass(sno);   this.initialData();  //初始化数据 this.initialFrame();  //初始化界面 } public void initialData() {//初始化数据的方法 v_head.add("课程名");  //初始化表头
    2022-08-07 23:57:33下载
    积分:1
  • DrawArrow
    使用 java 实现 画简单的 箭头-DrawArrow
    2022-03-12 00:25:33下载
    积分:1
  • 前几天编写的一个小游戏,点"+",它变"
    前几天编写的一个小游戏,点"+",它变"-",周围的"+"变"-","-"变"+" 这是从软件设计师考试中看到的一个问题,我用JAVA实现了.-A few days ago to prepare a small games, point+ , It changed - around+ Variable Variable - ,- + This is a test from the software designers to see a problem, I realized with JAVA.
    2022-02-06 11:28:45下载
    积分:1
  • MenuItem
    Interface definition for a callback to be invoked when a menu item is clicked.
    2013-12-03 14:11:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载