An Overview of the Amazon Devices and Services for Mobile Developers

52
An Overview of the Amazon Devices and Services Ecosystem for Mobile Developers AMAZON DEVELOPER DAY DAVID ISBITSKI Developer Evangelist, Amazon @TheDaveDev [email protected] 04/25/2015

Transcript of An Overview of the Amazon Devices and Services for Mobile Developers

  1. 1. An Overview of the Amazon Devices and Services Ecosystem for Mobile Developers AMAZON DEVELOPER DAY DAVID ISBITSKI Developer Evangelist, Amazon @TheDaveDev [email protected] 04/25/2015
  2. 2. 10:00am - 10:45am An Overview of the Amazon Devices and Services Ecosystem for Mobile Developers 10:45am - 11:45am Building Spoken Language Apps and Experiences for Amazon Echo Noon-12:45pm How We Made a Game No Fun 12:45pm - 1:30pm How to Evolve Players into Fans 1:45pm 3:45pm App Hours / Open Hack DEVELOPER DAY AGENDA
  3. 3. DEVELOPER DAY AGENDA
  4. 4. SESSION AGENDA Amazon Appstore Ecosystem Amazon Fire Tablets Amazon Fire TV + Stick Amazon Echo
  5. 5. Amazon Appstore Ecosystem The Appstore is integrated across the Amazon ecosystem Over 400,000 apps in the Amazon Appstore Only place for Apps on Fire Tablets, Fire TV, and Fire phone Preloaded on Blackberry 10 and millions of other Android devices, including HTC, LG, Motorola, and Samsung phones to name a few, as well as Samsung and LG tablets. By making your app available on the Amazon Appstore, youll have the opportunity to reach millions of Android customers in 236 countries and territories worldwide Android Phones & Tablets Fire phoneFire Tablets Fire TV & Fire TV Stick Blackberry
  6. 6. Amazon Mobile Shopping App for Android A single place to shop for all physical and digital goods on Amazon Millions of customers can find and download apps and games from directly within the app Your apps are merchandized and surfaced whenever customers search for relevant products, so consumers can find your app Apps are easily discoverable including customer
  7. 7. Amazon Developer Program
  8. 8. Free Developer Registration 04/25/2015
  9. 9. Free App Testing service on devices Simply drag and drop your Android APK and receive feedback on your app's compatibility within 90 seconds. You will also have access to additional test results that enable you to see how your app looks and performs on actual Fire devices. The test results are presented in 6 hours and include carousel, peek, and tilt actions. 04/25/2015
  10. 10. Amazon Coins Amazon Coins is a virtual currency that customers can use to purchase apps, games, and in-app items Unique Promotion opportunities Rewards for downloading games Also available for gifting 04/25/2015
  11. 11. Android 4.2.2 compatible Android developers can use existing tools and frameworks to develop for Amazon Fire devices. API 17 (TV and Phone), API 19 (Tablets) Works with Android Studio, Xamarin Studio, Unity and more. Over 75% of Apps tested just work. 04/25/2015
  12. 12. What you need to get started Download the following: Android IDE (Eclipse** or Android Studio) Java Development Kit (JDK) Android SDK Amazon Mobile SDK Fire TV SDK Add-On Fire Phone SDK Add-On Xamarin Studio IDE Visual Studio (Optional) Fire Xamarin Components Unity Target ARM and Android Head Tracking, Amazon Mobile Ads, GameCircle and IAP plug ins 04/25/2015
  13. 13. Android Studio and Eclipse To download the add-on, simply open the Android SDK Manager from a command line or from within Eclipse and do the following: Tablets Navigate to Developer Portal and download SDK zip file. https://developer.amazon.com/public/solutions/devices/fire-tablets Phone and TV Add the following user-defined site, in the Manage Add-on Sites dialogs https://s3.amazonaws.com/android-sdk-manager/redist/addon.xml Expand Android 4.2.2 (API 17) and click SDK Platform and Fire Phone SDK Add-on. 04/25/2015
  14. 14. Xamarin Studio To target Amazon Fire Devices update the target version of Android to API level 17 in project properties and then import the specific device Xamarin component. Android Manifest Properties Fire Device Components (Fire OS, Fire Phone and Fire TV) 04/25/2015
  15. 15. Register for a free developer account at https://developer.amazon.com/login.html Log Into the Developer PortalSTEP 1 04/25/2015
  16. 16. Selecting Android allows you to publish to Amazon and Android devices. Select AndroidSTEP 2 04/25/2015
  17. 17. Submitting to Amazon Appstore is just like submitting to any other platform. Fill Out the Submission FormSTEP 3 04/25/2015
  18. 18. Upload your APK directly to the store via the form upload field. Upload Your APKSTEP 4 04/25/2015
  19. 19. You can submit different APKs for each Fire OS device. Submitting Multiple APKsMULTIPLE BINARY 04/25/2015
  20. 20. Make sure you select the devices you want to have a binary publish to. Select Which Device to PublishMULTIPLE BINARY 04/25/2015
  21. 21. Amazon Mobile SDK iOS, Android, HTML5, Unity, and Xamarin Amazon Coins Amazon Device Messaging Amazon Maps A|B Testing GameCircle HTML5 Web Apps In-App Purchasing FreeTime Unlimited Mobile Device Management
  22. 22. Amazon Mobile Ads API US and International. Currently serving ads in US, UK, DE, FR, ES and IT Banner and Interstitial Formats across FireOS, Android and iOS High quality advertisements from Amazon, its affiliates, and direct advertisers Easy integration through the Amazon Mobile App SDK
  23. 23. In-App Purchasing API Sell digital content (in-game currency, expansion packs, upgrades) and subscriptions from within mobile apps Integrate in as few as five steps, in as little as two hours All customers have a payment method on file, and Fire Tablets sold by Amazon are pre- registered
  24. 24. GAMECIRCLE Leaderboards, Achievements, Profiles 04/25/2015
  25. 25. 04/25/2015
  26. 26. Fire Tablets
  27. 27. Fire Phone
  28. 28. What is Fire phone? Fire phone is the first phone designed by Amazon and the only smartphone with Dynamic Perspective and Firefly. Dynamic Perspective is an entirely new technology that responds to the way a customer holds, views and moves the phone. 04/25/2015
  29. 29. Dynamic Perspective Experience interactions not possible on other smartphones. Tilt, auto-scroll, swivel, and peek to navigate menus and access shortcuts with one hand. Dive into a new class of immersive apps and gamespeek to see detailed views of clothing, shoes, and more or take on a character's viewpoint to see around corners and obstacles in games. 04/25/2015
  30. 30. Firefly Quickly identify printed web and email addresses, phone numbers, QR and bar codes, plus over 100 million items, including movies, TV episodes, songs, and products. Simply press and hold the dedicated Firefly button to discover useful information and take action in seconds. 04/25/2015
  31. 31. Expose App Information with ENHANCED CAROUSEL Widgets enhance the experience when viewing recently run apps in the carousel. Notification counter display over the Widget. List and Grid Views below the Widget allowing both texts and images. Users can take action on these views and open your app via an Android Intent. For example, clicking on a city name or image will open the maps app with the selected city. 04/25/2015
  32. 32. Dynamic Perspective controls with UI FRAMEWORK Rich set of APIs and Controls to help developers incorporate peek, tilt and zoom capabilities within their apps while adding a sense of realistic depth and perspective. These controls work behind the scenes with Fires advanced camera and sensors to automatically adjust their appearance based on how your application is being viewed. UI controls retain the name of the original base control, but with a "Z" prepended to the name. For example, a Button control becomes a ZButton control.04/25/2015
  33. 33. Create Immersive Games with HEADTRACKING API Gain access to the raw head tracking data: x, y, z, and tilt of head. Automatically implemented in UI Controls. Unity plug in available. 04/25/2015
  34. 34. 04/25/2015
  35. 35. Fire TV and Fire Stick
  36. 36. The Amazon Fire TV is INCREDIBLY POWERFUL Amazon Fire TV uses a Qualcomm Quad Core Snapdragon Krait 300 processor with Adreno 320 GPU and 2GB of RAM to support high performance game experiences. 04/25/2015
  37. 37. Navigation should be REMOTE FRIENDLY Remember that every Fire TV comes with an Amazon Fire TV Remote so: Focus on the core navigation buttons Standard Android navigation for Menu, Home and Back buttons. Reserve media buttons for playback only. 04/25/2015
  38. 38. THE AMAZON FIRE TV CONTROLLER Similar to a console controller with a full array of buttons 04/25/2015
  39. 39. Code example CAPTURING KEY EVENTS Handle DPAD_UP, DPAD_DOWN, DPAD_LEFT and DPAD_RIGHT to navigate your layout. DPAD_CENTER is the Enter key. You can capture these events by overriding the onKeyDown method of your View. 04/25/2015
  40. 40. CREDIBLY INNOVATE PHOTO HERE Code example CAPTURING MOTION EVENTS To access the joystick axis, you can override Androids built in onGenericMotionEvent method in the Android View. Youll have access to the AXIS_X & AXIS_Y values. 04/25/2015
  41. 41. BUILD FOR ONE RESOLUTION 04/25/2015
  42. 42. TV COLOR GAMUT
  43. 43. Some tips for handling Amazon Fire TV support in a single binary: Handle touch and keypad events to make sure that they are functional in your Views Fire OS will make sure to use the appropriate callbacks based on events Query the Configuration.touchscreen property to make the appropriate adjustments: Configuration.touchscreen == TOUCHSCREEN_NOTOUCH 04/25/2015
  44. 44. 53 http://bit.ly/modevla1 http://developer.amazon.com/events