上一页 1 ··· 139 140 141 142 143 144 145 146 147 ··· 455 下一页
<audio> 标签属性:src:音乐的URLpreload:预加载autoplay:自动播放loop:循环播放controls:浏览器自带的控制条 1 <audioid="media"src=" http://www.abc.com/test.mp3"controls></audio> <video> 标签属性:src:视频的URLposter:视频封面,没有播放时显示的图片preload:预加载autoplay:自动播放loop:循环播放controls:浏览器自带的控制条width:视频宽度heigh Read More
posted @ 2013-05-29 19:26 javawebsoa Views(586) Comments(0) Diggs(0)
C语言enum关键字很多初学者对枚举(enum)感到迷惑,或者认为没什么用,其实枚举(enum)是个很有用的数据类型。一、枚举类型的使用方法一般的定义方式如下: enum enum_type_name { ENUM_CONST_1, ENUM_CONST_2, ... ENUM_CONST_n } enum_variable_name; 注意:enum_type_name 是自定义的一种数据数据类型名,而enum_variable_name 为enum_type_name类型的一个变量,也就是我们平时常说的枚举变量。实际上enum_type_name类型是对一个变量取值范围的限定,而花括... Read More
posted @ 2013-05-29 19:25 javawebsoa Views(862) Comments(0) Diggs(0)
可能大家都知道我们保存相册到Android手机的时候,然后去打开系统图库找不到我们想要的那张图片,那是因为我们插入的图片还没有更新的缘故,先讲解下插入系统图库的方法吧,很简单,一句代码就能实现MediaStore.Images.Media.insertImage(getContentResolver(), mBitmap, "", "");通过上面的那句代码就能插入到系统图库,这时候有一个问题,就是我们不能指定插入照片的名字,而是系统给了我们一个当前时间的毫秒数为名字,有一个问题郁闷了很久,我还是先把insertImage的源码贴出来吧 /** * In Read More
posted @ 2013-05-29 19:24 javawebsoa Views(535) Comments(0) Diggs(0)
/* * CCycleBuffer.h * * Created on: 2013-5-27 * Author: shiguang */#ifndef __test__CCycleBuffer__#define __test__CCycleBuffer__#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>class CCycleBuffer{public: bool isFull(); bool isEmpty(); void Empty(); in Read More
posted @ 2013-05-29 19:22 javawebsoa Views(669) Comments(0) Diggs(0)
multimap 是属于关联容器的一个(其它三个是map、set、multiset),关联容器的插入、删除和查找时间都相同,为O( log(N) 。在学习 multimap 之前最好得先对 map 和 pair 有一定的了解。 multimap是一个允许有多个同键元素的map。其接口与map接口基本相同,只有以下几点改变:multimap 没有提供operator[ ]。由于一个键可能对应多个元素,所以这个操作符没有意义。multimap上的插入总会成功。因此,多映射(multimap)insert()增加一个元素时,并不需要返回 iterator 和 bool 的 pair 。它只返回 i. Read More
posted @ 2013-05-29 19:21 javawebsoa Views(226) Comments(0) Diggs(0)
导入苹果的两个框架是必不可少的环节。。。 代码部分+小解:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. AudioSessionInitialize (NULL, NULL, NULL, NULL); /* OSStatus AudioSessionInitialize ( CFRunLoopRef inRunLoo... Read More
posted @ 2013-05-29 19:20 javawebsoa Views(300) Comments(0) Diggs(0)
原题:BackgroundProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property of an algorithm whose classification is not known for all possible inputs.The ProblemConsider the following a Read More
posted @ 2013-05-29 19:19 javawebsoa Views(180) Comments(0) Diggs(0)
布局以及效果图片代码Strings.xml------------------------------------------------------------------------------------<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">day01_msm</string> <string name="action_settings"> Read More
posted @ 2013-05-29 19:18 javawebsoa Views(197) Comments(0) Diggs(0)
在pub闲逛时看到这么一个问题: 开发人员反应,用pl/sql developer查询mchnt这张IOT表特别慢,但其它表都很快,具体情况如下: 1、表数据量很少 select count(1) from ap07.mchnt; COUNT(1) ---------- 12 2、mchnt表的pk index的段信息: ------------------Basic Info--------------------- segment_name............................PK_MCHNT segment_type........................... Read More
posted @ 2013-05-29 19:16 javawebsoa Views(256) Comments(0) Diggs(0)
1、什么是JSF: JSF规范本身就是JavaEE5的MVC规范,它提倡以桌面组件的方式来隐藏传统web开发的HTTP细节,允许开发者以传统 桌面编程的方式开发web应用。JSF通过将托管Bean(Managed-Bean)的属性或方法绑定到页面组件的Value属性或 Action属性,这样就可以很方面地实现系统的MVC控制。 2、JSF规范的实现: sun公司已JSF规范提供了实现,即SUN的参考实现,即JSF RI,还用一个是Apache组织的实现MyFaces,MyFaces 在实现了JSF RI的基本功能外... Read More
posted @ 2013-05-29 00:01 javawebsoa Views(1771) Comments(1) Diggs(0)
上一页 1 ··· 139 140 141 142 143 144 145 146 147 ··· 455 下一页