O'Reilly logo

Creating Mobile Apps with Sencha Touch 2 by Bryan P. Johnson, John Earl Clark

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating with Google Maps and Foursquare

Our application still has a couple of tasks to accomplish. It needs to:

  • Handle the click of the Get Started button
  • Add our maps panel and offer to adjust the current location via Google Maps API
  • Display a list of friends to include in our search
  • Display the search results in a list
  • Display the details for a selected result

We will start out with the basic skeleton of the controller, create the views and stores, and then finish up the controller to complete the application.

Starting the mainView.js controller

We will start the mainView.js controller file with some placeholders for the stores. We will add views later on and some references for those components.

Note

Keep in mind that when working with placeholders ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required