bubblebops.blogg.se

Golf it editor tutorial
Golf it editor tutorial











golf it editor tutorial
  1. #Golf it editor tutorial how to
  2. #Golf it editor tutorial android
  3. #Golf it editor tutorial download

For this app, you want to set the ListPicker' s Elements property to the destinations list you just created. If you set Elements to a list, the items in the list will appear in the ListPicker. The ListPicker component displays a list of items when the user clicks a button. For Part I, you'll just open Maps and tell it to invoke a search for the chosen destination When the user chooses a destination from the ListPicker, the Maps application is launched to show a map of that destination.When the app begins, the app loads the destinations into the ListPicker component so the user can choose.The blocks will look like this: Add behaviors to the components Open the blocks editor and create a variable with the list of destinations for the MapTour. This property must be set in the Blocks Editor because it will change based on whether the user chooses to visit the Louvre, the Eiffel Tower, or the Notre Dame. In the Blocks Editor, you'll set one more property, DataUri, which will allow you to launch Maps with a particular map being displayed.

golf it editor tutorial

With these values set, you'll be able to launch the Maps application. So, to set-up the ActivityStarter to launch the Maps application, set the following ActivityStarter properties in the Component Designer: Property

#Golf it editor tutorial how to

By copying the sample protocol information provided here, you can easily learn how to launch apps like Maps from the apps you are creating.

#Golf it editor tutorial android

The user can then hit the back button to return to your app and choose a different destination.ĪctivityStarter is a relatively low-level component in that you'll need to set some properties of the component with information familiar to a Java Android SDK programmer, but foreign to the rest of the 99.999% people in the world. You'll build MapTour so that the Maps application is launched to show particular maps based on the user's choice. When another app is launched from your app, the user can click the back button to get back to your app. Setting the properties of ActivityStarterĪctivityStarter is a component that lets you launch any Android app- the browser, Maps, even another one of your own apps. Set the text of that button by setting the Text property of ListPicker1 to "Choose Destination".

golf it editor tutorial

The ListPicker component has an associated button- when the user clicks it, the choices are listed. For it to appear, you'll also need to set this as the Picture property of Image1. Launches the maps app when a destination is chosenĭownload the file parismap.png onto your computer, then choose Add in the Media section to load it into your project. Show a static image of Paris map on screen Drag each component from the Palette into the Viewer and name it as specified: The components listed below were used to create this designer window. The design view should look like this when you're done: The user interface for MapTour is simple: you'll have a single ListPicker component and an ActivityStarter (non-visible) component.

  • The ListPicker component for allowing the user to choose from a list of choices.
  • The ActivityStarter component for launching Android apps from your app.
  • The tutorial introduces the following App Inventor concepts: When the user chooses one, the Google Maps app is launched to display a map of the destination. You'll design the app so that a list of destinations appears. Open the Blocks Editor and connect to the phone. Name it "MapTour", and also set the screen's Title to "MapTour". Once you complete the first part of this tutorial, try part 2.Ĭonnect to the App Inventor web site and start a new project. If you are not familiar with the basics, try stepping through some of the basic tutorials before continuing. This tutorial assumes you are familiar with the basics of App Inventor- using the Component Designer to build a user interface, and using the Blocks Editor to specify event-handlers. Users of your app will be able to visit the Eiffel Tower, the Louvre, and Notre Dame in quick succession. You'll build MapTour, an app for visiting French vacation destinations with a single click. This is a two-part tutorial introduces the ActivityStarter component for launching arbitrary Android Apps and the ListPicker component for allowing a user to choose from a list of items.

    #Golf it editor tutorial download

    MapTour What you're building Download Refined Version (Book Chapter PDF) For tutorials about App Inventor 2, go to the App Inventor 2 Tutorials.

    golf it editor tutorial

  • App Inventor Classic This information pertains to App Inventor 1 (Classic).












  • Golf it editor tutorial