Android api sample