Monday, 14 July 2014

Check in android activity (at runtime) if strings.xml has changed from last execution



My app handles localization in sqlite db bacause of user can change translations at run time


Default translations are imported into db from reading strings.xml and inserting / updating values every time the app starts and this is not efficient


Is there a way to check if something has changed in strings.xml from last execution, at runtime and only if so updating my db? I know resource files are compiled at runtime and so i cannot parse file directly


No comments:

Post a Comment