Is it possible to open the music app from my app in android, or is it best to write a whole new music app inside of mine. I would rather use theirs since the user will already be comfortable with it.
I found one way to do this.
Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(YOUR_SONG_PATH), "audio/*"); startActivity(intent);
1.4m articles
1.4m replys
5 comments
57.0k users