I have found an app on play store using my absolute path of mp3 files to his/her app to stream my mp3 files. I think he/she created a script which crawling my website and getting mp3 files with title of the songs or albums and then creating his/her database and then creating a web service which generates json. So he/she can use it in app. I have tried to prevent hotlinking of mp3 files from my .htaccess from my server but i think this trick is only working for websites not working for android applications. Please tell me how to stop mp3 files from third parties android apps or any other platforms except my own app. I have my own app on android so i don't need to stop that too. Thanks
Waiting for solution from experts :)
tahir issue is very simple. when some one wants to access your mp3 file ask app secret key in web service call . for sure now you will authenticate service no spams calls
Related
i've created an Android application that connects to a streaming page. I'd like to know if some data will be stored on my device (like on a temporary folder or similar). This video should be only accessed by the URL so i'd like to prevent any download.
Is there a way to prevent the 'download' of the streaming data on my device? Or if it must be downloaded, can i be sure that no one can use this data if found in a temp file?
Thanks
EDIT
For the web page, i've used this code: http://codesamplez.com/programming/php-html5-video-streaming-tutorial
There is a better way? I was thinking about create an HTML5 video player and use it in my android application as a web view. As i said before, the important thing is to deny any download.
everyone!
Me and my team are developing some audio books that we will sell through our android application and our users will also listen them using the in-app mp3 player. We want to find a method (paid or free) to be able to protect our mp3's so the user cannot copy them and play with their own player.
I am aware that someone that is determined can crack anything, but our user targets are not computer geeks, but regular people that want a product that works and occasionally might try to cheat the system
Do you know any system that is easy to implement and can meet our objectives ?
Thank you in advance.
Do you know any system that is easy to implement and can meet our objectives ?
Stream the files from your server (e.g., using RTSP), or store them in internal storage on the device. Those will stop "regular people that want a product that works and occasionally might try to cheat the system" from being able to access MP3 files, which you can then play back using MediaPlayer within your own app ("in-app mp3 player").
I've been following this blog to help me make a simple music player function with an Android app (http://simonmacdonald.blogspot.com/2011/05/using-media-class-in-phonegap.html).
All works well - but I would like some way to extract a list of all music media stored on the phone so the user can click a file and play it. Does anyone know if this is possible via phone gap? I'd need to access track name/artist etc and a link to the track.
Cheers
Paul
Prognosis is not good.... PhoneGap does not have an API for accessing the media library. So, you would have to fall back to the File API to locate music files, and then... you would have to read the binary data in the actual files to extract out the track/artist metadata. Ouch. Seems pretty impractical.
[EDIT]
By the way, PhoneGap is not the only game in town. Appcelerator seems to solve the same problem, and apparently has a richer API, which includes
access to media metadata
I need to develop application for Android which decrypts audio and video files saved on SDCARD
and plays them without saving on SDCARD or on phone.
Is there any way to do using standard Android MediaPlayern class?
Thanks, Costa.
The solution is to build HTTP server on the phone and play the files using the server.
There the link to server I used (and it worked good):
http://www.prasannatech.net/2008/10/simple-http-server-java.html
Thanks!
I am developing media player and my application download mp3 file from server .
So i want to prevent it from another media player to play it.
Case
User get file from server (music file1.mp3) in android phone ! User play it in our player but can't share it or download it in computer or play in another media player.
I try Below
I can encrypt a file and decrypt it again in my app (will take long time, it's a mobile cpu!), but then my application needs to have the decryption key inside. Basically anyone can read this key from my app so its not the good solution.
So please suggest me what i have to do ?
Thanks..
So please suggest me what i have to do ?
Write some other app.
What you are describing is DRM. There is no known DRM system that is unbreakable. There are DRM systems that have been broken, and there are DRM systems that nobody has bothered trying to break yet.