Android API sample: Async operations implementation