我想调用录音机,这个在虚拟机上可以正常运行,为什么到真机上就不行了
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);//
intent.setType("audio/amr");//intent.setType(ContentType.AUDIO_AMR);
intent.setClassName("com.android.soundrecorder","com.android.soundrecorder.SoundRecorder");
startActivityForResult(intent, 0);
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);//
intent.setType("audio/amr");//intent.setType(ContentType.AUDIO_AMR);
intent.setClassName("com.android.soundrecorder","com.android.soundrecorder.SoundRecorder");
startActivityForResult(intent, 0);
解决方案 »
- 一个应用启动后的主layout怎么设置成透明
- Android中如何实现输入法中自定义按键的管理
- Android中animation坐标的问题
- android的launcher研究(春节将近,人人有分)
- 关于Date格式的问题,请教
- 安卓发短信的程序,但是没效果。
- 高仿饿了么订餐app界面的demo
- 安卓动画 anim 求助,控制动画布局出现的位置
- 如何保持登陆状态
- no path or pathfile specified on the command line
- 有木有高手指导一下,android 怎样从一个界面返回,可不可以用返回控件呢~~
- android下载图片,如何之建立一次连接下载多幅图片,对HTTP协议要有了解。PS:人品好才是真的好,结帖率100%
public static final String AUDIO_AMR = "audio/amr";
和你写的一样