simplify getting package name
remove unused imports
don't use drawPickedImageToBitmapData on Android - it blocks for way too long