saved internal memory video should not be Share to another Application - android

I am working on an android application in that included premium account video I downloading with single and multiple on a time but I need to Implement that downloaded video should not be sharable to any other application please give me suggestion I would appreciate every response Thank you in advance

I would suggest you to make use of Encrypting video instead of breaking your head in trying to hide. As you are aware there are multiple ways to find out the video even if it stored in folder with .(dot)(foldername)
Please find the link given below which talks about encrypting and decryption of videos
https://stackoverflow.com/a/18892960/2850044

Related

Downloading certain part of audio and continue downloading the rest when reaching a certain point in the audio

I want to create an app for sharing audio files. I want to build native mobile apps and made most of my progress on android with a PHP/MySQL backend so far. But now I want to step up my game and build my backend with Node.js and MongoDB.
Since big audio files take a while do download and can worsen the user experience I wondered if it is possible to just download the first 20% of an audio file. When the user reaches a certain point of the audio it downloads the rest/the next section. Therefore, we do not need to download the entire audio that might never get used. I just wonder if it is that difficult to add another section of the audio while playing without any interruptions.
For some reason I think this is how the big social media apps work but I cannot find any sources on this topic. I don't ask for code but just suggestions and references to help me. Am I on a good track or are there are ways to solve this problem? Also can you recommend to use Digital Ocean Spaces for this task??
Sources for Android and IOS will be very helpful!
You can do it by providing a "Range" attribute to the header of the HTTP-Request you are sending to the Digital Ocean space for the desired media file. The "Range" attribute says the number of bytes you want to receive.

Android: Transfer pictures between applications

I have two application need to transfer data together using intent. I get problem with transfering large data - pictures, as it is limitted in android.
My first app stores picture as binary data in database (no local path existing). Now I want to transfer this picture to the second app (which impossible using intent as big).
Does someone give me an advice to solve this problem?
I have an idea that my second app will read directly from DB.
Is it possible? Any example is appireciated.
Thank you.
This case you have to use ContentProvider, which allow you share data provider for your first app to the second.
This is a good link for you: http://mrbool.com/android-content-provider-how-to-use-content-provider-for-data-access/30446
As explain in the Google documentation, it's the mechanism in use to get Picture from the PictureGallery of Android, so I presume this approach is the best available on Android platform.

Android - What does the message: "Not a DRM File, opening Normally" from the LogCat mean?

I'm fairly new to Android and I have been working from the past couple of days with images that I save to internal storage and then assign it to different elements (just for testing), like a button (with setBackground) or to an ImageView. In every single instance this message of not a DRM File appears on the LogCat.
I've been trying to find what this means, but with no luck. I'd really appreciate if anyone could shed some light into this subject.
PS: This is my first post in this forum so I apologize in advance if I'm making any mistakes or omissions while forming this question. Thanks for the understanding!
UPDATE: Just to add some results I got yesterday from testing, apparently generating Drawables from images in internal storage make this type of message appear and Android is unable to decode said images, however if those images are moved to external storage then they can be converted to Drawables and work without problems. Hope this can help anyone else stuck in this kind of situation.
DRM stands for Digital Rights Management. It's normally a special keys used by owners of content to make sure that your device is authorized to view/play the content. iTunes was notorious for this for ages.
All it's doing is letting you know that the material you are opening is not DRM protected, and therefore can be opened normally.

Getting google drive list / files from own account without manual authorization

I'm creating an app for android and would like to show some pictures to my users. Pictures may change in number and names so I want to be able to get a listing of the files and the file content but without authorizing the user/app. I have been playing with this a bit without any luck. Is there any way to do this making the folder public or something?.
Thanks in advance.
If the folder is not public, there is no way you can view it or list it without authorizing. This is the whole purpose of the permission system.
Authorization on Android is pretty easy though, please check the Android quickstart for more details.

Video 'Snipping' Android - Possible?

Hey guys, I'm looking into creating an application that requires a video file taken on the mobile phone, open it and allow the user to cut the video using two sliders, one for IN(the beginning) and the other for out(end of the clip you want), this will then create a new file and my app will use it then.
Does this sound feasible? Where should I start looking in order to do this quite simple concept? Does anyone have any ideas?
Thanks
Android SDK has no video-editing (not even cropping) capabilities. So you'd need to write your own.
To do this you'd need to know 3gpp video/audio file format and also a way to decode the file (for showing in the UI).
This is by no means a trivial task.

Categories

Resources