updated with Android Example