-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many improvements relating to project loading.
Should fix issue #43. ProjectManagerActivity: - multiple safety/error handling improvements mostly related to project loading/downloading - user is now warned about unexpected project file extensions but can opt to continue loading anyway (except for xml files), extension check is disabled for download projects as those may not have a proper extension ProjectLoader: - made safer by moving the creation of temp folder into the actual load() process - load() now checks if ZIP extraction actually extracted files at all - improvement to HasSapelliFileExtension(File) Unzipper: unzip() now returns the number of extracted entries (+ added comment which clarifies that NO exceptions are thrown when trying to extract a non-ZIP file) AndroidProjectLoaderStorer: safety & readability improvements BaseActivity: added new helper method to execute code that needs the fileStorageProvider, using it from ProjectManagerActivity Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
- Loading branch information
1 parent
a7bd066
commit 2332428
Showing
7 changed files
with
194 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.