Hi all and thanks in advance.
After all day trying and searching why videos load in a html with a webview or directly the .mp4 with a VideoView, i have discovered whats the problem.
Apparently files in internal storage just have app permisions, but MediaPlayer or other externals objects does not have permissions. Is this rigth?. If i put that same video in res/raw it can be played with no problem.
Ok. I need my files in internal storage, and i get the files from a internet .zip wich i unzip under a location WITH path separators, because is a whole structure.
So i have been looking and trying but i cannot find how to do it, because if i try to give permissions to a file, if my device, and it is not, rooted, i just found that just can do a context.openFileOutput(filePath, Context.MODE_WORLD_READABLE)
but this give me a exception because there is path separators, what i cannot understand whats the problem with that....the thing is that i cannot try that when i unzip the file neither in other future moment cause the path separators.....how can i set global permissions to an internal file with path separators?
Or what can i do? the thing is i need to make a webview load a html with all pictures and videos in same folder with path separators.....it is impossible in internal storage?
Really thanks for all, any help will be appreciated..