Whatsapp音频分享

时间:2018-04-27 09:33:48

标签: android android-studio

Uri uri = Uri.parse("android.resource://haydo.kufurbaz.kfrbazhaydosesleri/raw/oylemikesiliramk.wav");
            Intent myınIntent = new Intent(Intent.ACTION_SEND);
            myınIntent.setType("audio / wav");
            String sharebody = ".mp3";
            myınIntent.putExtra(Intent.EXTRA_STREAM,uri);
            startActivity(Intent.createChooser(myınIntent,"Share using"));
            return true;

当我尝试将某人音频发送到whatsapp时,它没有以wav或mp3格式显示

我的原始文件名是:oylemikesiliramk.wav

帮助请

0 个答案:

没有答案