I'm trying to send a music files from my app to other ones using this code. I already have WRITE_EXTERNAL_STORAGE permission enabled. But whenever I choose the app I want to share my file with it doesn't appear or I get Toast saying format not recognized.
                                    String filePath = songs.get(viewPosition).getPath();
                                    Uri uri = Uri.parse(filePath);
                                    Intent share = new Intent(Intent.ACTION_SEND);
                                    share.setType("audio/*");
                                    share.putExtra(Intent.EXTRA_STREAM, uri);
                                    mContext.startActivity(Intent.createChooser(share, "Share Sound File"));
Path I'm getting from filePath is for example something like this: /storage/emulated/0/Music/2Pac - better dayz - tupac - better days.mp3
 
    