Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am developing a music app that pull it's songs from sound cloud into the app for users to play and download. But i have some challenges
1. How can i set the default download location to my music app like uc browser instead of sd card or phone
2. if ques 1 cannot be achieved then how can i prevent users from transferring or sharing the song files after downloading to their phone,
i need to protect the songs from piracy

Thanks in advance

What I have tried:

I have posted the question in gdg lagos
Posted
Updated 17-Aug-17 3:03am

1 solution

There default download location is whatever you set in your code. You can write the files to practically any folder you want.

As for protecting the files, you really can't. There is no way to stop someone from copying the files off the phone and sharing them.

The only way you can protect the audio (notice I did not say "files"!) is if you encode the audio in a format you devise and can only be decoded and played in your own player that is written to understand it. This is not trivial to do. Good luck with that.
 
Share this answer
 
Comments
Member 10627743 17-Aug-17 19:43pm    
Thanks Dave

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900