Play Audio via an intent

1 vote · 0 comments

Play audio via an intent

raw ·
copy
· download
Uri playUri = Uri.parse("file:///sdcard/music/an.mp3"); Intent intent = new Intent(Intent.ACTION_VIEW, playUri); startActivity(intent);

Be the first to comment

Sign in with OpenID