通过程序获取android系统手机的铃声和音量。同样,设置铃声和音量的方法也很简单!AudioManager am = (AudioManager)
getSystemService(Context.AUDIO_SERVICE);//通话音量 int max = am.getStreamMaxVol...
分类:
移动开发 时间:
2014-04-30 02:26:46
阅读次数:
586
package com.szy.service;import
android.app.Service;import android.content.Intent;import
android.os.IBinder;import android.util.Log;public class Exampl...
分类:
其他好文 时间:
2014-04-30 00:10:08
阅读次数:
510
转自:http://blog.csdn.net/lane_l/article/details/20235909准备篇:1、配置防火墙,开启80端口、3306端口vi
/etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp ...
分类:
其他好文 时间:
2014-04-29 22:55:19
阅读次数:
710
java.lang.SecurityException: Requires
READ_PHONE_STATE: Neither user 10088 nor current process has
android.permission.READ_PHONE_STATE.今天写了一款发短信的软件,拿了...
分类:
移动开发 时间:
2014-04-29 18:16:15
阅读次数:
1324
package com.szy.service;import
android.app.IntentService;import android.content.Intent;import
android.util.Log;public class ExampleIntentService exten...
分类:
其他好文 时间:
2014-04-29 18:02:50
阅读次数:
432
整理一下最近面试被问到的主要题目。由于本人主要是做WEB及WEB
SERVICE这块,使用的语言主要是C#,数据库主要用到的也是MSSQL。所以就分成这些块来整理(有些是在面试之后才意识到回答不对),也包括部分别人被问及的。一、HTML、CSSposition有哪几种值,各是怎么使用的?一个左右部局...
分类:
数据库 时间:
2014-04-29 16:03:38
阅读次数:
566
先确保本地Linux服务器SSH服务开启,如果没有开启直接执行指令:service sshd
start然后我们使用ssh指令进行远程登陆ssh username@ip-address输入passwd指令修改旧密码修改默认账号rootvi
/etc/passwd按i键进入编辑状态修改第1行第1个ro...
分类:
系统相关 时间:
2014-04-29 15:51:22
阅读次数:
586
Are you worried that you will not be able to
migrate from http://tfs.visualstudio.com when they start charging for it and you
don’t want to pay? Fear ...
分类:
其他好文 时间:
2014-04-29 10:23:47
阅读次数:
496
protected void lbtnState_Click(object sender,
EventArgs e) { foreach (var item in div_state.Controls) { if (item is LinkB...
分类:
Web程序 时间:
2014-04-29 10:13:46
阅读次数:
438
Cover with polyethylene plastic film intended
for system United States Postal Service . These plastic envelopes are resistant
to puncture and tear, wa...
分类:
数据库 时间:
2014-04-29 10:11:47
阅读次数:
568