first commit based off android sdk sample