VRChecker Apk
Apk Infos
Version | 1.0 |
Rating | 3.6/5, based on 7 votes |
Size | 29.1 KB |
Requires Android | Android 2.1+ (Eclair) |
Author's Notes | It is an application to test VOICE_CALL of the terminal or use. |
About VRChecker APK
Table Of Contents
Description
※アプリに広告は絶対に掲載しません。※MediaRecorderクラスのVOICE_CALLが使えるかのチェッカーアプリです。
録音系のアプリで通話録音が出来ないと言う前に実行して下さい。
XPERIA arcはOKになりますが、ファイルが作成出来ません。arcの場合マイク設定で端末下部のマイク穴を指などで塞ぐと通話録音出来ます。
GALAXY-Sは全く異常終了するので箸にも棒にもかかりません。
ただし、ボイスレコーダーとして流用するのは問題ありませんでした。
このアプリはTelRecPro/Freeの動作確認用としてお使い下さい。
本来の目的はAndroidアプリの開発において教科書通りのコードで作成したアプリが動くかどうかの確認の為に作成しました。
SDK通りで受話音声を録音出来る端末かどうか判定する為のものです。
このアプリはチェッカーなので実際に録音したい場合はTelRecPro/Freeをご利用下さい。
参考までにソースコードを公開します。
パーミッション
android.permission.RECORD_AUDIO
android.permission.WRITE_EXTERNAL_STORAGE
※SDカードにファイルを作成するときにこのパーミッションをつけました。
※ソースコードは文字数制限の為スペースを除去しています。コピペする場合はご注意願います。
packagejp.co.zebrasoft.vrchecker;
importjava.io.IOException;
importandroid.app.Activity;
importandroid.app.AlertDialog;
importandroid.app.Dialog;
importandroid.content.DialogInterface;
importandroid.media.MediaRecorder;
importandroid.os.Bundle;
importandroid.widget.Toast;
publicclassVoiceCallCheckerextendsActivity{
/**Calledwhentheactivityisfirstcreated.*/
//ダイアログの管理ID
privatestaticfinalintMAIN_ID =1;
privatestaticfinalintOK_MESSAGE_ID =2;
privatestaticfinalintNG_MESSAGE_ID =3;
@Override
publicvoidonCreate(BundlesavedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
showDialog(MAIN_ID);
}
@Override
protectedDialogonCreateDialog(intid){
Dialogd=super.onCreateDialog(id);
switch(id){
caseMAIN_ID:
d=(
newAlertDialog.Builder(VoiceCallChecker.this)
.setIcon(R.drawable.dialog_i)
.setTitle("VOICE_CALLChecker")
.setMessage("受話音声を録音するコードをはしらせます。\nお使いの端末が対応しているか結果を確認して下さい。")
.setPositiveButton("Check",newDialogInterface.OnClickListener(){
publicvoidonClick(DialogInterfacefdialog,intid){
//エラーするかしないか判定
try{
VRcheck();
//エラーしなければこのメッセージを表示
Toast.makeText(VoiceCallChecker.this,"OK",Toast.LENGTH_SHORT).show();
showDialog(OK_MESSAGE_ID);
}catch(IOExceptione){
//エラーするとこのメッセージを表示
Toast.makeText(VoiceCallChecker.this,"NG",Toast.LENGTH_SHORT).show();
showDialog(NG_MESSAGE_ID);
}
dismissDialog(MAIN_ID);
}
})
.setNegativeButton("Cancel",newDialogInterface.OnClickListener(){
publicvoidonClick(DialogInterfacefdialog,intid){
dismissDialog(MAIN_ID);
finish();
}
})
.create()
);
break;
caseOK_MESSAGE_ID:
d=(
newAlertDialog.Builder(VoiceCallChecker.this)
.setIcon(R.drawable.dialog_i)
.setTitle("VOICE_CALLChecker")
.setMessage("お使いの端末はVOICE_CALLの録音でエラーしなかったので受話音声をキャプチャー出来る可能性があります。")
.setPositiveButton("OK",newDialogInterface.OnClickListener(){
publicvoidonClick(DialogInterfacefdialog,intid){
dismissDialog(OK_MESSAGE_ID);
showDialog(MAIN_ID);
}
})
.create()
);
break;
caseNG_MESSAGE_ID:
d=(
newAlertDialog.Builder(VoiceCallChecker.this)
.setIcon(R.drawable.dialog_i)
.setTitle("VOICE_CALLChecker")
.setMessage("お使いの端末はVOICE_CALLの録音でエラーするので受話音声をキャプチャー出来ません。")
.setPositiveButton("OK",newDialogInterface.OnClickListener(){
publicvoidonClick(DialogInterfacefdialog,intid){
dismissDialog(NG_MESSAGE_ID);
showDialog(MAIN_ID);
}
})
.create()
);
break;
}
returnd;
}
publicvoidVRcheck()throwsIOException{
MediaRecordermr=newMediaRecorder();
mr.reset();
//XperiaarcはこれでNGにはならないがファイルが出来ない
//2.2から追加されたサンプリングレートなどを設定するとアイルは出来るが
//まだまだまともに録音出来る状態ではない
//XperiaX10、IS03、IS04他数機種まともに動く機種が受話録音可能な機種
mr.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
//mr.setAudioSource(MediaRecorder.AudioSource.MIC);
//MICは大概の機種でエラーしない
mr.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mr.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mr.setOutputFile("/sdcard/check.3gp");
try{
//GALAXY-Sは上記の設定でここで落ちる
//VOICE_CALLの初期化が出来ない
mr.prepare();
}catch(IllegalStateExceptione){
}
// mr.start();
// mr.stop();
mr.release();
// //テストしたファイルは削除
// Filefile=newFile("/sdcard/check.3gp");
// file.delete();
}
}
※現バージョンで再生チェックのロジックを追加してますが上記ソースは初期のままですがご了承願います。
Latest updates
What's new in version 1.0
再生出来るファイルが生成されるかもチェック出来る様にした。(Xperia arc等がNGなので)
How to install VRChecker APK on Android phone or tablet?
Download VRChecker APK file from ApkClean, then follow these steps:
Update Phone Settings
- Go to your phone Settings page
- Tap Security or Applications (varies with device)
- Check the Unknown Sources box
- Confirm with OK
Go to Downloads
- Open Downloads on your device by going to My Files or Files
- Tap the APK file you downloaded (jp.co.zebrasoft.vrchecker-v1.0-ApkClean.apk)
- Tap Install when prompted, the APK file you downloaded will be installed on your device.
Older Versions
1.0 (3) | 29.1 KB |
Questions & Answers
Q: What is an APK File?
A: Just like Windows (PC) systems use an .exe file for installing software, Android does the same. An APK file is the file format used for installing software on the Android operating system.
Q: If I install an APK from this website, will I be able to update the app from the Play Store?
A: Yes, absolutely. The Play Store installs APKs it downloads from Google's servers, and sideloading from a site like ApkClean.net goes through a very similar process, except you're the one performing the downloading and initiating the installation (sideloading).
As soon as the Play Store finds a version of the app newer than the one you've sideloaded, it will commence an update.
Q: Why ApkClean.net can guarantee APK 100% safe?
A: Whenever someone wants to download an APK file from ApkClean.net, we'll check the corresponding APK file on Google Play and allow user download it directly (of course, we'll cache it on our server). If the APK file does not exist on Google Play, we'll search it in our cache.
Q: What are Android App permissions?
A: Apps require access to certain systems within your device. When you install an application, you are notified of all of the permissions required to run that application.
Don't hesitate to contact us if you have any questions or concerns.
(*) is required