Category «Android»

Providing Messaging for Auto in Android

Staying connected through messages is important to many drivers. Chat apps can let users know if a child need to be picked up, or if a dinner location has been changed. The Android framework enables messaging apps to extend their services into car dashboards using a standard user interface that lets drivers keep their eyes …

Providing Audio Playback for Auto in Android

Drivers want to access their music and other audio content on the road. Audio books, podcasts, sports commentary, and recorded talks can make a long trip educational, inspirational, and enjoyable. The Android framework allows you to extend your audio app so users can listen to their favorite tunes and audio content using a simple, yet …

Getting Started with Auto on Android

Android Auto extends the Android platform into the car. When users connect their handheld devices running Android 5.0 or higher to a compatible vehicle, the Auto user interface provides a car-optimized Android experience on the vehicle’s screen. Users interact with compatible apps and services through voice actions and the vehicle’s input controls (like a touchscreen …

Testing Apps for Auto in Android

Testing your Auto app ensures that users do not encounter unexpected results or have a poor experience when interacting with your apps. Android now provides Desktop Head Unit (DHU), a testing tool for Auto apps that lets you test pre-released versions of your Android Auto apps without having to work from your car. The Desktop …

Planning for Multiple Touchscreen Sizes in Android

The exhaustive screen map from the previous lesson isn’t tied to a particular device form factor, although it can generally look and work okay on a handset or similar-size device. But Android applications need to adapt to a number of different types of devices, from 3″ handsets to 10″ tablets to 42″ TVs. In this …

Providing Descendant and Lateral Navigation in Android

One way of providing access to the full range of an application’s screens is to expose hierarchical navigation. In this lesson we discuss descendant navigation, allowing users to descend ‘down’ a screen hierarchy into a child screen, and lateral navigation, allowing users to access sibling screens. Figure 1. Descendant and lateral navigation. There are two …

Providing Ancestral and Temporal Navigation in Android

Now that users can navigate deep into the application’s screen hierarchy, we need to provide a method for navigating up the hierarchy, to parent and ancestor screens. Additionally, we should ensure that temporal navigation via the Back button is respected to respect Android conventions. Back/Up Navigation Design For design guidelines, read Android Design’s Navigation pattern …

Creating Swipe Views with Tabs in Android

Swipe views provide lateral navigation between sibling screens such as tabs with a horizontal finger gesture (a pattern sometimes known as horizontal paging). This lesson teaches you how to create a tab layout with swipe views for switching between tabs, or how to show a title strip instead of tabs. Swipe View Design Before implementing …