Android Question sharing

Discussion in 'Android Questions' started by ibra939, Jul 1, 2015.

  1. ibra939

    ibra939 Active Member Licensed 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 ?
     
  2. Erel

    Erel Administrator Staff Member Licensed 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.
     
  3. ibra939

    ibra939 Active Member Licensed User

    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 " ?
     
  4. ibra939

    ibra939 Active Member Licensed User

    i found this code

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

    this website here

    can be used ?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

  6. ibra939

    ibra939 Active Member Licensed User

  7. Erel

    Erel Administrator Staff Member Licensed User

    You can save files in this folder.
     
  8. ibra939

    ibra939 Active Member Licensed User

    thanks Erel for your replay that helpful
     
Loading...