- /**
- * 录音功能
- */
- private void soundRecorderMethod() {
- Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
- intent.setType("audio/amr");
- startActivityForResult(intent, RESULT_CAPTURE_RECORDER_SOUND);
- }
-
- /**
- * 提示信息
- * @param text
- * @param duration
- */
- private void showToast(String text, int duration) {
- Toast.makeText(ProblemReport.this, text, duration).show();
- }
复制代码 |
|