Dear sir,

I m using this below to call Android Music player Application

             intent = new Intent(Intent.ACTION_VIEW);
              File file = new File("/sdcard/Books/*.mp3");

             intent.setDataAndType(Uri.fromFile(file), "audio/*");
             startActivity(intent);


I m able to open the Application ,but I want to call Android
Application without giving filepath.

Please let me know the other way of calling Android music player.

Thank you in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to