dkanada / frost

Icon Pack for Android Devices
GNU General Public License v3.0
164 stars 76 forks source link

Implement a Content Provider API for the icons instead of apk-based access #59

Open conrad-heimbold opened 7 years ago

conrad-heimbold commented 7 years ago

The prefered way of handling shared data between two apps on Android are Content Providers.

Unzipping the apk, scanning it for a file called "appfilter.xml" and copying the png icons might be more efficient than implementing the whole infrastructure for theming in every icon pack app. But it is more error-prone and less flexible: if the icons are changed at one point for customization (from inside the icon pack app), the app that uses the icons won't notice the changes; if only the apk gets scanned. Using Content Providers, you could get much more flexibility!

conrad-heimbold commented 7 years ago

an issue has also been created on the other side: OpenLauncherTeam/openlauncher/issues/190 .