Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Android L Preview - Recents Screen + API

574 views

Published on

Talk given at NYC Android Developer Meetup

Published in: Technology
  • Be the first to comment

Android L Preview - Recents Screen + API

  1. 1. L Developer Preview Recents Screen + API +Arun Nagarajan @entaq
  2. 2. Some terminology ● Task = collection of activities that users interact with ● Activities arranged in the back-stack in the open order within a task
  3. 3. What’s new in Android L Developer Preview?
  4. 4. Sample use cases ● Open tabs in a web browser ● Documents in a productivity app ● Concurrent matches in a game ● Chats in a messaging app ● Flight/hotel searches in a travel app
  5. 5. How to use this? Intent intent = new Intent(this,RoomMapActivity.class); intent.putExtra(RoomMapActivity.ROOM, roomId); intent.addFlags(android.content.Intent.FLAG_ACTIVITY_NEW_DOCUMENT) startActivity(intent);
  6. 6. Breaking changes ● ActivityManager.getRecentTasks() is deprecated for privacy reasons. ­Some of the tasks will still return ● ActivitiyManager.getAppTasks() added for app’s own tasks
  7. 7. Thank you! +Arun Nagarajan @entaq

×