- 《Android进阶之光》— Android 书籍
王睿丶
Android永无止境《Android进阶之光》Android书籍Androidphoenix移动开发
文章目录第1章Android新特性1第2章MaterialDesign48第3章View体系与自定义View87第4章多线程编程165第5章网络编程与网络框架204第6章设计模式271第7章事件总线308第8章函数响应式编程333第9章注解与依赖注入框架382第10章应用架构设计422第11章系统架构与MediaPlayer框架460出版年:2017-7简介:《Android进阶之光》是一本And
- 移动应用-音视频播放
绚烂的萤火
移动开发android音视频
一.音频1.Mediaplayer设置数据源的三种方式:应用自带的音频,SD卡中的音频、网络音频MediaPlayerplayer=newMediaPlayer();player=Mediaplayer.create(this,R.raw.XX);player=MediaPlayer.setDatasource("SD卡路径/网络路径");设置按钮并添加监听事件,实现音乐的播放、暂停2.Sound
- Android视频开发进阶-关于视频的那些术语,android软件开发计算器
wa32saa
程序员架构移动开发android
原文出处:jianshu正文说到安卓的视频开发,大多数朋友们都是用着开源的播放器,或者安卓自带的nativemediaplayer,拿来主义居多,我曾经也是。。。最近这半年因为开始着手重构公司的播放器,也开始学习了很多视频音频开发的相关知识,抱着独乐乐不如众乐乐的想法,开始写一些值得分享的东西。这次的连载和之前的RxJava分享一样,会分开不容的章节。第一次我打算分享一下视频开发中常见的一些知识点
- C++/Qt 多媒体(续一)
张鱼小丸子_微辣
C++/Qtc++qt
一、前言前边讲述到了Qt的两项独特的模块编程支持的另一项内容——多媒体编程,上篇文章具体讲述的是QMediaPlayer类的一些主要接口函数、信号以及媒介的元数据类型等,而本章将会提供一篇示例代码——《基于QMediaPlayer的音乐播放器》。对于前文的《多媒体》内容,可以自行查看文章:C++/Qt多媒体-CSDN博客二、基于QMediaPlayer的音乐播放器1、播放器功能概述这是一个基于QM
- android开发之MediaPlayer+Service MP3播放器
自律给你自由
android开发serviceandroidbutton音乐stringnull
importjava.io.File;importjava.io.FilenameFilter;importjava.util.ArrayList;importjava.util.List;importandroid.app.ListActivity;importandroid.apps.service.PlayerService;importandroid.content.Intent;impo
- 播放器常见的格式主要包括音频格式和视频格式
行动之上
格式工厂
播放器常见的格式主要包括音频格式和视频格式。音频格式:MP3:一种广泛使用的音频压缩格式,具有高压缩率和较好的音质。可以使用各种媒体播放器(如WindowsMediaPlayer、VLC等)播放MP3文件。WAV:一种无损音频格式,支持高质量的音频。通常用于专业音频编辑和制作。WAV文件可以使用专门的音频编辑软件(如Audacity等)进行编辑和处理。AAC:一种高级音频编码格式,提供比MP3更好
- javaweb网络视频播放器系统springboot
QQ402205496
java音视频springboot
不知道你有没有这个的尴尬经历:用了N天才下载完成的网络视频并不像影片介绍的那样清新、好看;或者影片已经下载了99%了,却突然不能下载了,结果几天的努力付诸东流。但是VLCmediaplayer,它可以播放为下载完全的网络视频,这样就可以先下载网络视频的一部分,看看影片是否清新、精彩,然后再选择是否下载,从而大大节省了时间和经历。但像现在的暴风影音,windowsmediaplayer等播放器都不能
- AS中packagingOptions使用
安卓技术砖家
使用方法packagingOptions常见的设置项有exclude、pickFirst、doNotStrip、merge。1.exclude过滤掉某些文件或者目录不添加到APK中,作用于APK,不能过滤aar和jar中的内容。packagingOptions{exclude'META-INF/**'exclude'lib/arm64-v8a/libmediaplayer.so'}2.pickFi
- 电脑桌面云便签定时提醒待办事项通知没有声音如何解决?
宝玉敬业
部分Windows用户反馈使用电脑桌面云便签设置了定时提醒通知待办到达提醒时间后没有声音,不知道怎么办了。针对这部分用户遇到的问题是因为WindowsMediaPlayer播放器被损坏造成的所以无法播放部分声音。怎么修复WindowsMediaPlayer播放器让电脑云便签恢复声音提醒通知?1、点击Windows电脑左下角的Windows图标,并点击打开设置功能;2、打开Windows设置后,在输
- [Android] Client->NuPlayer
ykun089
Androidframeworkandroid
@startumllefttorightdirectionpackagelibmediaplayerservice{classClient{1voidMediaPlayerService::Client::disconnect()12status_tMediaPlayerService::Client::reset()1}classNuPlayerDriver{1status_tNuPlayerD
- gradle配置项-packagingOptions
大冷月
packagingOptions常见的设置项有exclude、pickFirst、doNotStrip、merge。exclude,过滤掉某些文件或者目录不添加到APK中,作用于APK,不能过滤aar和jar中的内容。比如:packagingOptions{exclude'META-INF/**'exclude'lib/arm64-v8a/libmediaplayer.so'}pickFirst,
- Android14音频进阶:MediaPlayerService如何启动AudioTrack 下篇(五十六)
Android系统攻城狮
AndroidAudio工程师进阶系列音视频android14音频进阶
简介:CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长!优质专栏:Audio工程师进阶系列【原创干货持续更新中……】优质专栏:多媒体系统工程师系列【原创干货持续更新中……】人生格言:人生从来没有捷径,只有行动才是治疗恐惧和懒惰的唯一良药.更多原创,欢迎关注:Android系统攻城狮<
- 安卓OpenGL如何在播放视频使用GLSurfaceView与添加特
baoyu45585
androidandroid音视频
安卓如何在播放视频使用GLSurfaceView与添加特1、实现动态修改OpenGL的纹理2、在使用mediaPlayer进行解码获取每帧也可以用FFmpeg对suface进行渲染3、在使用GLSurfaceView监听渲染每帧的时进行做特效4、流行特效抖动、灵魂出窍、尖锐等10来种特效主要知识点:Opengl和解码渲染特效demo下载效果图片:
- Android14音频进阶:MediaPlayerService如何启动AudioTrack 上篇(五十五)
Android系统攻城狮
AndroidAudio工程师进阶系列音视频
简介:CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长!优质专栏:Audio工程师进阶系列【原创干货持续更新中……】优质专栏:多媒体系统工程师系列【原创干货持续更新中……】人生格言:人生从来没有捷径,只有行动才是治疗恐惧和懒惰的唯一良药.更多原创,欢迎关注:Android系统攻城狮<
- 最常用计算机文件后缀名,文件扩展名/后缀名是什么 常用的文件扩展名大全
乖神队长
最常用计算机文件后缀名
文件扩展名也称为文件的后缀名,是操作系统用来标记文件类型的一种机制。通常来说,一个扩展名是跟在主文件名后面的,由一个分隔符分隔。下面小编为大家整理了一些常用的文件扩展名。扩展名文件类型打开方式.aiff声音文件WindowsmediaPlayer.!!!Netants暂存文件Netants.ani动画鼠标.arj压缩文件ARJ.avi电影文件WindowsmediaPlayer.awd传真文档.b
- 使用 python 写 COM
DarkChampion
Pythonpythonservermoduleimportdebuggingpath
原帖地址:http://www.cppblog.com/bigsml/archive/2008/08/14/58851.htmlPython支持Com调用(clientcom)以及撰写COM组件(servercom).1.com调用示例(使用WindowsMediaPlayer播放音乐)fromwin32com.clientimportDispatchmp=Dispatch("WMPlayer.O
- Qt入门小项目 超详细注释 附源码
无泡汽水
Qtqtqt5c++开源音视频
音乐盒一,系统功能(1)暂停、播放音乐(2)上、下切换音乐(3)滑动调节音量(4)定时切换名人名言(5)显示时间(年月日,时分秒,周几)注:效果图如下二,项目涉及:1,QPushButton2,QMediaPlayer3,QMediaPlaylist4,QTimer,5,QDateTime6,Ui设计三,UI部分1,整体布局2,布局嵌套3,对象嵌套4,stackedWidget内部四,附源代码1,
- 使用MediaMuxer裁剪视频
PlayInSea
MediaPlayer的使用使用MediaMuxer裁剪视频1.解封装,获取不同tracks上的format2.配置MediaMuxer3.向MediaMuxer中写入数据4.释放资源使用MediaMuxer裁剪视频剪辑的过程大概是,先把封装格式的视频文件通过MediaExtractor进行解封装操作,分出不同的tracks,然后针对不同的tracks进行seekTo到我们需要开始裁剪的地方,然后
- 05.视频播放器内核切换封装
杨充211
05.视频播放器内核切换封装目录介绍01.视频播放器内核封装需求02.播放器内核架构图03.如何兼容不同内核播放器04.看一下ijk的内核实现类05.看一下exo的内核实现类06.如何创建不同内核播放器07.看一下工厂类实现代码08.后期如何添加新的内核00.视频播放器通用框架基础封装视频播放器player,可以在ExoPlayer、MediaPlayer,声网RTC视频播放器内核,原生Media
- 什么是适配器模式
Hell_potato777
适配器模式javac++
什么是适配器模式介绍实现为媒体播放器和更高级的媒体播放器创建接口。创建实现了AdvancedMediaPlayer接口的实体类。创建实现了MediaPlayer接口的适配器类。创建实现了MediaPlayer接口的实体类。使用AudioPlayer来播放不同类型的音频格式。执行程序,输出结果:适配器模式(AdapterPattern)是作为两个不兼容的接口之间的桥梁。这种类型的设计模式属于结构型模
- MediaPlayer(总结)--从对象生命周期理解MediaPlayer状态
蓝狮
播放器android
为了方便先重复贴一下MediaPlayer的状态图和MediaPlayer的基本框架总的分为几个模块,为方便后续文章的书写,各模块后续统一用括号里面的名词java层MediaPlayer(MediaPlayer)jni层(jni)mediaplayerclient端(mediaplayer)MediaPlayerservice端(MediaPlayerService)nativemediplaye
- Android多媒体开发【4】-- 上层mediaPlayer 是如何调到Stagefright的【2】【图解】
tx3344
【架构与思想】【Android】【多媒体技术】Android多媒体开发音视频开发
基于android4.1.1源码【1】mediaserver启动后会把media相关一些服务添加到servicemanager中,其中就有mediaPlayerService.这样应用启动前,系统就有了mediaPlayerService这个服务程序。intmain(intargc,char**argv){spproc(ProcessState::self());spsm=defaultServi
- Android——Mediaplay 框架调用
南丶烟
【Android—框架】androidmediaplaybinderserver
基于android4.1.1源码【1】mediaserver启动后会把media相关一些服务添加到servicemanager中,其中就有mediaPlayerService.这样应用启动前,系统就有了mediaPlayerService这个服务程序。[java]viewplaincopyintmain(intargc,char**argv){spproc(ProcessState::self()
- [Android] SDK->NuPlayer
ykun089
Androidframeworkandroid
@startumllefttorightdirectionclassMediaPlayerSDK{MediaPlayer.java1voidaddOnRoutingChangedListener(AudioRouting.OnRoutingChangedListenerlistener,Handlerhandler)102voidaddTimedTextSource(FileDescriptorf
- 通过EXCEL VB宏功能实现英语单词的英式美式读音
杨林山123
exceljson自动翻译
先看效果:英音美音自动发音1、EXCEL需要开启宏参考:【VBA】excel开启宏,打开开发者模式_vba宏的免费启用方法-CSDN博客2、插入windowsmediaplayer3、打开VisualBasic-插入模块-编写代码UK获取英式读音UN获取美式读音SubplayUK()'获取读音音频文件Sheets("sheet1").WindowsMediaPlayer1.Url="http://
- Android GitHub高分优秀中文项目
KingWorld
CarGuo/GSYVideoPlayer视频播放器(IJKplayer、ExoPlayer、MediaPlayer),HTTPS,支持弹幕,外挂字幕,支持滤镜、水印、gif截图,片头广告、中间广告,多个同时播放,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放,列表全屏动画,视频加载速度,列表小窗口
- initPlayer初始化过程(一)
andylao62
流媒体androidc++ijkplayer
目录简要流程图代码分析1)so库加载及初始化2)创建Looper线程3)so相关操作setup简要本文主要介绍ijkplayer的初始过程先看LOGD/IJKMEDIA:IjkMediaPlayer_native_initD/IJKMEDIA:IjkMediaPlayer_native_setupI/IJKMEDIA:av_version_info:ff3.4--ijk0.8.7--2018010
- ijkplayer解码器的准备过程(二)
andylao62
流媒体androidjikplayer
简要本文介绍,从prepareAsync后,到onPrepared回调的过程先看LogV/IJKMEDIA:setDataSource:pathhttp://weblive.hebtv.com/live/hbws_bq/index.m3u8D/IJKMEDIA:IjkMediaPlayer_prepareAsyncD/IJKMEDIA:ijkmp_prepare_async()I/IJKMEDIA
- [Android] libmedia-libmediaplayerservice 框架
ykun089
Androidframeworkandroid
@startumlpackagelibmedia{classMediaPlayer{1status_tsetListener(constsp&listener);2status_tgetVideoWidth(int*w);3status_tgetVideoHeight(int*h);1~42wrapper_IMediaPlayer();1~7wrapper_IMediaPlayerService(
- ExoPlayer播放器框架详解及应用实践 ------播放MP1/MP2音频格式视频无声音加入Ffmpeg软解码功能
大渔歌_
Android音视频音视频ffmpeg
我们都知道,音视频的播放处理在各个平台都是一个常用的操作和功能,尤其在移动Android平台音视频播放变得复杂得多,要处理不同操作系统版本间的API差别、软硬件的不同、直播点播流的处理、不同音视频编解码的处理、不同流协议的支持等等复杂的操作。以前大多数人对简单的音视频都使用MediaPlayer来处理,不过对于一些企业应用级别的应用来说,MediaPlayer是完全不行的。所以就要基于FFMPEG
- springmvc 下 freemarker页面枚举的遍历输出
杨白白
enumfreemarker
spring mvc freemarker 中遍历枚举
1枚举类型有一个本地方法叫values(),这个方法可以直接返回枚举数组。所以可以利用这个遍历。
enum
public enum BooleanEnum {
TRUE(Boolean.TRUE, "是"), FALSE(Boolean.FALSE, "否");
- 实习简要总结
byalias
工作
来白虹不知不觉中已经一个多月了,因为项目还在需求分析及项目架构阶段,自己在这段
时间都是在学习相关技术知识,现在对这段时间的工作及学习情况做一个总结:
(1)工作技能方面
大体分为两个阶段,Java Web 基础阶段和Java EE阶段
1)Java Web阶段
在这个阶段,自己主要着重学习了 JSP, Servlet, JDBC, MySQL,这些知识的核心点都过
了一遍,也
- Quartz——DateIntervalTrigger触发器
eksliang
quartz
转载请出自出处:http://eksliang.iteye.com/blog/2208559 一.概述
simpleTrigger 内部实现机制是通过计算间隔时间来计算下次的执行时间,这就导致他有不适合调度的定时任务。例如我们想每天的 1:00AM 执行任务,如果使用 SimpleTrigger,间隔时间就是一天。注意这里就会有一个问题,即当有 misfired 的任务并且恢复执行时,该执行时间
- Unix快捷键
18289753290
unixUnix;快捷键;
复制,删除,粘贴:
dd:删除光标所在的行 &nbs
- 获取Android设备屏幕的相关参数
酷的飞上天空
android
包含屏幕的分辨率 以及 屏幕宽度的最大dp 高度最大dp
TextView text = (TextView)findViewById(R.id.text);
DisplayMetrics dm = new DisplayMetrics();
text.append("getResources().ge
- 要做物联网?先保护好你的数据
蓝儿唯美
数据
根据Beecham Research的说法,那些在行业中希望利用物联网的关键领域需要提供更好的安全性。
在Beecham的物联网安全威胁图谱上,展示了那些可能产生内外部攻击并且需要通过快速发展的物联网行业加以解决的关键领域。
Beecham Research的技术主管Jon Howes说:“之所以我们目前还没有看到与物联网相关的严重安全事件,是因为目前还没有在大型客户和企业应用中进行部署,也就
- Java取模(求余)运算
随便小屋
java
整数之间的取模求余运算很好求,但几乎没有遇到过对负数进行取模求余,直接看下面代码:
/**
*
* @author Logic
*
*/
public class Test {
public static void main(String[] args) {
// TODO A
- SQL注入介绍
aijuans
sql注入
二、SQL注入范例
这里我们根据用户登录页面
<form action="" > 用户名:<input type="text" name="username"><br/> 密 码:<input type="password" name="passwor
- 优雅代码风格
aoyouzi
代码
总结了几点关于优雅代码风格的描述:
代码简单:不隐藏设计者的意图,抽象干净利落,控制语句直截了当。
接口清晰:类型接口表现力直白,字面表达含义,API 相互呼应以增强可测试性。
依赖项少:依赖关系越少越好,依赖少证明内聚程度高,低耦合利于自动测试,便于重构。
没有重复:重复代码意味着某些概念或想法没有在代码中良好的体现,及时重构消除重复。
战术分层:代码分层清晰,隔离明确,
- 布尔数组
百合不是茶
java布尔数组
androi中提到了布尔数组;
布尔数组默认的是false, 并且只会打印false或者是true
布尔数组的例子; 根据字符数组创建布尔数组
char[] c = {'p','u','b','l','i','c'};
//根据字符数组的长度创建布尔数组的个数
boolean[] b = new bool
- web.xml之welcome-file-list、error-page
bijian1013
javaweb.xmlservleterror-page
welcome-file-list
1.定义:
<welcome-file-list>
<welcome-file>login.jsp</welcome>
</welcome-file-list>
2.作用:用来指定WEB应用首页名称。
error-page1.定义:
<error-page&g
- richfaces 4 fileUpload组件删除上传的文件
sunjing
clearRichfaces 4fileupload
页面代码
<h:form id="fileForm"> <rich:
- 技术文章备忘
bit1129
技术文章
Zookeeper
http://wenku.baidu.com/view/bab171ffaef8941ea76e05b8.html
http://wenku.baidu.com/link?url=8thAIwFTnPh2KL2b0p1V7XSgmF9ZEFgw4V_MkIpA9j8BX2rDQMPgK5l3wcs9oBTxeekOnm5P3BK8c6K2DWynq9nfUCkRlTt9uV
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token: on near line 1解决方案
白糖_
Hibernate
文章摘自:http://blog.csdn.net/yangwawa19870921/article/details/7553181
在编写HQL时,可能会出现这种代码:
select a.name,b.age from TableA a left join TableB b on a.id=b.id
如果这是HQL,那么这段代码就是错误的,因为HQL不支持
- sqlserver按照字段内容进行排序
bozch
按照内容排序
在做项目的时候,遇到了这样的一个需求:
从数据库中取出的数据集,首先要将某个数据或者多个数据按照地段内容放到前面显示,例如:从学生表中取出姓李的放到数据集的前面;
select * fro
- 编程珠玑-第一章-位图排序
bylijinnan
java编程珠玑
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.Random;
public class BitMapSearch {
- Java关于==和equals
chenbowen00
java
关于==和equals概念其实很简单,一个是比较内存地址是否相同,一个比较的是值内容是否相同。虽然理解上不难,但是有时存在一些理解误区,如下情况:
1、
String a = "aaa";
a=="aaa";
==> true
2、
new String("aaa")==new String("aaa
- [IT与资本]软件行业需对外界投资热情保持警惕
comsci
it
我还是那个看法,软件行业需要增强内生动力,尽量依靠自有资金和营业收入来进行经营,避免在资本市场上经受各种不同类型的风险,为企业自主研发核心技术和产品提供稳定,温和的外部环境...
如果我们在自己尚未掌握核心技术之前,企图依靠上市来筹集资金,然后使劲往某个领域砸钱,然
- oracle 数据块结构
daizj
oracle块数据块块结构行目录
oracle 数据块是数据库存储的最小单位,一般为操作系统块的N倍。其结构为:
块头--〉空行--〉数据,其实际为纵行结构。
块的标准大小由初始化参数DB_BLOCK_SIZE指定。具有标准大小的块称为标准块(Standard Block)。块的大小和标准块的大小不同的块叫非标准块(Nonstandard Block)。同一数据库中,Oracle9i及以上版本支持同一数据库中同时使用标
- github上一些觉得对自己工作有用的项目收集
dengkane
github
github上一些觉得对自己工作有用的项目收集
技能类
markdown语法中文说明
回到顶部
全文检索
elasticsearch
bigdesk elasticsearch管理插件
回到顶部
nosql
mapdb 支持亿级别map, list, 支持事务. 可考虑做为缓存使用
C
- 初二上学期难记单词二
dcj3sjt126com
englishword
dangerous 危险的
panda 熊猫
lion 狮子
elephant 象
monkey 猴子
tiger 老虎
deer 鹿
snake 蛇
rabbit 兔子
duck 鸭
horse 马
forest 森林
fall 跌倒;落下
climb 爬;攀登
finish 完成;结束
cinema 电影院;电影
seafood 海鲜;海产食品
bank 银行
- 8、mysql外键(FOREIGN KEY)的简单使用
dcj3sjt126com
mysql
一、基本概念
1、MySQL中“键”和“索引”的定义相同,所以外键和主键一样也是索引的一种。不同的是MySQL会自动为所有表的主键进行索引,但是外键字段必须由用户进行明确的索引。用于外键关系的字段必须在所有的参照表中进行明确地索引,InnoDB不能自动地创建索引。
2、外键可以是一对一的,一个表的记录只能与另一个表的一条记录连接,或者是一对多的,一个表的记录与另一个表的多条记录连接。
3、如
- java循环标签 Foreach
shuizhaosi888
标签java循环foreach
1. 简单的for循环
public static void main(String[] args) {
for (int i = 1, y = i + 10; i < 5 && y < 12; i++, y = i * 2) {
System.err.println("i=" + i + " y="
- Spring Security(05)——异常信息本地化
234390216
exceptionSpring Security异常信息本地化
异常信息本地化
Spring Security支持将展现给终端用户看的异常信息本地化,这些信息包括认证失败、访问被拒绝等。而对于展现给开发者看的异常信息和日志信息(如配置错误)则是不能够进行本地化的,它们是以英文硬编码在Spring Security的代码中的。在Spring-Security-core-x
- DUBBO架构服务端告警Failed to send message Response
javamingtingzhao
架构DUBBO
废话不多说,警告日志如下,不知道有哪位遇到过,此异常在服务端抛出(服务器启动第一次运行会有这个警告),后续运行没问题,找了好久真心不知道哪里错了。
WARN 2015-07-18 22:31:15,272 com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(84)
- JS中Date对象中几个用法
leeqq
JavaScriptDate最后一天
近来工作中遇到这样的两个需求
1. 给个Date对象,找出该时间所在月的第一天和最后一天
2. 给个Date对象,找出该时间所在周的第一天和最后一天
需求1中的找月第一天很简单,我记得api中有setDate方法可以使用
使用setDate方法前,先看看getDate
var date = new Date();
console.log(date);
// Sat J
- MFC中使用ado技术操作数据库
你不认识的休道人
sqlmfc
1.在stdafx.h中导入ado动态链接库
#import"C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","end")2.在CTestApp文件的InitInstance()函数中domodal之前写::CoIniti
- Android Studio加速
rensanning
android studio
Android Studio慢、吃内存!启动时后会立即通过Gradle来sync & build工程。
(1)设置Android Studio
a) 禁用插件
File -> Settings... Plugins 去掉一些没有用的插件。
比如:Git Integration、GitHub、Google Cloud Testing、Google Cloud
- 各数据库的批量Update操作
tomcat_oracle
javaoraclesqlmysqlsqlite
MyBatis的update元素的用法与insert元素基本相同,因此本篇不打算重复了。本篇仅记录批量update操作的
sql语句,懂得SQL语句,那么MyBatis部分的操作就简单了。 注意:下列批量更新语句都是作为一个事务整体执行,要不全部成功,要不全部回滚。
MSSQL的SQL语句
WITH R AS(
SELECT 'John' as name, 18 as
- html禁止清除input文本输入缓存
xp9802
input
多数浏览器默认会缓存input的值,只有使用ctl+F5强制刷新的才可以清除缓存记录。如果不想让浏览器缓存input的值,有2种方法:
方法一: 在不想使用缓存的input中添加 autocomplete="off"; eg: <input type="text" autocomplete="off" name