Key

To use the sample applications from the GitHub project, first clone the project:

Code Block

language

none

git clone https://github.com/appcelerator/alloy

Using Titanium Studio:

Create a new Alloy project.

Select File > Import.

Select General > File System and click the Next button. The Import dialog appears.

Click the first Browse button (From directory), then navigate to a test application in the cloned Alloy project and click the Open button. For example, if you want to import the Master-Detail application, select alloy/test/apps/advanced/master_detail/.

Select all folder and files, that is, make sure they are all checkmarked.

Click the second Browse button (Into folder), then navigate to your project's app directory and click the OK button.

Click the Finish button. The sample application is imported in your project and you can run it.