Tutorials and Examples

This is a list of tutorials and how-to guides on topics that you may come across while developing for the TomTom Digital Cockpit platform. Each one explains step-by-step how you can extend TomTom Digital Cockpit.

Example applications

The example applications are provided as sample implementations. The applications allow you to verify your build environment by building this TomTom Digital Cockpit example APK and install it on an emulator. The applications also contain several examples on how to add functionality to your product. All the examples can be found under the examples/ directory.

Under the template/ directory you can find the template application. This contains just the default TomTom Digital Cockpit platform functionality, which may be used as a starting point for your own product.

Check out the functionality of the TomTom Digital Cockpit platform in the walk-through of an example application, or operate it yourself by following our Develop with the SDK guide.

Additional functionality is described in the tutorials and how-to guides below.

Setup

Basics

  • Create a frontend plugin - This guide explains how to add a frontend with panels, how to link your frontend to a Fragment, and how to make a menu item for it.

  • Create an IVI service - This guide explains how to define the interface of your service, how to implement and deploy it, and how to use it from the client side.

  • Use an IVI Data Source - This guide explains how to use IviDataSource to handle some IVI service properties.

  • The debug menu - This guide explains what the debug menu is and how to use it.

  • Configure debug tabs - This guide explains how to create a new tab for the debug menu, and how to customize the existing tabs.

  • Upgrade to a newer version of Digital Cockpit - This guide explains how to upgrade the Digital Cockpit version you are using in your application.

Notifications

Main Process Panel

Media

Communications

App Launcher

Voice Personal Assistant (VPA)

  • Create a Custom VPA Adaptation Service - This guide explains how to add a custom VPA Adaptation service to support a 3rd party VPA.

  • Create a Custom Alexa Handler Service - This guide explains how to add a custom Alexa handler service that can be used to extend the set of stock Alexa platform message handlers offered by the TomTom Digital Cockpit platform.

  • Customize the Alexa Car Control Feature - This guide explains how to customize or replace the stock Alexa Car Control handler service offered by the TomTom Digital Cockpit platform.

  • Implement Alexa Preview Mode - This guide explains how to implement Alexa Preview Mode, a feature that allows access to a limited set of Alexa features without requiring a login with an Amazon account.

Customization

  • Use the configuration framework - This guide explains how to create static and dynamic configurations by using the configuration generator, and how to use these to customize the application.

  • Custom Splash Screen - This guide explains how to create a custom splash screen.

  • Custom Animations - This guide explains how to create custom animations for sub-container transitions in the system UI.

  • Custom fragments This guide explains how to adjust the look and behavior of a panel by customizing its initial fragment. A system UI host can create custom fragment rules that replace the normal fragment of a panel with a custom fragment.

  • Custom Frontend Coordination Rule - This guide explains how to create a custom frontend coordination rule, and how to use it in a custom system UI host.

  • Custom Panel Type - This guide explains how to create a custom panel type to visualize custom information in the system UI.

  • Custom Panel Container - This guide explains how to create a custom panel container to control the behavior of panels in the system UI.

  • Custom Sub-container Layout This guide explains how to use a custom sub-container layout with a default panel container.

Localization

  • Localize strings - This guide explains how to localize strings, how to discover string resources used in your application, and how to get additional context information per string resource to facilitate translations.

  • Change Localization Settings - This guide explains how to use the TomTom Digital Cockpit Localization Settings API to allow the user to choose their preferred localization settings. For example, it is possible to change the language in the Android system in order for it to be reflected in the cockpit app as well as in all third-party apps or to choose between displaying the time in a 12-hour or 24-hour format.

Deployment