I'm making app that is able to download video courses and save them. These videos must be private and only accessible from my application. I wanted to store them in internal storage (getFilesDir()), but then realized that the size of internal storage may be not enough for these videos.
Do you have any other ideas about where to store these videos? Or maybe you know how some popular apps solved this problem (I know only that Vk.com store cached music, and Maps.me save big maps)
Thank you!
Related
I'm not good at English, so I'm sorry if there are any mistakes in the expression.
I want to Object detection application on Android.
Here is how the app works:
Take some videos for which you want to perform object detection
Select a video from the taken videos
Detect specify object and get that coodinates
To develop avobe app,I have some videos for vertification.
Here is my question. Which folder should I put the vertification videos?
For now, I put the videos in raw folder.
But,I am creating an app assuming that the videos were taken with a camera. If so, should it be in the same place as if it were taken by the camera? and, which folder should the videos be placed in?
I'm new to android development.
Could anyone give me some advice? Thank you.
As you are new to Android development I am going to explain in detail.
First you have the videos for verification. You should put those videos in raw folder. But what if the size of those videos is too large? That means the size of your APK will also increase which is not a good thing if you want to upload your app on google play store. In this case, you can store those videos on your own server, and when user installs your app download those videos from the server.
Now let's come to the second question: Where should I put the videos taken with the camera?
You can put these videos in any of the following paths.
context.getFilesDir();
or
context.getExternalFilesDir(null);
These paths are on which you can store the camera-shooted videos and do any processing on them. If you want to know the difference between these two paths that's another topic. You can learn about them here.
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.
I am working on a application where-in I will be keeping the videos in my SD card and will play in my application. I do not want those videos to be copied by any means. Is there any way I can achieve this? One of the way I assume is via encryption and decryption.. Apart from this any other way?
Please suggest!
Am developing an offline pdf reader, which will download pdf files from remote and store inside the directory(say Android->data->com.example.test) and it will be shown in my app and i can read both in online and offline.
My issue is, If I open any PDFViewers like Adobe,Radaee viewers I can see my PDF's.
How can i avoid this. I dont want to show them in other apps.
This is not intended behaviour. we can control. Am looking for solution.
Example : Whatsapp's media like albums,profilepictures will be stored in device. We can view it. If you open any external Imageviewers we cant see the Profile Pictures. We can see the Media files. But Profile pics will be hidden. I need the exact solution.
Any help will be much appreciated.
Thanks in advance.
Imran.
Store the PDF on internal storage. You are presently storing the PDF on external storage.
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...