Monday, 25 August 2014

ActivitySceneTransitionBasic


This sample demonstrates how to the use Activity scene transitions when transitioning from one activity to another. Uses a combination of moveImage and changeBounds to nicely transition from a grid of images to an activity with a large image and detail text.
























Get it on GitHub

Camera2Video

This sample demonstrates how to record video using the Camera2 API.
Get it on GitHub

Camera2Basic

This sample demonstrates the basic use of the Camera2 API. The sample code demonstrates how you can display camera preview and take pictures.

Get it on GitHub

Android L Developer Preview BasicManagedProfile

This sample demonstrates how to create a managed profile. You can also:
  • Enable or disable other apps, and set restrictions on them.
  • Configure intents to be forwarded between the primary account and the managed profile.
  • Wipe all the data associated with the managed profile.
Note: There can be only one managed profile on a device at a time.

 

Saturday, 22 March 2014

Developer Preview

Developer Preview

Your app’s notifications will already appear on Android wearables.
With the new Android Wear APIs you can customize and extend those notifications.

Receive Voice Replies
Add actions to your notifications to allow users to reply by voice or touch. The system delivers the text to your app on the phone.
Add Notification Pages
Add additional pages to your notification that are visible on the wearable device to provide detailed information on the wrist.
Stack Multiple Notifications
Your app should consolidate similar notifications. On a wearable, you can stack them together so the details for each are immediately available.

You can also trigger your notifications contextually using existing Android APIs. For example, use geofences to provide glanceable information to your users when they are at home, or use the activity detection APIs to send messages to your users’ wrists while they are bicycling.
See the Android Wear Developer Preview Design Principles for more suggestions on creating great wearable experiences.