1 / 15

CPSC 372

CPSC 372. John D. McGregor Module 0 Session 2 Infrastructure and problem. Android Apps. Software engineering principles apply across the board We will use Android Apps as our model problem for the semester. To do that we will use the Android SDK – software development kit software code

Download Presentation

CPSC 372

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CPSC 372 John D. McGregor Module 0 Session 2 Infrastructure and problem

  2. Android Apps Software engineering principles apply across the board We will use Android Apps as our model problem for the semester. To do that we will use the Android SDK – software development kit • software code • android device emulators • architecture

  3. Installing the Android SDK • http://developer.android.com/sdk/index.html • Follow the instructions – you install to your directory • Use a fast connection – it is large • Be certain to load all the packages it prompts for

  4. Installing the Android plug-in • http://apcmag.com/installing-the-eclipse-android-plugin.htm • You will use the “Install New Software …” entry on the HELP menu of your Topcased installation. Topcased is an extension of Eclipse so they are compatible. • Installing the plug-in adds a set of actions to the “New” menu.

  5. Check it out • Go to New -> Android -> Android Sample Project • This will create a new project that can be compiled.

  6. Tic Tac Toe • Two projects are created: TicTacToeLib and TicTacToeMain • Use Project ..Build All to build both projects • If they do not build correctly you are missing libraries • Then to run go to the Run menu and to Run Configurations

  7. New Run Configuration (2) (1) (1)Select Android Application and then (2) click on the create new configuration icon

  8. Tic Tac Toe running

  9. Turn to Target tab and select

  10. Start the virtual device manager Select AVD Manager

  11. Launching takes a good bit of time (1) Select handset (2) Select Start (3) Select Launch

  12. Here is what it looks like

  13. After menu is pressed

  14. TicTacToe is executing

  15. Design Problems • Take a look at these problems • http://faadesigncompetition.odu.edu/

More Related