Dynamic Perspective is the technology that allows Fire phone to respond to the way that a user holds, views, and moves the device. With the Dynamic Perspective SDK, you can take advantage of Dynamic Perspective sensors to create new interactions. Use the following resources to build head tracking, shortcut gestures, and multi-dimensional interface elements into your app.
Resources in this Section
Dynamic Perspective Sensors
Understanding the HeadTracking API: Discusses the HeadTracking API, which makes the head-tracking data from the Dynamic Perspective sensors available to apps.
Retrieving Head Tracking Data: Shows ways to use the HeadTracking API to retrieve head-tracking data that you can use in your apps.
Using Native Code for Head Tracking on Fire Phone: Integrate the native-code HeadTracking API into your app.
Understanding the MotionGesture API: Discusses the MotionGesture API, which makes shortcut gestures recognized by Fire phone available to games and other apps.
MotionGesture Sample App: Introduces the MotionGesture sample app and shows how to obtain events for shortcut gestures and use them in your app.
Using the Unity Plugin for Head Tracking and Shortcut Gestures: Integrate Head Tracking and Shortcut Gestures into your game with the plugin for the Unity game engine.
Dynamic Perspective UI (Euclid)
Understanding the Dynamic Perspective UI: Introduces the Euclid package, which provides a toolkit of controls, containers, and convenience classes to integrate the Dynamic Perspective UI into your apps.
Dynamic Perspective UI Migration Guide: Provides information about updating an existing Android app to use the Euclid API.
Adding Animations to Your App: Introduces animation concepts for Euclid and provides code samples to show how to run animations in your app.
Applying Themes to Your App: Discusses how to apply themes to your app.
Integrating Tilt Scrolling into Your App: Describes how to control the scrolling of a view relative to the angle of a user's head.
Incorporating Glyphs into Your App: Discusses how to work with glyphs in your app.
Creating a Custom Control Using ZSceneView: Describes how to create a custom control if your app requires a control not already provided with Euclid.
Building an App that Includes a Custom Control: Describes the high-level process for incorporating a custom control into your app.
Programmatically Generating ZSceneViews and Other Controls: Describes how to programmatically generate ZSceneView controls so that you do not need to hard-code all of your controls into a layout XML file.
Best Practices for Integrating Depth, Shadows, and Dynamic Perspective Sensor Effects: Describes best practices for integrating depth, shadows, and Dynamic Perspective sensor effects into your app.
Best Practices for ZHeaderNavigationBar: Describes best practices for using ZHeaderNavigationBar to provide navigation and orientation within your app.
DynamicPerspectiveControls Sample App: Introduces the DynamicPerspectiveControls sample app and identifies the required elements needed to build an app that uses the Euclid package.
Dynamic Perspective UI FAQs: Provides answers to frequently asked questions related to the Euclid API.
Custom Control Authoring Tools
Using the Custom Control Authoring Tools: Shows how to use the authoring tools to create visual assets for your own custom Euclid-based controls in apps for Fire phone.