add android permission handling machanism

add android permission handling machanism