Google [站内搜索]

预览模式: 普通 | 列表

Android使用MediaPlayer播放mp3音乐示例

package com.mzwu.www;

import android.content.res.AssetFileDescriptor;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;

查看更多...

分类:Android编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3514

Fiddler插件SyntaxView下载

引用内容 引用内容
[Fiddler] The connection to 'www.telerik.com' failed.
Error: TimedOut (0x274c).
System.Net.Sockets.SocketException 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 50.56.19.112:80

下载SyntaxView经常出现这样的错误,干脆放博客中方便以后下载:

查看更多...

分类:操作系统 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 39883

Playing Audio on Android from an HTML5 File[转]

Introduction

Earlier today, I came across a problem. I have been working on an App in Android that displays HTML5 files from the assets folder inside a WebView. One of the big problems with playing Audio in an HTML5 page is that a lot of browsers do not support the <audio> tag; this includes several versions of the WebView control in different versions of Android. The bottom line is that you can't expect standardized results across different versions of Android when using the HTML5 <audio> tag. So we're going to use a workaround that uses the native Android method of playing audio.

Here is a synopsis of the paragraphs below that describe how to implement the code.

查看更多...

分类:Android编程 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 5461
截至今天(2015年1月27日)为止,全知乎平均每字数赞最多的96个答案(去掉标点符号、也不包括一图流):

老兵尹吉先是谁?是参加过解放战争、抗美援朝战争的老兵吗?
老兵尹吉先:是。
1个字,3155个赞同,平均每字3155个赞同

查看更多...

分类:网络文摘 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2521