Well, at first step at this moment i would guess to check:
did you allow the base android <-> developer kit to access this feature (at the phone)?
if it works, try exporting the project on other api's to check if it works there with same rules.
Or Consider checking a similer project on crosswalk/Intel XDK which made it; before going on this thread.
rgds