Skip to main content
Mobile

Activity/Service as a Dependency: Rethinking Android Architecture for the Uber Driver App

29 May 2019 / Global
Featured image for Activity/Service as a Dependency: Rethinking Android Architecture for the Uber Driver App
Figure 1: We must display dispatch offers to driver-partners when the app is in the foreground (left) or the background (right).
Figure 2: The simplified structure of our previous driver app included multiple background states implemented with Services.
Figure 3: This simplified hierarchy shows driver app scopes which exist regardless of whether an Activity exists or not.
Yohan Hartanto

Yohan Hartanto

Yohan Hartanto, a software engineer at Uber, currently works to scale the development of the driver app to be reliable and highly performant. In the past, his experience includes building Android SDKs for Fabric, and developing an Android music app for Amazon.

Brian Attwell

Brian Attwell

Brian Attwell worked as a staff software engineer at Uber.

Posted by Yohan Hartanto, Brian Attwell

Category: