コード例 #1
0
ファイル: RubyEngine.java プロジェクト: HEGALLIS/Ruby
 public void togglemute() {
   if (ua.muteMediaApplication())
     Receiver.onText(
         Receiver.CALL_NOTIFICATION,
         getUIContext().getString(R.string.menu_mute),
         android.R.drawable.stat_notify_call_mute,
         Receiver.ccCall.base);
   else Receiver.progress();
 }
コード例 #2
0
ファイル: RubyEngine.java プロジェクト: HEGALLIS/Ruby
 public int speaker(int mode) {
   int ret = ua.speakerMediaApplication(mode);
   Receiver.progress();
   return ret;
 }
コード例 #3
0
ファイル: RubyEngine.java プロジェクト: HEGALLIS/Ruby
 public void togglebluetooth() {
   ua.bluetoothMediaApplication();
   Receiver.progress();
 }