-
soundrecorder
android 4.0 soundrecorder src/com/android/soundrecorder 源码(android 4.0 soundrecorder src/com/android/soundrecorder source code)
- 2011-12-19 14:05:01下载
- 积分:1
-
weasis源码
这个是开源的dicom阅读器源码,基于java。可以在通过构建jboss服务器通过浏览器访问。
- 2022-12-03 02:15:03下载
- 积分:1
-
demo
这是一套很值得学习和使用的移动微商城模板。
可直接拿来套用(This is a set of mobile micro mall templates worth learning and using.
Can be used directly to apply)
- 2018-04-09 18:01:00下载
- 积分:1
-
solving travelling salesman problem using java
旅行商问题(TSP)要求
- 2022-05-06 15:58:17下载
- 积分:1
-
一些基础代码,适用于Java的初学者。
资源描述一些初级的Java的小程序,适合初学者的一些小程序,让他们更好的理解Java,还有对判断语句的应用,也可以加深对Java的理解及应用。
- 2022-07-14 06:58:03下载
- 积分:1
-
上期所股指期货程序交易CTP接口(Java源码+jar支持包)
上传个自己封的java接口,源码和依赖的jar包都在压缩文件里
test目录下有行情的demo,交易部分的API还没完全做好,可以连上前置和登录
这个java接口算是预览版吧,java与ctp api通信用的是Bridj,基于jni,现在还有不少的bridj的代码暴露在调用环节中,以后会慢慢隐藏掉。
选Bridj的原因是比jni省事
- 2022-07-27 01:38:34下载
- 积分: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
-
miniphpchat
单个文件的php 聊天程序,不使用数据库(php chat)
- 2013-11-23 13:57:35下载
- 积分:1
-
使用Java进行SNMP编程
使用SNMP4J进行SNMPv3编程的步骤如下:
1) 创建Snmp对象snmp
2) 创建USM对象,并创建User,添加到USM对象中。
创建User是需要指定securityName,认证协议MD5/SHA1,认证密钥,加密算法DES/AES,加密密钥。
添加User到USM对象中时候,可以指定engineID也可以不指定。
3) 创建UserTarget对象target,并指定version, address, timeout, retry等参数,这些和SNMPv1/v2相同。
另外还必须指定SNMPv3特有的两个参数SecurityLevel和SecurityName。
SNMP4J会根据这个SecurityName到USM的UserTable中查找匹配的User,用这个User的信息进行认证加密处理。
查找的时候必须同时匹配SecurityName和engineID,但是如果添加User到USM对象中时候,没有指定engineID,那么SecurityName相同即匹配成功。
4) 创建ScopedPDU对象pdu,并指定操作类型(GET/GETNEXT/GETBULK/SET), 添加VariableBinding(也就是待操作的OID),
如果是GETBULK操作,还可以指定MaxRepetitions和NonRepeaters。
注意一定要指定MaxRepetitions,默认值是0,那样不会返回任何结果。
如果agent上设定的contextEngineId和snmpEngineId不一致,那么需要调用ScopedPDU.setContextEngineID()方法设定contextEngineId。
如果agent上设定了contextName,那么需要调用ScopedPDU.setContextName()方法设定contextName。
5) 调用snmp.send(pdu, target)方法,发送请求请返回结果
- 2022-09-11 20:15:03下载
- 积分:1
-
Android TableLayout 布局实例
Android_TableLayout.zip 布局实例下载
- 2013-03-16下载
- 积分:1