Android Tutorial HooDyooDoo Android Tutorial Part I

View the Project on GitHub FatFractal/hoodyoodoo

Create a New Project

Here, we create the core object model for the Hoodyoodoo app and verify that it works with its API. If you wish, you can download the complete Part I project file from Download Tutorial Part 1 Sample Files to the application directory you created in the section Installing FatFractal.

Note: When you download the project, the client application is configured to use a API that is already deployed and populated with data. This means you can run the application on your simulator immediately. To use your API, you should edit the Hoodyoodoo.java file to point to the API that you have set up.

Warning: If you run the application or the tests in the simulator configured to use the acme.fatfractal.com/hoodyoodoo API, you will notice that the initial load takes a very long time as a result of the amount of data that it is retrieving (all Celebrities). This is by design to demonstrate some of the capabilities of the NoServer Framework, so do not be dismayed as this will show clearly the power of Queries that are covered in Part II. You can also change the baseUrl to localhost.

Create a new Android project using Eclipse

  1. Select File > New > Android Project to bring up the Template Chooser. For our purposes here, select the Tabbed Application template and click Next.

  2. Enter the name of your project (we used "hoodyoodoo") then select "Create new project in workspace", enter your desired location and click "Next".

  3. After clicking Next, select the target SDK that you wish to use as your build target.

  4. Configure the package name for your project and select "Create Activity and Create a Test Project".

NEXT: Add the NoServer Android SDK to the Project