Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum size of Video can be add in raw folder android supported?

I have 70MB video file and i want to play through raw folder but app is not launching how to add this video file in asset/raw folder in android?

like image 974
user Avatar asked Apr 16 '13 06:04

user


People also ask

What is raw folder in Android?

The raw (res/raw) folder is one of the most important folders and it plays a very important role during the development of android projects in android studio. The raw folder in Android is used to keep mp3, mp4, sfb files, etc. The raw folder is created inside the res folder: main/res/raw.


2 Answers

The size limit is 1MB. (although I havent found this in android docs but found this info from several other links). So better to split you video in different raw files which size will be less than 1MB and use from them.

Also remember that you can not upload an apk which size is more than 50mb in google play. So if you want that you will need apk expansion files too.

Helpful Links

  1. link1, link2
like image 94
stinepike Avatar answered Oct 04 '22 02:10

stinepike


Its quite clear from Documentation that your apk size can be uptu 4 GB. So there will be now issue to keep one 70 MB file inside raw folder. See Android Break Limitation of 50 MB

APK size depends largely on draw able, Assets and Raw folder

Issue : Generally bigger size of apk does not installed on device or they create issue while installing.

If you are compelled and do not have server then keep it inside raw else keep video at server download it once application run first time save in Local Memory

like image 37
Tofeeq Ahmad Avatar answered Oct 04 '22 03:10

Tofeeq Ahmad