你好 关于穹之扉securom破解 laucher

下次自动登录
现在的位置:
& 综合 & 正文
launcher 学习网址
(1)ADW_Launcher的下载和编译注意事项Launcher数据库研究(一)Launcher预设WidgetLauncher 上的动画效果Launcher 抽屉图标更改Android2.2 Luncher2扩展(仿Ipad DockBar、HTC预览图、批量添加快捷方式、启用3D效果等)给Launcher添加壁纸的方法Launcher2启动后图标获取焦点问题将Launcher2导入Eclipse编译调试浅谈如何给appwidget添加复杂view为launcher添加仿HTC的preview(开源,附源码)探秘widget之launcher添加widget的流程分析launcher2中图标拖拽的简单分析android桌面文件夹美化为launcher添加一个仿Mac的dock(附源码)
技术开发海量资料下载导航
http://huangwen.blog.163.com/blog/static//
【上篇】【下篇】Android声音焦点----从音乐回到Luncher调节音量显示的是Music的音量
声音的类型有:定义在AudioSystem.java文件中
/* The default audio stream */
public static final int STREAM_DEFAULT = -1;
/* The audio stream for phone calls */
public static final int STREAM_VOICE_CALL = 0;
/* The audio stream for system sounds */
public static final int STREAM_SYSTEM = 1;
/* The audio stream for the phone ring and message alerts */
public static final int STREAM_RING = 2;
/* The audio stream for music playback */
public static final int STREAM_MUSIC = 3;
/* The audio stream for alarms */
public static final int STREAM_ALARM = 4;
/* The audio stream for notifications */
public static final int STREAM_NOTIFICATION = 5;
/* @hide The audio stream for phone calls when connected on bluetooth */
public static final int STREAM_BLUETOOTH_SCO = 6;
/* @hide The audio stream for enforced system sounds in certain countries (e.g camera in Japan) */
public static final int STREAM_SYSTEM_ENFORCED = 7;
/* @hide The audio stream for DTMF tones */
public static final int STREAM_DTMF = 8;
/* @hide The audio stream for text to speech (TTS) */
public static final int STREAM_TTS = 9;
正常情况下在音、视频界面调节音量调节的Stream是STREAM_MUSIC,回到Luncher调节的是STREAM_VOICE_CALL,但这个切换有点延迟StreamOverride.sDelayMs,导致退出音、视频界面后马上调节,改变的还是STREAM_MUSIC的大小,如图所示:
* For code clarity for getActiveStreamType(int)
* @param delay_ms max time since last STREAM_MUSIC activity to consider
* @return true if STREAM_MUSIC is active in streams handled by AudioFlinger now or
in the last &delay_ms& ms.
private boolean isAfMusicActiveRecently(int delay_ms) {
return AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, delay_ms)
|| AudioSystem.isStreamActiveRemotely(AudioSystem.STREAM_MUSIC, delay_ms);
private int getActiveStreamType(int suggestedStreamType) {
switch (mPlatformType) {
case PLATFORM_VOICE:
if (isInCommunication()) {
if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION)
== AudioSystem.FORCE_BT_SCO) {
// Log.v(TAG, &getActiveStreamType: Forcing STREAM_BLUETOOTH_SCO...&);
return AudioSystem.STREAM_BLUETOOTH_SCO;
// Log.v(TAG, &getActiveStreamType: Forcing STREAM_VOICE_CALL...&);
return AudioSystem.STREAM_VOICE_CALL;
} else if (suggestedStreamType == AudioManager.USE_DEFAULT_STREAM_TYPE) {
if (isAfMusicActiveRecently(StreamOverride.sDelayMs)) {
if (DEBUG_VOL)
Log.v(TAG, &getActiveStreamType: Forcing STREAM_MUSIC stream active&);
return AudioSystem.STREAM_MUSIC;
if (DEBUG_VOL)
Log.v(TAG, &getActiveStreamType: Forcing STREAM_RING b/c default&);
return AudioSystem.STREAM_RING;
} else if (isAfMusicActiveRecently(0)) {
if (DEBUG_VOL)
Log.v(TAG, &getActiveStreamType: Forcing STREAM_MUSIC stream active&);
return AudioSystem.STREAM_MUSIC;
case PLATFORM_TELEVISION:
if (suggestedStreamType == AudioManager.USE_DEFAULT_STREAM_TYPE) {
// TV always defaults to STREAM_MUSIC
return AudioSystem.STREAM_MUSIC;
if (isInCommunication()) {
if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION)
== AudioSystem.FORCE_BT_SCO) {
if (DEBUG_VOL) Log.v(TAG, &getActiveStreamType: Forcing STREAM_BLUETOOTH_SCO&);
return AudioSystem.STREAM_BLUETOOTH_SCO;
if (DEBUG_VOL)
Log.v(TAG, &getActiveStreamType: Forcing STREAM_VOICE_CALL&);
return AudioSystem.STREAM_VOICE_CALL;
} else if (AudioSystem.isStreamActive(AudioSystem.STREAM_NOTIFICATION,
StreamOverride.sDelayMs) ||
AudioSystem.isStreamActive(AudioSystem.STREAM_RING,
StreamOverride.sDelayMs)) {
if (DEBUG_VOL) Log.v(TAG, &getActiveStreamType: Forcing STREAM_NOTIFICATION&);
return AudioSystem.STREAM_NOTIFICATION;
} else if (suggestedStreamType == AudioManager.USE_DEFAULT_STREAM_TYPE) {
if (isAfMusicActiveRecently(StreamOverride.sDelayMs)) {
if (DEBUG_VOL) Log.v(TAG, &getActiveStreamType: forcing STREAM_MUSIC&);
return AudioSystem.STREAM_MUSIC;
if (DEBUG_VOL) Log.v(TAG,
&getActiveStreamType: using STREAM_NOTIFICATION as default&);
return AudioSystem.STREAM_NOTIFICATION;
if (DEBUG_VOL) Log.v(TAG, &getActiveStreamType: Returning suggested type &
+ suggestedStreamType);
return suggestedStreamT
把isAfMusicActiveRecently(StreamOverride.sDelayMs) 改为: isAfMusicActiveRecently(0) 或一个小的值。反恐精英ol failed to
initialize
下载dxwebsetup安装下载驱动精灵或驱动人生更新所有驱动。驱动精灵(一键更新):
大小:1.9G
请先输入你要提问的游戏名称:
问题标题(一句话简要说明):
问题标题只可以输入40个汉字
问题补充说明(可选):

我要回帖

更多关于 securomlauncher 的文章

 

随机推荐