Post Reply 
Auto-rotation skins on Free42 v3.0.7
11-08-2021, 06:58 PM
Post: #11
RE: Auto-rotation skins on Free42 v3.0.7
There are two commonly used directories that Android apps should have access to even without being granted any special permissions: /data/data/<package_name>, which is in the main filesystem, and /sdcard/Android/data/<package_name>, in external storage. The former, or rather, /data/data/<package_name>/files, is where Free42 stores its state files, so if that /Free42 directory you can see in the file manager contains files named "state" and "print", and the *.f42 state files, it's the right one.

I should probably add a note to the documentation that that's the right place to store skins. I don't see any strong reason to jump through hoops to allow Free42 to access other corners of the filesystem, as long as users are able to store skins in the standard data directories without a lot of trouble. As long as it's documented! All this is a bit annoying for people who still remember when Android apps basically had the run of the entire filesystem. Big Grin

BTW, the built-in skin loader will load skins to /data/data/<package_name>/files, so as long as you're trying to use skins that are available for download from an HTTP server somewhere, that method of putting skins in the right place should always work.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Auto-rotation skins on Free42 v3.0.7 - Thomas Okken - 11-08-2021 06:58 PM



User(s) browsing this thread: 1 Guest(s)