Create protection scheme for android audio player - android

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").

Related

Encrypt large files on flutter and access them only through in-app

I am developing a digital media app using Google's flutter framework which contains songs, movies and etc. The main focus is, these media content should be accessible only through the app and not by outside methods (eg: media players, file browsers).
Eg: A music file which was downloaded through the app should only be played within the app and not by any media player. In that case, there should be an encryption method which should be used to lock these files from outside world.
In this case, bigger files such as Movies should also be taken into consideration. The size of a file can be anywhere between few kbs to 2-3 GBs.
What should be the better approach when solving this problem?
Is it to
Store everything in a database after encrypting the bytes?
Encrypt the entire file and still keep them in the form of "file"?
The downloaded data should also be able to be consumed quickly once the user requested for it. And once the consume is done, the file should be locked again from the rest of the world.
I am not sure if this topic is too broad but somehow I would appreciate it if anyone could provide me with something to start off.
Thank you.

Android IMEI binding with music file

Is there any possibility to develop an application that binds the IMEI with the music file and should not play that music file if IMEI is not registered.
The core idea is to protect the licensed file from transferring to other devices.
If you're using popular file formats like MP3, WAV etc, then any such protection you implement will only work in your app. The user will still be able to transfer the music file and play it using another music player.
However, you could develop a custom format that stores the IMEI as a part of the file (though you should store a hash of it, instead of the raw number, both for security and privacy reasons). This format will have to be structured in a way that no media player but yours can read the data from it. Naturally, you'll have to develop a parser for this format as well, as Android's built in media classes won't be able to play this.
Also, keep in mind that there are many Android devices that don't have an IMEI, so you might want to go with Bluetooth/WiFi MAC addresses. Also, your users may switch devices, and all of a sudden their music won't play anymore.

Is there a way to keep video files within my app that will be installed on the sd card?

I am new to Android developing. I have lots of videos around the size of 500MB. I have been testing my app but i always transfered the videos through the usb cable and not directly through my app. Is there a way to embed these videos within my app so that they are automatically transfered to the sdcard? I just need to know if it is possible or not.
i don't think it is possible at all to store all your videos inside your app and make the final APK out of that.
beacuse, Android market has a size limitation of 50MB. see here http://android-developers.blogspot.in/2010/12/android-market-client-update.html
pratcise is, that developer (especially in the games section), let the users download a small basic application which downloads the rest over the network (if WiFi is available), so that the user doesn't have to download a sh*tload of stuff if he wants to install your app, let say while he is outside, using GPRS/UTMS, or roaming...

Phonegap Android App - Display Store MP3 Media

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

Prevent Mp3 file to play in another Media player

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.

Categories

Resources