BlackBerry 视频录制编程概述 BlackBerry 5.0 平台以及之前的版本对多媒体的支持依赖于 JSR 135, 也就是标准 J2ME 平台的 MMAPI BlackBerry 手机上录制视频也依靠 MMAPI, 支持 3gpp 视频格式, 支持的视频编码包括 MPEG-4, H263
|
|
- 巍衔戈 窦
- 5 years ago
- Views:
Transcription
1 BlackBerry 视频录制编程 作者 : 俞伟 目录 BlackBerry 视频录制编程概述... 2 获取 / 选定视频格式 / 编码... 2 录制 存储视频... 5 回放已录制的视频... 8 完整代码 类 VideoRecordingScreen.java 类 VideoRecordingSetupScreen.java 类 VideoPlaybackScreen.java 类 VideoRecordingDemo.java
2 BlackBerry 视频录制编程概述 BlackBerry 5.0 平台以及之前的版本对多媒体的支持依赖于 JSR 135, 也就是标准 J2ME 平台的 MMAPI BlackBerry 手机上录制视频也依靠 MMAPI, 支持 3gpp 视频格式, 支持的视频编码包括 MPEG-4, H263, H264, 音频编码包括 AAC, PCM, AMR 具体的视频音频编码支持依黑莓机型而定 BlackBerry 视屏录制编程包括以下几部分 : 1. 获取 / 选定手机对视频格式 / 编码的支持 2. 录制 / 存储视频 3. 回放已录制的视频 获取 / 选定视频格式 / 编码 通过系统提供的 API 可以获得该机型视频支持的所有视频规格 : String encodingsstring = System.getProperty("video.encodings"); encodingsstring 包含了全部能够支持的视频规格, 但它是一个 String, 还不能够直接使用, 需要进一步解析 以下代码解析视频规格, 并返回规格列表 : * 获取黑莓手机所支持的视屏规格列表 public static String[] getvideoencodings() // 获取黑莓手机设备支持的视频格式 / 编码 String encodingsstring = System.getProperty("video.encodings"); // 如果没有支持的视频编码, 返回空 if( encodingsstring == null ) return null; // 解析出视频规格 Vector encodings = new Vector(); int start = 0; int space = encodingsstring.indexof(' '); 2
3 while( space!= -1 ) encodings.addelement(encodingsstring.substring(start, space)); start = space + 1; space = encodingsstring.indexof(' ', start); encodings.addelement(encodingsstring.substring(start, encodingsstring.length())); String[] encodingarray = new String[encodings.size()]; encodings.copyinto(encodingarray); return encodingarray; 解析后的视频规格范例如下所示 : encoding=video/3gpp&mode=standard encoding=video/3gpp&mode=mms encoding=video/3gpp&width=480&height=360&video_codec=mpeg-4&audio_codec=amr encoding=video/3gpp&width=176&height=144&video_codec=h263&audio_codec=amr encoding=video/3gpp&width=480&height=360&video_codec=h263&audio_codec=aac encoding=video/3gpp&width=480&height=360&video_codec=h264&audio_codec=aac encoding 字段表示视频格式 mode 表示播放模式, 模式会自动设置屏幕尺寸和编码 width 表示屏幕宽度 height 表示屏幕高度 video_codec 表示视频编码 audio_codec 表示音频编码 视频规格如图所示 : 3
4 4
5 录制 存储视频 录制视频主要用到 Player,VideoControl,RecordControl,ByteArrayOutputStream 使用 Player 打开摄像头,VideoControl 将捕捉的视频显示到屏幕上,RecordControl 控制录制过程, ByteArrayOutputStream 作为视频录制的缓存 以下三段代码范例分别为配置 / 启动摄像头, 开始录制, 和保存已录制的视频 * 构造一个屏幕显示和录制摄像头录制的视频 public VideoRecordingScreen(String encoding, String filepath) try // 开始捕捉视频 // encoding 是上一部分提到的视频规格 _player = javax.microedition.media.manager.createplayer("capture://video?" + encoding); _player.start(); _videocontrol = (VideoControl) _player.getcontrol("videocontrol"); _recordcontrol = (RecordControl) _player.getcontrol("recordcontrol"); // 将捕捉的视频显示在 Field 控件上 Field videofield = (Field) _videocontrol.initdisplaymode(videocontrol.use_gui_primitive, "net.rim.device.api.ui.field"); try // 视频尺寸为全屏 _videocontrol.setdisplaysize( Display.getWidth(), Display.getHeight() ); catch( MediaException me ) add(videofield); // 视频缓存, 捕捉到的视频将写入缓存 _outstream = new ByteArrayOutputStream(); _videofile = filepath; startrecord(); 5
6 catch( Exception e ) // Dispose of the player if it was created if( _player!= null ) _player.close(); _player = null; deleteall(); removeallmenuitems(); VideoRecordingDemo.errorDialog(e.toString()); 以上代码配置并启动摄像头 * 开始录制视频 private void startrecord() try if(!_pendingcommit ) // 重置缓存 _outstream.reset(); // 将缓存作为录制缓存 _recordcontrol.setrecordstream(_outstream); _pendingcommit = true; _committed = false; // 开始录制 _recordcontrol.startrecord(); _recording = true; 6
7 catch( Exception e) VideoRecordingDemo.errorDialog(e.toString()); 以上代码开始录制视频 * 保存录像 private void commitrecording() try // 这是最关键的一步, 保存录制的视频 _recordcontrol.commit(); // 重置参数 _pendingcommit = false; _committed = true; _recording = false; // 获取视频数据流 byte[] data = _outstream.tobytearray(); // 以文件的形式保存视频 FileConnection fconn = (FileConnection) Connector.open(_videoFile); if (fconn.exists()) fconn.delete(); fconn.create(); OutputStream os = fconn.openoutputstream(); os.write(data); os.flush(); os.close(); fconn.close(); 7
8 Dialog.alert("Committed"); catch( Exception e ) VideoRecordingDemo.errorDialog("RecordControl#commit() threw " + e.tostring()); 以上代码保存 / 存储视频 回放已录制的视频 前一步录制的视频以文件的形式保存在手机目录中, 回放视频需要文件路径, 载入文件, 使用 Player 在 Field 上进行播放 代码如下 : * 构造视频回放屏幕, 按指定路径装载视频文件 Public VideoPlaybackScreen(String file) boolean notempty; // 检测给定路径是否有媒体文件 try FileConnection fconn = (FileConnection) Connector.open(file); notempty = fconn.exists() && fconn.filesize() > 0; fconn.close(); catch( IOException e ) Dialog.alert("Exception while accessing the video filesize:\n\n" + e); notempty = false; 8
9 // 如有媒体文件并有内容, 初始化界面进行播放 if( notempty ) try // 创建 Video Player _videoplayer = javax.microedition.media.manager.createplayer(file); initscreen(); catch( Exception e ) Dialog.alert("Exception while initializing the playback video player\n\n" + e); else add(new LabelField("The video file you are trying to play is empty")); 使用给定的路径创建 _videoplayer private void initscreen() throws Exception _videoplayer.realize(); // 注册媒体播放时间响应 _videoplayer.addplayerlistener(new PlayerListener() public void playerupdate(player player, String event, Object eventdata) // 定义媒体文件播放完毕时的响应 if( event == PlayerListener.END_OF_MEDIA ) UiApplication.getUiApplication().invokeLater(new Runnable() public void run() Dialog.alert("Finished playing"); close(); ); ); 9
10 // 获取 VideoControl 来获得播放视频的 Field _videocontrol = (VideoControl)_videoPlayer.getControl("VideoControl"); Field vfield = (Field) _videocontrol.initdisplaymode(videocontrol.use_gui_primitive, "net.rim.device.api.ui.field"); add(vfield); // 获取 VolumeControl 来指定声音大小 VolumeControl vol = (VolumeControl) _videoplayer.getcontrol("volumecontrol"); vol.setlevel(30); 初始化屏幕开始回放视频 _videoplayer.realize() 获取视频文件相关信息, 为播放做好准备 之后 _videoplayer 注册了媒体播放事件侦听, 当媒体文件播放完毕时有事件响应 从 _videoplayer 中获取 VideoControl,VideoControl 再返回视屏播放所占据的 Field, 添加这个 Field 到屏幕上来显示视屏 VolumeControl 可以定义声音大小, 也可以从 _videoplayer 中获取 10
11 完整代码 类 VideoRecordingScreen.java package com.rim.samples.device.videorecordingdemo; import net.rim.device.api.ui.*; import net.rim.device.api.ui.container.*; import net.rim.device.api.ui.component.*; import net.rim.device.api.system.display; import javax.microedition.io.connector; import javax.microedition.io.file.fileconnection; import javax.microedition.media.*; import javax.microedition.media.control.*; import java.io.bytearrayoutputstream; import java.io.bytearrayinputstream; import java.io.outputstream; * This screen allows the user to record videos to a file or to a stream and * enables the user to open the VideoPlaybackScreen to play the recorded video. public class VideoRecordingScreen extends MainScreen private boolean _pendingcommit; private boolean _committed; private boolean _recording; private String _videofile; private Player _player; private VideoControl _videocontrol; private RecordControl _recordcontrol; private boolean _displayvisible; private ByteArrayOutputStream _outstream; public VideoRecordingScreen(String encoding, String filepath) 11
12 if (encoding == null) throw new NullPointerException("Video encoding can not be null"); if (filepath == null) throw new NullPointerException("File path can not be null"); try // 开始捕捉视频 // encoding 是视频规格 _player = javax.microedition.media.manager.createplayer("capture://video?" + encoding); _player.start(); _videocontrol = (VideoControl) _player.getcontrol("videocontrol"); _recordcontrol = (RecordControl) _player.getcontrol("recordcontrol"); // 将捕捉的视频显示在 Field 控件上 Field videofield = (Field) _videocontrol.initdisplaymode(videocontrol.use_gui_primitive, "net.rim.device.api.ui.field"); try // 视频尺寸为全屏 _videocontrol.setdisplaysize( Display.getWidth(), Display.getHeight() ); catch( MediaException me ) // setdisplaysize is not supported add(videofield); // 视频缓存, 捕捉到的视频将写入缓存 _outstream = new ByteArrayOutputStream(); _videofile = filepath; startrecord(); 12
13 catch( Exception e ) // Dispose of the player if it was created if( _player!= null ) _player.close(); _player = null; deleteall(); removeallmenuitems(); VideoRecordingDemo.errorDialog(e.toString()); * Commits the current recording private MenuItem _commit = new MenuItem("Commit recording", 0, 0) public void run() commitrecording(); ; * Plays the recording private MenuItem _playrecording = new MenuItem("Play recording", 0, 0) public void run() // Create the playback screen from the chosen video source VideoPlaybackScreen playbackscreen = new VideoPlaybackScreen(_videoFile); // Hide the video feed since we cannot display video from the camera // and video from a file at the same time. _videocontrol.setvisible(false); _displayvisible = false; ; UiApplication.getUiApplication().pushScreen(playbackScreen); 13
14 * Resets the recording private MenuItem _reset = new MenuItem("Reset recording", 0, 0) public void run() try _recordcontrol.reset(); catch( Exception e ) VideoRecordingDemo.errorDialog("RecordControl#reset threw " + e.tostring()); ; * Shows the video display private MenuItem _showdisplay = new MenuItem("Show display", 0, 0) public void run() _videocontrol.setvisible(true); _displayvisible = true; ; private MenuItem _hidedisplay = new MenuItem("Hide display", 0, 0) java.lang.runnable#run() public void run() _videocontrol.setvisible(false); _displayvisible = false; ; private MenuItem _startrecord = new MenuItem("Start recording", 0, 0) public void run() startrecord(); ; 14
15 private MenuItem _stoprecord = new MenuItem("Stop recording", 0, 0) public void run() stoprecord(); ; public boolean onclose() // Stop capturing video from the camera if( _player!= null ) _player.close(); return super.onclose(); protected boolean onsaveprompt() // Suppress the save prompt return true; protected void makemenu(menu menu, int instance) super.makemenu(menu, instance); if(_recording) menu.add(_stoprecord); else menu.add(_startrecord); if( _pendingcommit ) menu.add(_commit); menu.add(_reset); if(_committed) menu.add(_playrecording); if( _displayvisible) menu.add(_hidedisplay); else menu.add(_showdisplay); 15
16 protected boolean invokeaction(int action) switch(action) case ACTION_INVOKE: // Trackball click if(_recording) int response = Dialog.ask(Dialog.D_YES_NO, "Recording paused. recording?", Dialog.YES); if(response == Dialog.YES) this.commitrecording(); return true; // We've consumed the event return super.invokeaction(action); Commit protected void onvisibilitychange(boolean visible) if( visible && _player!= null ) _videocontrol.setvisible(true); _displayvisible = true; private void startrecord() try if(!_pendingcommit ) _outstream.reset(); // 将缓存作为录制缓存 _recordcontrol.setrecordstream(_outstream); _pendingcommit = true; _committed = false; // 开始录制 _recordcontrol.startrecord(); _recording = true; catch( Exception e ) VideoRecordingDemo.errorDialog(e.toString()); 16
17 private void stoprecord() try _recordcontrol.stoprecord(); _recording = false; catch( Exception e ) VideoRecordingDemo.errorDialog("RecordControl#stopRecord() threw " + e.tostring()); private void commitrecording() try _recordcontrol.commit(); _pendingcommit = false; _committed = true; _recording = false; // 获取视频数据流 byte[] data = _outstream.tobytearray(); // 以文件的形式保存视频 FileConnection fconn = (FileConnection) Connector.open(_videoFile); if (fconn.exists()) fconn.delete(); fconn.create(); OutputStream os = fconn.openoutputstream(); os.write(data); os.flush(); os.close(); fconn.close(); Dialog.alert("Committed"); catch( Exception e ) VideoRecordingDemo.errorDialog("RecordControl#commit() threw " + e.tostring()); 17
18 类 VideoRecordingSetupScreen.java package com.rim.samples.device.videorecordingdemo; import net.rim.device.api.ui.*; import net.rim.device.api.ui.container.*; import net.rim.device.api.ui.component.*; * A screen that allows a user to choose the encoding used to record * videos and the file system to record to. public final class VideoRecordingSetupScreen extends MainScreen implements FieldChangeListener private static String FILE_SYSTEM_URI_HEADER = "file:///"; private ObjectChoiceField _encodings; private ObjectChoiceField _filesystems; private ButtonField _launchrecorder; public VideoRecordingSetupScreen(String[] encodings) settitle("setup screen"); _encodings = new ObjectChoiceField("Encoding:", encodings, 0); add(_encodings); _filesystems = new ObjectChoiceField("File System", dir, 0); add(_filesystems); _launchrecorder = new ButtonField("Start recording", ButtonField.CONSUME_CLICK Field.FIELD_RIGHT); _launchrecorder.setchangelistener(this); add(_launchrecorder); public static final String[] dir = "store/", "SDCard/"; public static final String SD_CARD_PATH = "SDCard/BlackBerry/videos/mmapi_rimlet.3GP"; public static final String MEMORY_PATH = "store/home/user/videos/mmapi_rimlet.3gp"; public String videofilepath = SD_CARD_PATH; 18
19 public void fieldchanged(field field, int context) if( field == _launchrecorder ) String selectedencoding = (String) _encodings.getchoice(_encodings.getselectedindex()); String selectedfilesystem = (String) _filesystems.getchoice(_filesystems.getselectedindex()); String filepath = null; if(selectedfilesystem.equals("store/")) filepath = MEMORY_PATH; else if(selectedfilesystem.equals("sdcard/")) filepath = SD_CARD_PATH; UiApplication.getUiApplication().pushScreen( new VideoRecordingScreen(selectedEncoding, FILE_SYSTEM_URI_HEADER + filepath)); close(); protected boolean onsaveprompt() // Suppress the save dialog return true; 19
20 类 VideoPlaybackScreen.java package com.rim.samples.device.videorecordingdemo; import javax.microedition.media.player; import javax.microedition.media.playerlistener; import javax.microedition.media.control.videocontrol; import javax.microedition.media.control.volumecontrol; import java.io.ioexception; import java.io.inputstream; import javax.microedition.io.connector; import javax.microedition.io.file.fileconnection; import net.rim.device.api.ui.field; import net.rim.device.api.ui.uiapplication; import net.rim.device.api.ui.component.dialog; import net.rim.device.api.ui.component.labelfield; import net.rim.device.api.ui.container.mainscreen; public class VideoPlaybackScreen extends MainScreen private Player _videoplayer; private VideoControl _videocontrol; public VideoPlaybackScreen(InputStream inputstream) if (inputstream == null) throw new NullPointerException("'inputStream' cannot be null"); try _videoplayer = javax.microedition.media.manager.createplayer(inputstream, "video/sbv"); initscreen(); catch( Exception e ) Dialog.alert("Exception while initializing the playback video player\n\n" + e); 20
21 * 构造视频回放屏幕, 按指定路径装载视频文件 public VideoPlaybackScreen(String file) boolean notempty; // 检测给定路径是否有媒体文件 try FileConnection fconn = (FileConnection) Connector.open(file); notempty = fconn.exists() && fconn.filesize() > 0; fconn.close(); catch( IOException e ) Dialog.alert("Exception while accessing the video filesize:\n\n" + e); notempty = false; // 如有媒体文件并有内容, 初始化界面进行播放 if( notempty ) try // 创建 Video Player _videoplayer = javax.microedition.media.manager.createplayer(file); initscreen(); catch( Exception e ) Dialog.alert("Exception while initializing the playback video player\n\n" + e); else add(new LabelField("The video file you are trying to play is empty")); 21
22 private void initscreen() throws Exception _videoplayer.realize(); // 注册媒体播放时间响应 _videoplayer.addplayerlistener(new PlayerListener() public void playerupdate(player player, String event, Object eventdata) // 定义媒体文件播放完毕时的响应 if( event == PlayerListener.END_OF_MEDIA ) UiApplication.getUiApplication().invokeLater(new Runnable() public void run() Dialog.alert("Finished playing"); close(); ); ); // 获取 VideoControl 来获得播放视频的 Field _videocontrol = (VideoControl) _videoplayer.getcontrol("videocontrol"); Field vfield = (Field) _videocontrol.initdisplaymode(videocontrol.use_gui_primitive, "net.rim.device.api.ui.field"); add(vfield); // 获取 VolumeControl 来指定声音大小 VolumeControl vol = (VolumeControl) _videoplayer.getcontrol("volumecontrol"); vol.setlevel(30); 22
23 net.rim.device.api.ui.field#onvisibilitychange(boolean) protected void onvisibilitychange(boolean visible) // If the screen becomes visible and the video player was created, then // start the playback. if( visible && _videoplayer!= null ) try _videoplayer.start(); catch( Exception e ) // If starting the video fails, terminate the playback Dialog.alert("Exception while starting the video\n\n" + e); close(); net.rim.device.api.ui.screen#onclose() public void close() // Close the video player if it was created if( _videoplayer!= null ) _videoplayer.close(); super.close(); 23
24 类 VideoRecordingDemo.java package com.rim.samples.device.videorecordingdemo; import java.util.vector; import net.rim.device.api.ui.*; import net.rim.device.api.ui.component.*; import net.rim.device.api.system.display; * This application demonstrates how to capture and record video using the * JSR 135 Multi Media API (MMAPI). Video can be recorded from the camera to * either a file or to an output stream. This sample also demonstrates how * to playback the recorded video using the Multi Media API. public class VideoRecordingDemo extends UiApplication * Creates a new VideoRecordingDemo object public VideoRecordingDemo() // Check if video recording is enabled on this device final String[] encodings = getvideoencodings(); if ( encodings!= null && encodings.length > 0 ) pushscreen(new VideoRecordingSetupScreen(encodings)); else UiApplication.getApplication().invokeLater(new Runnable() public void run() Dialog.alert("This device is not capable of recording video"); System.exit(0); ); 24
25 public static void errordialog(final String message) UiApplication.getUiApplication().invokeLater(new Runnable() public void run() Dialog.alert(message); ); public static void main(string[] args) new VideoRecordingDemo().enterEventDispatcher(); public static String[] getvideoencodings() // 获取黑莓手机设备支持的视频格式 / 编码 String encodingsstring = System.getProperty("video.encodings"); // 如果没有支持的视频编码, 返回空 if( encodingsstring == null ) return null; // 解析出视频规格 Vector encodings = new Vector(); int start = 0; int space = encodingsstring.indexof(' '); while( space!= -1 ) encodings.addelement(encodingsstring.substring(start, space)); start = space + 1; space = encodingsstring.indexof(' ', start); encodings.addelement(encodingsstring.substring(start, encodingsstring.length())); String[] encodingarray = new String[encodings.size()]; encodings.copyinto(encodingarray); return encodingarray; 25
JavaIO.PDF
O u t p u t S t ream j a v a. i o. O u t p u t S t r e a m w r i t e () f l u s h () c l o s e () public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException
More informationEJB-Programming-4-cn.doc
EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session
More informationChapter 9: Objects and Classes
Java application Java main applet Web applet Runnable Thread CPU Thread 1 Thread 2 Thread 3 CUP Thread 1 Thread 2 Thread 3 ,,. (new) Thread (runnable) start( ) CPU (running) run ( ) blocked CPU sleep(
More informationchp6.ppt
Java 软 件 设 计 基 础 6. 异 常 处 理 编 程 时 会 遇 到 如 下 三 种 错 误 : 语 法 错 误 (syntax error) 没 有 遵 循 语 言 的 规 则, 出 现 语 法 格 式 上 的 错 误, 可 被 编 译 器 发 现 并 易 于 纠 正 ; 逻 辑 错 误 (logic error) 即 我 们 常 说 的 bug, 意 指 编 写 的 代 码 在 执 行
More information(TestFailure) JUnit Framework AssertionFailedError JUnit Composite TestSuite Test TestSuite run() run() JUnit
Tomcat Web JUnit Cactus JUnit Java Cactus JUnit 26.1 JUnit Java JUnit JUnit Java JSP Servlet JUnit Java Erich Gamma Kent Beck xunit JUnit boolean JUnit Java JUnit Java JUnit Java 26.1.1 JUnit JUnit How
More informationJava Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream Class java.io.datainptstream (extends) FilterInputStream InputStream Obj
Message Transition 5-1 5-2 DataInputStream Class 5-3 DataOutputStream Class 5-4 PrintStream Class 5-5 (Message Transition) (Exercises) Java Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream
More informationMicrosoft PowerPoint - ch6 [相容模式]
UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner
More informationMac Java import com.apple.mrj.*;... public class MyFirstApp extends JFrame implements ActionListener, MRJAboutHandler, MRJQuitHandler {... public MyFirstApp() {... MRJApplicationUtils.registerAboutHandler(this);
More informationuntitled
1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override
More informationMicrosoft Word - 01.DOC
第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 1Z0-854 Title : Java Standard Edition 5 Programmer Certified Professional Upgrade Exam Version : Demo 1 / 12 1.Given: 20. public class CreditCard
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-055Big5 Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0 Version : Demo 1 / 22 1. 11. public static void parse(string str)
More informationJava java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0,
http://debut.cis.nctu.edu.tw/~chi Java java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0, : POSITIVE_INFINITY NEGATIVE_INFINITY
More information1: public class MyOutputStream implements AutoCloseable { 3: public void close() throws IOException { 4: throw new IOException(); 5: } 6:
Chapter 15. Suppressed Exception CH14 Finally Block Java SE 7 try-with-resources JVM cleanup try-with-resources JVM cleanup cleanup Java SE 7 Throwable getsuppressed Throwable[] getsuppressed() Suppressed
More informationSDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基
开放数据处理服务 ODPS SDK SDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基础功能的主体接口, 搜索关键词 "odpssdk-core" 一些
More informationepub83-1
C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C
More information詞 彙 表 編 號 詞 彙 描 述 1 預 約 人 資 料 中 文 姓 名 英 文 姓 名 身 份 證 字 號 預 約 人 電 話 性 別 2 付 款 資 料 信 用 卡 別 信 用 卡 號 信 用 卡 有 效 日 期 3 住 房 條 件 入 住 日 期 退 房 日 期 人 數 房 間 數 量 入
100 年 特 種 考 試 地 方 政 府 公 務 人 員 考 試 試 題 等 別 : 三 等 考 試 類 科 : 資 訊 處 理 科 目 : 系 統 分 析 與 設 計 一 請 參 考 下 列 旅 館 管 理 系 統 的 使 用 案 例 圖 (Use Case Diagram) 撰 寫 預 約 房 間 的 使 用 案 例 規 格 書 (Use Case Specification), 繪 出 入
More information1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10
Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1
More informationjava2d-4.PDF
75 7 6 G r a d i e n t P a i n t B a s i c S t r o k e s e t P a i n t ( ) s e t S t o r k e ( ) import java.awt.*; import java.awt.geom.*; public class PaintingAndStroking extends ApplicationFrame { public
More informationMicrosoft Word - ch04三校.doc
4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear
More informationLearning Java
Java Introduction to Java Programming (Third Edition) Prentice-Hall,Inc. Y.Daniel Liang 2001 Java 2002.2 Java2 2001.10 Java2 Philip Heller & Simon Roberts 1999.4 Java2 2001.3 Java2 21 2002.4 Java UML 2002.10
More information1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6
www.brainysoft.net 1.JasperReport ireport...4 1.1 JasperReport...4 1.2 ireport...4 2....4 2.1 JDK...4 2.1.1 JDK...4 2.1.2 JDK...5 2.1.3 JDK...5 2.2 ant...6 2.2.1 ant...6 2.2.2 ant...6 2.3 JasperReport...7
More informationChapter 9: Objects and Classes
Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum
More information使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款
JAVA 程 序 设 计 ( 肆 ) 徐 东 / 数 学 系 使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款 使 用 Java class 代 表 保 险 箱 public class SaveBox 类 名 类 类 体 实 现 封 装 性 使 用 class SaveBox 代 表 保
More information2009年3月全国计算机等级考试二级Java语言程序设计笔试试题
2009 年 3 月 全 国 计 算 机 等 级 考 试 笔 试 试 卷 二 级 Java 语 言 程 序 设 计 ( 考 试 时 间 90 分 钟, 满 分 100 分 ) 一 选 择 题 ( 每 题 2 分, 共 70 分 ) 下 列 各 题 A) B) C) D) 四 个 选 项 中, 只 有 一 个 选 项 是 正 确 的 请 将 正 确 选 项 填 涂 在 答 题 卡 相 应 位 置 上,
More informationuntitled
4.1AOP AOP Aspect-oriented programming AOP 來說 AOP 令 理 Cross-cutting concerns Aspect Weave 理 Spring AOP 來 AOP 念 4.1.1 理 AOP AOP 見 例 來 例 錄 Logging 錄 便 來 例 行 留 錄 import java.util.logging.*; public class HelloSpeaker
More information前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii
前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii C# 7 More Effective C# C# C# C# C# C# Common Language Runtime CLR just-in-time
More information使用MapReduce读取XML文件
使用 MapReduce 读取 XML 文件 XML( 可扩展标记语言, 英语 :extensible Markup Language, 简称 : XML) 是一种标记语言, 也是行业标准数据交换交换格式, 它很适合在系统之间进行数据存储和交换 ( 话说 Hadoop H ive 等的配置文件就是 XML 格式的 ) 本文将介绍如何使用 MapReduce 来读取 XML 文件 但是 Had oop
More information《大话设计模式》第一章
第 1 章 代 码 无 错 就 是 优? 简 单 工 厂 模 式 1.1 面 试 受 挫 小 菜 今 年 计 算 机 专 业 大 四 了, 学 了 不 少 软 件 开 发 方 面 的 东 西, 也 学 着 编 了 些 小 程 序, 踌 躇 满 志, 一 心 要 找 一 个 好 单 位 当 投 递 了 无 数 份 简 历 后, 终 于 收 到 了 一 个 单 位 的 面 试 通 知, 小 菜 欣 喜
More informationFun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc
References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2
More information1.ai
HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact
More information1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論..
如 何 準 備 研 究 所 甄 試 劉 富 翃 1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論... 20 8. 附 錄 8.1 推 甄 書 面 資 料...
More informationjavaexample-02.pdf
n e w. s t a t i c s t a t i c 3 1 3 2 p u b l i c p r i v a t e p r o t e c t e d j a v a. l a n g. O b j e c t O b j e c t Rect R e c t x 1 y 1 x 2 y 2 R e c t t o S t r i n g ( ) j a v a. l a n g. O
More informationuntitled
1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 ives.net@gmail.com www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立
More informationEJB-Programming-3.PDF
:, JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Value Object Design Pattern J2EE Design Patterns Value Object Value Object Factory J2EE EJB Test Client
More informationSwing-02.pdf
2 J B u t t o n J T e x t F i e l d J L i s t B u t t o n T e x t F i e l d L i s t J F r a m e 21 2 2 Swing C a n v a s C o m p o n e n t J B u t t o n AWT // ToolbarFrame1.java // java.awt.button //
More information雲端 Cloud Computing 技術指南 運算 應用 平台與架構 10/04/15 11:55:46 INFO 10/04/15 11:55:53 INFO 10/04/15 11:55:56 INFO 10/04/15 11:56:05 INFO 10/04/15 11:56:07 INFO
CHAPTER 使用 Hadoop 打造自己的雲 8 8.3 測試 Hadoop 雲端系統 4 Nodes Hadoop Map Reduce Hadoop WordCount 4 Nodes Hadoop Map/Reduce $HADOOP_HOME /home/ hadoop/hadoop-0.20.2 wordcount echo $ mkdir wordcount $ cd wordcount
More informationOOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double
More informationuntitled
1 行 行 行 行.NET 行 行 類 來 行 行 Thread 類 行 System.Threading 來 類 Thread 類 (1) public Thread(ThreadStart start ); Name 行 IsAlive 行 行狀 Start 行 行 Suspend 行 Resume 行 行 Thread 類 (2) Sleep 行 CurrentThread 行 ThreadStart
More informationAdobe® Flash® 的 Adobe® ActionScript® 3.0 程式設計
337 18 Adobe Flash CS4 Professional MovieClip ActionScript Flash ActionScript Flash Flash Flash MovieClip MovieClip ActionScript ( ) MovieClip Flash Sprite ActionScript MovieClip ActionScript 3.0 Shape
More information全国计算机技术与软件专业技术资格(水平)考试
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明
More informationuntitled
1 Outline ArrayList 類 列類 串類 類 類 例 理 MSDN Library MSDN Library 量 例 參 列 [ 說 ] [] [ 索 ] [] 來 MSDN Library 了 類 類 利 F1 http://msdn.microsoft.com/library/ http://msdn.microsoft.com/library/cht/ Object object
More information5in1_eDVR_Manual_Chinese.cdr
02 English User Manual 29 User Manual Contents 2 5 6 7 8 9 10 11 12 14 17 18 19 20 21 22 23 24 25 26 27 Quick start Controls Accessories Minimum System Requirements Battery Charge Power On/Off LCM Indicator
More informationuntitled
JavaEE+Android - 6 1.5-2 JavaEE web MIS OA ERP BOSS Android Android Google Map office HTML CSS,java Android + SQL Sever JavaWeb JavaScript/AJAX jquery Java Oracle SSH SSH EJB+JBOSS Android + 1. 2. IDE
More informationMicrosoft Word - template.doc
HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started
More informationPowerPoint Presentation
TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice
More informationAndroid Service
Android Service- 播放音樂 建國科技大學資管系 饒瑞佶 2013/7 V1 Android Service Service 是跟 Activity 並行 一個音樂播放程式若沒使用 Service, 即使按 home 鍵畫面離開之後, 音樂還是照播 如果再執行一次程式, 新撥放的音樂會跟先前撥放的一起撥, 最後程式就會出錯 執行中的程式完全看不到! 但是, 寫成 Service 就不同了
More information2 Java 语 言 程 序 设 计 教 程 1.2.1 简 单 性 Java 语 言 的 语 法 与 C 语 言 和 C++ 语 言 很 接 近, 使 得 大 多 数 程 序 员 很 容 易 学 习 和 使 用 Java 另 一 方 面,Java 丢 弃 了 C++ 中 很 少 使 用 的 很 难
第 1 章 Java 概 述 Java 的 诞 生 Java 的 特 点 Java 开 发 环 境 安 装 与 配 置 创 建 并 运 行 一 个 简 单 的 Java 程 序 Java 语 言 是 当 今 计 算 机 软 件 行 业 中 最 热 门 的 网 络 编 程 语 言, 以 Java 为 核 心 的 芯 片 技 术 编 译 技 术 数 据 库 连 接 技 术, 以 及 基 于 企 业 级
More informationuntitled
1 MSDN Library MSDN Library 量 例 參 列 [ 說 ] [] [ 索 ] [] 來 MSDN Library 了 類 類 利 F1 http://msdn.microsoft.com/library/ http://msdn.microsoft.com/library/cht/ Object object 參 類 都 object 參 object Boxing 參 boxing
More informationOOP with Java 通知 Project 4: 4 月 19 日晚 9 点
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 19 日晚 9 点 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double x) { d
More informationRunPC2_.doc
PowerBuilder 8 (5) PowerBuilder Client/Server Jaguar Server Jaguar Server Connection Cache Thin Client Internet Connection Pooling EAServer Connection Cache Connection Cache Connection Cache Connection
More information用手機直接傳值不透過網頁連接, 來當作搖控器控制家電 ( 電視遙控器 ) 按下按鍵發送同時會回傳值來確定是否有送出 問題 :1. 應該是使用了太多 thread 導致在傳值上有問題 2. 一次按很多次按鈕沒辦法即時反應
專題進度 老師 : 趙啟時老師 學生 : 陳建廷 2013/10/13 用手機直接傳值不透過網頁連接, 來當作搖控器控制家電 ( 電視遙控器 ) 按下按鍵發送同時會回傳值來確定是否有送出 問題 :1. 應該是使用了太多 thread 導致在傳值上有問題 2. 一次按很多次按鈕沒辦法即時反應 程式碼 : package com.example.phone; import java.util.arraylist;
More information新版 明解C++入門編
511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,
More informationWindows XP
Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs
More information4.1 AMI MQSeries API AMI MQI AMI / / AMI JavaC C++ AMI / AMI AMI - / /
4 AMI AMI AMI SC345604 89 4.1 AMI MQSeries API AMI MQI AMI / / AMI JavaC C++ AMI / AMI AMI - / / 91 41-90 41 AMI - AMI - - API MQI MQSeries MQI AMI IBM 91 MQSeries REPOSITORY AMI AMI AMI XML Windows AMI
More information基于ECO的UML模型驱动的数据库应用开发1.doc
ECO UML () Object RDBMS Mapping.Net Framework Java C# RAD DataSetOleDbConnection DataGrod RAD Client/Server RAD RAD DataReader["Spell"].ToString() AObj.XXX bug sql UML OR Mapping RAD Lazy load round trip
More information2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF
Chapter 2 WF 2.1 WF 2.2 2. XAML 2. 2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF WF WF WF WF EDI API WF Visual Studio Designer 1 2.1 WF Windows Workflow Foundation 2 WF 1 WF Domain-Specific
More information无类继承.key
无类继承 JavaScript 面向对象的根基 周爱 民 / aimingoo aiming@gmail.com https://aimingoo.github.io https://github.com/aimingoo rand = new Person("Rand McKinnon",... https://docs.oracle.com/cd/e19957-01/816-6408-10/object.htm#1193255
More information27 :OPC 45 [4] (Automation Interface Standard), (Costom Interface Standard), OPC 2,,, VB Delphi OPC, OPC C++, OPC OPC OPC, [1] 1 OPC 1.1 OPC OPC(OLE f
27 1 Vol.27 No.1 CEMENTED CARBIDE 2010 2 Feb.2010!"!!!!"!!!!"!" doi:10.3969/j.issn.1003-7292.2010.01.011 OPC 1 1 2 1 (1., 412008; 2., 518052), OPC, WinCC VB,,, OPC ; ;VB ;WinCC Application of OPC Technology
More informationaudiogram3 Owners Manual
USB AUDIO INTERFACE ZH 2 AUDIOGRAM 3 ( ) * Yamaha USB Yamaha USB ( ) ( ) USB Yamaha (5)-10 1/2 AUDIOGRAM 3 3 MIC / INST (XLR ) (IEC60268 ): 1 2 (+) 3 (-) 2 1 3 Yamaha USB Yamaha Yamaha Steinberg Media
More information3.1 num = 3 ch = 'C' 2
Java 1 3.1 num = 3 ch = 'C' 2 final 3.1 final : final final double PI=3.1415926; 3 3.2 4 int 3.2 (long int) (int) (short int) (byte) short sum; // sum 5 3.2 Java int long num=32967359818l; C:\java\app3_2.java:6:
More informationMicrosoft Word - Broker.doc
Broker 模式 采用 broker 模式对分布式计算进行简单模拟 系统在一个进程内模拟分布式环境, 因此不涉及网络编程和进程间通信,Broker 通过本地函数调用的方式实现 request 和 response 的转发 采用 broker 模式对分布式计算进行简单的模拟, 要求如下 : 设计四个 server, 一个 server 接收两个整数, 求和并返回结果, 一个 server 接收两个整数,
More informationuntitled
Sansa Fuze TM MP3 1-866-SANDISK (726-3475) www.sandisk.com/techsupport www.sandisk.com/sansa Fuze-8UM-CHS ... 3... 4 Sansa Fuze TM... 6... 6... 7... 7 Sansa Fuze... 7... 8... 9... 9... 10... 11... 11...
More information2009年9月全国计算机等级考试二级Java真题及答案
2009 年 9 月 全 国 计 算 机 等 级 考 试 二 级 Java 真 题 及 答 案 [ 录 入 者 :NCRE100 时 间 :2009-10-08 19:41:34 作 者 : 来 源 :NCRE100.com 浏 览 :1421 次 ] 2009 年 9 月 全 国 计 算 机 等 级 考 试 二 级 笔 试 试 卷 Java 语 言 程 序 设 计 ( 考 试 时 间 90 分 钟,
More information9, : Java 19., [4 ]. 3 Apla2Java Apla PAR,Apla2Java Apla Java.,Apla,,, 1. 1 Apla Apla A[J ] Get elem (set A) A J A B Intersection(set A,set B) A B A B
25 9 2008 9 M ICROEL ECTRON ICS & COMPU TER Vol. 25 No. 9 September 2008 J ava 1,2, 1,2, 1,2 (1, 330022 ; 2, 330022) :,. Apla - Java,,.. : PAR ;Apla - Java ; ;CMP ; : TP311 : A : 1000-7180 (2008) 09-0018
More information訪 談 後 的 檢 討 ~~~~~~~~~~~~~~~~p.18,19 2
Open ME 1 訪 談 後 的 檢 討 ~~~~~~~~~~~~~~~~p.18,19 2 3 3A02 區 詠 芝 如 果 叫 我 真 心 說 一 句, 當 我 知 道 這 個 活 動 時, 我 是 不 願 出 席 的 一 來 剝 奪 了 假 期, 二 來 不 想 與 老 人 相 處, 總 覺 得 他 們 很 嘮 叨 的! 而 且 老 人 家 們 沒 有 上 學 讀 書, 因 此 他 們 也
More informationMicrosoft Word - 200612-582.doc
Drools 规 则 引 擎 在 实 现 业 务 逻 辑 中 的 应 用 刘 际 赵 广 利 大 连 海 事 大 学, 大 连 (116026) E-mail:henterji@gmail.com 摘 要 : 现 今, 企 业 级 java 应 用 中 的 业 务 逻 辑 越 来 越 复 杂, 而 这 些 复 杂 的 业 务 逻 辑 又 广 泛 的 分 布 在 应 用 程 序 中 无 论 是 软 件
More informationJBuilder Weblogic
JUnit ( bliu76@yeah.net) < >6 JUnit Java Erich Gamma Kent Beck JUnit JUnit 1 JUnit 1.1 JUnit JUnit java XUnit JUnit 1.2 JUnit JUnit Erich Gamma Kent Beck Erich Gamma Kent Beck XP Extreme Programming CRC
More information三种方法实现Hadoop(MapReduce)全局排序(1)
三种方法实现 Hadoop(MapReduce) 全局排序 () 三种方法实现 Hadoop(MapReduce) 全局排序 () 我们可能会有些需求要求 MapReduce 的输出全局有序, 这里说的有序是指 Key 全局有序 但是我们知道,MapReduce 默认只是保证同一个分区内的 Key 是有序的, 但是不保证全局有序 基于此, 本文提供三种方法来对 MapReduce 的输出进行全局排序
More informationOOP with Java 通知 Project 3: 3 月 29 日晚 9 点 4 月 1 日上课
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 3: 3 月 29 日晚 9 点 4 月 1 日上课 复习 Java 包 创建包 : package 语句, 包结构与目录结构一致 使用包 : import restaurant/ - people/ - Cook.class - Waiter.class - tools/ - Fork.class
More informationSymbian多媒体架构分析
多媒体应用开发 要内容 多媒体框架 (MMF) 客户端 API 音频程序开发视频程序开发摄像头使用 媒体框架 (MMF) 客户端 API 放音调 播放音调 (1) 指定周期和频率的简单声音 (2)DTMF( 双音多频 ) 电话信号声音 (3) 存储在文件或描述中的声音序列 (4) 在手机中的预定义的声音序列 放音调 框架 放音调 播放音调工具类 CMdaAudioToneUtility 侦听器接口类
More information06 01 action JavaScript action jquery jquery AJAX CSS jquery CSS jquery HTML CSS jquery.css() getter setter.css('backgroundcolor') jquery CSS b
06 01 action JavaScript action jquery jquery AJAX 04 4-1 CSS jquery CSS jquery HTML CSS jquery.css() getter setter.css('backgroundcolor') jquery CSS background-color camel-cased DOM backgroundcolor.css()
More informationuntitled
2006 6 Geoframe Geoframe 4.0.3 Geoframe 1.2 1 Project Manager Project Management Create a new project Create a new project ( ) OK storage setting OK (Create charisma project extension) NO OK 2 Edit project
More information提纲 1 2 OS Examples for 3
第 4 章 Threads2( 线程 2) 中国科学技术大学计算机学院 October 28, 2009 提纲 1 2 OS Examples for 3 Outline 1 2 OS Examples for 3 Windows XP Threads I An Windows XP application runs as a seperate process, and each process may
More informationK7VT2_QIG_v3
............ 1 2 3 4 5 [R] : Enter Raid setup utility 6 Press[A]keytocreateRAID RAID Type: JBOD RAID 0 RAID 1: 2 7 RAID 0 Auto Create Manual Create: 2 RAID 0 Block Size: 16K 32K
More informationMicrosoft Word - 苹果脚本跟我学.doc
AppleScript for Absolute Starters 2 2 3 0 5 1 6 2 10 3 I 13 4 15 5 17 6 list 20 7 record 27 8 II 32 9 34 10 36 11 44 12 46 13 51 14 handler 57 15 62 63 3 AppleScript AppleScript AppleScript AppleScript
More informationGuava学习之Resources
Resources 提供提供操作 classpath 路径下所有资源的方法 除非另有说明, 否则类中所有方法的参数都不能为 null 虽然有些方法的参数是 URL 类型的, 但是这些方法实现通常不是以 HTTP 完成的 ; 同时这些资源也非 classpath 路径下的 下面两个函数都是根据资源的名称得到其绝对路径, 从函数里面可以看出,Resources 类中的 getresource 函数都是基于
More informationMicrosoft Word - 小心翼翼的二十一點N.doc
投 稿 類 別 : 資 訊 類 篇 名 : 小 心 翼 翼 的 二 十 一 點 作 者 : 陳 鈺 文 國 立 瑞 芳 高 級 工 業 職 業 學 校 資 訊 二 李 伯 謙 國 立 瑞 芳 高 級 工 業 職 業 學 校 資 訊 二 胡 家 媛 國 立 瑞 芳 高 級 工 業 職 業 學 校 資 訊 二 指 導 老 師 : 周 曉 玲 老 師 陳 思 亮 主 任 壹 前 言 一 研 究 動 機 平
More information<4D6963726F736F667420576F7264202D20C8EDC9E82DCFC2CEE7CCE22D3039C9CF>
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 考 试 2009 年 上 半 年 软 件 设 计 师 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 请 按 下 述 要 求 正 确 填 写 答 题 纸 1. 在 答 题 纸 的 指 定 位 置 填 写 你 所 在 的 省 自 治 区 直 辖 市 计 划 单 列 市 的 名 称 2. 在 答
More informationUser ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2
Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03
More informationMicrosoft Word - Learn Objective-C.doc
Learn Objective C http://cocoadevcentral.com/d/learn_objectivec/ Objective C Objective C Mac C Objective CC C Scott Stevenson [object method]; [object methodwithinput:input]; output = [object methodwithoutput];
More information在 ongodb 中实现强事务
在 ongodb 中实现强事务 600+ employees 2,000+ customers 13 offices worldwide 15,000,000+ Downloads RANK DBMS MODEL SCORE GROWTH (20 MO) 1. Oracle Rela+onal DBMS 1,442-5% 2. MySQL Rela+onal DBMS 1,294 2% 3.
More informationmvc
Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication
More informationC/C++ - 文件IO
C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;
More informationD C 93 2
D9223468 3C 93 2 Java Java -- Java UML Java API UML MVC Eclipse API JavadocUML Omendo PSPPersonal Software Programming [6] 56 8 2587 56% Java 1 epaper(2005 ) Java C C (function) C (reusability) eat(chess1,
More informationebook39-6
6 first-in-first-out, FIFO L i n e a r L i s t 3-1 C h a i n 3-8 5. 5. 3 F I F O L I F O 5. 5. 6 5. 5. 6.1 [ ] q u e n e ( r e a r ) ( f r o n t 6-1a A 6-1b 6-1b D C D 6-1c a) b) c) 6-1 F I F O L I F ADT
More informationMicrosoft Word zw
第 1 章 Android 概述 学习目标 : Android Android Android Studio Android Android APK 1.1 1. 智能手机的定义 Smartphone 2. 智能手机的发展 1973 4 3 PC IBM 1994 IBM Simon PDA PDA Zaurus OS 1996 Nokia 9000 Communicator Nokia 9000
More information第一章 章标题-F2 上空24,下空24
Web 9 XML.NET Web Web Service Web Service Web Service Web Service Web Service ASP.NET Session Application SOAP Web Service 9.1 Web Web.NET Web Service Web SOAP Simple Object Access Protocol 9.1.1 Web Web
More informationres/layout 目录下的 main.xml 源码 : <?xml version="1.0" encoding="utf 8"?> <TabHost android:layout_height="fill_parent" xml
拓展训练 1- 界面布局 1. 界面布局的重要性做应用程序, 界面是最基本的 Andorid 的界面, 需要写在 res/layout 的 xml 里面, 一般情况下一个 xml 对应一个界面 Android 界面布局有点像写 html( 连注释代码的方式都一样 ), 要先给 Android 定框架, 然后再在框架里面放控件,Android 提供了几种框架,AbsoluteLayout,LinearLayout,
More informationImportant Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO
Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS
More information2_dvdr3380_97_CT_21221b.indd
64 65 66 ALL 3 67 a STANDBY-ON 2 a b c d e f g h i j k l b TIMER c SYSTEM-MENU d e SELECT f REC g. > h TOP MENU i ANGLE j RETURN k SUBTITLE l REC MODE 68 m n REC SOURCE o DISC-MENU p OK q EDIT r PLAYÉ
More informationC H A P T E R 7 Windows Vista Windows Vista Windows Vista FAT16 FAT32 NTFS NTFS New Technology File System NTFS
C H P T E R 7 Windows Vista Windows Vista Windows VistaFT16 FT32NTFS NTFSNew Technology File System NTFS 247 6 7-1 Windows VistaTransactional NTFS TxFTxF Windows Vista MicrosoftTxF CIDatomicity - Consistency
More informationebook50-11
11 Wi n d o w s C A D 53 M F C 54 55 56 57 58 M F C 11.1 53 11-1 11-1 MFC M F C C D C Wi n d o w s Wi n d o w s 4 11 199 1. 1) W M _ PA I N T p W n d C W n d C D C * p D C = p W n d GetDC( ); 2) p W n
More information概述
OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3
More informationuntitled
Velocity 14 100061 315@pptph.com.cn http://www.pptph.com.cn 010-67129212 010-67129211 787 1092 1/16 22 535 1 0 000 2001 11 1 2001 11 1 ISBN 7-115-09828-X/TP 2577 32.00 01067129223 1 2 1 2 3 4 5 1 Velocity
More informationINTRODUCTION TO COM.DOC
How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX
More information软件工程文档编制
实训抽象类 一 实训目标 掌握抽象类的定义 使用 掌握运行时多态 二 知识点 抽象类的语法格式如下 : public abstract class ClassName abstract void 方法名称 ( 参数 ); // 非抽象方法的实现代码 在使用抽象类时需要注意如下几点 : 1 抽象类不能被实例化, 实例化的工作应该交由它的子类来完成 2 抽象方法必须由子类来进行重写 3 只要包含一个抽象方法的抽象类,
More informationCANVIO_AEROCAST_CS_EN.indd
简 体 中 文...2 English...4 SC5151-A0 简 体 中 文 步 骤 2: 了 解 您 的 CANVIO AeroCast CANVIO AeroCast 无 线 移 动 硬 盘 快 速 入 门 指 南 欢 迎 并 感 谢 您 选 择 TOSHIBA 产 品 有 关 您 的 TOSHIBA 产 品 的 详 情, 请 参 阅 包 含 更 多 信 息 的 用 户 手 册 () 安
More information2782_OME_KM_Cover.qxd
数码说明书之家 2005.09.06 www.54gg.com 2 3 4 5 6 7 9 8...14...14...17...18...19...20...20...20...21...22...23...24...24...25...26...28...28...29...29...30...32...32 EVF LCD...32...33...34...34...35...35...36...36...37...38...39...40...40...41...41...42...43...44...45...45...46...47...48...49...50...50
More information