RSS图片
Android
相信看这篇文章的人都应该知道android中的Dialog了吧,如果对于Dialog还不是很了解可以看我之前的一篇详解文章: Dialog详解:http://www.cnblogs.com/tianzhijiexian/p/3867731.html 随着Fragment这个类的引入,Google官方推荐大家使用DialogFragment来代替传统的Dialog,那么是不是说我们之前学习的Dialog知识都没有用处了呢?非也,新的fragment是来方便大家更好的管理和重用Dialog,之前的知识其实都是可以拿来就用的,仅仅需要少许的改变。  ......
作者:发表于:2016/05/05 点击:11 评论:0
慢慢适应,然后更改设置keymap之后,用起来越来越有vs的fu了 http://www.myandroidsolutions.com/2014/06/21/android-studio-intellij-idea-code-regions/ If you ever worked with Xcode then you must know the power of “#pragma mark” macro. You could just define regions of code using that and sometimes it helps when you have classes that can get a bit big or if you just want to have a nice structure of ......
作者:发表于:2016/05/05 点击:2431 评论:0
JAVA部分 this.wvMeaning.addJavascriptInterface(new JavaScriptInterface(this), "Android"); public class JavaScriptInterface{ Context mContext; /** * Instantiate the interface and set the context */ JavaScriptInterface(Context c) { mContext = c; } /** * Show a toast from the web page */ //annotate the callback method with @JavascriptInterface. @JavascriptInterface ......
作者:发表于:2016/05/05 点击:10 评论:0
修复Android Google账号联系人同步选项丢失 很多国内Android ROM删除了Google服务,需要另外安装,有时安装不完整,导致部分Google账号同步选项丢失。比如在Google账户同步下,找不到同步联系人的选项,导致无法同步Google联系人到手机上。对于Google账号联系人同步选项丢失的问题,可以通过安装丢失的APK来解决。 在http://opengapps.org/根据手机类型,下载完整的GApps包,解压后找到 1 \Core\googlecontactssync.tar.xz 继续解压,最后得到 GoogleContactsSyncA...
作者:发表于:2016/04/24 点击:54 评论:0
Overview The Wave file format is Windows' native file format for storing digital audio data. It has become one of the most widely supported digital audio file formats on the PC due to the popularity of Windows and the huge number of programs written for the platform. Almost every modern program that can open and/or save digital audio supports this file format, making it both extremely useful......
作者:发表于:2016/04/19 点击:0 评论:0
The WAVE file format is a subset of Microsoft's RIFF specification for the storage of multimedia files. A RIFF file starts out with a file header followed by a sequence of data chunks. A WAVE file is often just a RIFF file with a single "WAVE" chunk which consists of two sub-chunks -- a "fmt " chunk specifying the data format and a "data" chunk containing the actual sample data. Call this fo......
作者:发表于:2016/04/19 点击:0 评论:0
采样率 / 取樣頻率(sample rate)  采样率是指从连续信号中每秒钟采集到的采样数量。用Fs kHz来表示,最高频率可表示为Fs/2 kHz(见奈奎斯特Nyquist频率)。  采样定理表明这是......
作者:发表于:2016/04/18 点击:32 评论:0
The libspeex library contains all the functions for encoding and decoding speech with the Speex codec. When linking on a UNIX system, one must add -lspeex -lm to the compiler command line. One important thing to know is that libspeex calls are reentrant, but not thread-safe. That means that it is fine to use calls from many threads, but calls using the same state from multiple threads must......
作者:发表于:2016/04/17 点击:17 评论:0
常 看到同學們上課時用錄音筆錄下上課的情形,下課後錄音筆搖身一變成為MP3隨身聽,讚嘆之外也有好奇,現在的MP3隨身聽較十幾年前的錄音帶隨身聽音質可 有進境,遂借來試聽,數位的MP3,類比的錄音帶,大小各異,互有長短,惟音質不夠細膩,一問之下,原來同學為了多存幾首歌,犧牲了頻率響應,到底,要怎 麼轉檔,轉成什麼檔比較好,這其中的原理為何,請看以下介紹。 以數位訊號紀錄類比聲音的方法 為了令人更容易瞭解其中的意......
作者:发表于:2016/04/17 点击:5 评论:0
    之前写过一篇《RTMP中FLV流到标准h264、acc的转换》,链接地址 http://www.cnblogs.com/chef/archive/2012/07/18/2597279.html 。着重分析了RTMP协议中h264的抽取。     带音视频交互的flash项目中,音频编码只能选择speex格式。     这篇文章分为三部分。分别为flex中提供的音频接口、RTMP中的speex数据、如何转换为RTP流。   一、flex中提供的音频接口     用flex编写客户端,它提供的接口是封装......
作者:发表于:2016/04/17 点击:6 评论:0