Parse Android package and launch activity from apk

Fix #1912
Fix #2027