![]() As well as the turn-by-turn navigation and voice instructions, there is a media control panel at the top of the screen. You then select your music choice, the music starts playing immediately and you are presented with a navigation page - the navigation UI components are all provided by Citymapper. The playlist generation uses the journey leg types to select high/low energy music for active/inactive legs of your journey! Your Spotify likes and saves are not saved in the app, and are not transmitted anywhere. Once you choose a route, the app will read your Spotify likes and choose some albums and podcasts that approximately fit the length of your journey, as well as generating a playlist of songs that matches your journey length. Once you have searched for a destination, the app lists routes to that destination (provided by Citymapper). The first screen allows you to search for a destination, and in the background the app will discover your location, and authorize Spotify usage - so on first use you will see a Spotify pop-up asking you to authorize various access to your Spotify account. ![]() The screenshots above show a typical flow through the app. Head to /enterprise to learn how you can integrate the Citymapper SDKs/APIs into your app! Usage As such, you should refer to the official Citymapper SDK docs for up to date information on SDK usage. While the code here is intended as a demonstration the capabilities of the Citymapper SDK, it is far from a properly built Android app - in fact it was built by an engineer with minimal Android experience. ![]() It was built as part of an internal hack-day in an engineering team here at Citymapper, and is intended to demonstrate the ease of integrating the Citymapper SDK UI components into a third-party app. Spotimapper is an app which generates Spotify listening suggestions based on your journey. ![]()
0 Comments
Leave a Reply. |