下面列出了android.provider.Settings#ACTION_SOUND_SETTINGS 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
void openMusic() {
hide();
if (hasAlbumArt) {
launchMusicApp();
} else {
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}
}
void openMusic() {
hide();
if (hasAlbumArt) {
launchMusicApp();
} else {
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}
}
void openMusic() {
hide();
if (hasAlbumArt) {
launchMusicApp();
} else {
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}
}
void openMusic() {
hide();
if (hasAlbumArt) {
launchMusicApp();
} else {
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}
}
protected void launchSoundSettings() {
hide();
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}
protected void launchSoundSettings() {
hide();
Intent volumeSettings = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(volumeSettings);
}