Android Question sharing

ibra939

Active Member
Licensed User
Longtime User
hi friends i want ask about sharing mp3 from my application to other and saving from my application folder to download folder
can be done ..?

can get help ?
 

ibra939

Active Member
Licensed User
Longtime User
What exactly do you mean with sharing? Any file saved in the secondary storage (File.DirRootExternal or DirDefaultExternal) can be accessed from other apps.

for example if i want share my mp3 from application folder to other application how i can do it ?
secondly i want save this mp3 if the mp3 in application folder when the user used the application it can play only , but i want create new botton for save that mp3 from my application folder to any folder in mobile phone "donloding folder " or " MP3 player folder " ?
 
Upvote 0

ibra939

Active Member
Licensed User
Longtime User
i found this code

mSavePath =Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC);File file =newFile(mSavePath+"/filename.mp3");

this website here

can be used ?
 
Upvote 0

ibra939

Active Member
Licensed User
Longtime User
thanks Erel for your replay that helpful
 
Upvote 0
Top