Reputation: 11
I am new to Appcelerator Studio and a bit confused over the different alternatives when starting a new project.
I started two projects, one with menu "New - Mobile App Project - (Project Template) Default Project", and the second with "New - Mobile App Project (Project Template) Single Window Application".
Both projects have, Titanium SDK version 5.2.0.GA, Deployment Targets: iPhone, Mobile Web, and Unchecked Enable Appcelerator Platform Services.
Please see image link below from Studio Project Explorer on how these two projects look like:
The first project (DefaultProject) makes a single window with two tabs. The second project (SingleWindowApplication) just makes a single window.
Upvotes: 1
Views: 167
Reputation: 4055
At first, if you start learning Ti, I would start with an Alloy project and straight learn this route. Helps you to be more organized in your projects (MVC structure).
The projects you've created are classis Ti projects (works fine too). The different folders are just a way to organize your projects. You can create them in the first example if you like to. E.g. the i18n is just not part of the first template but if you start to create a multilanguage project you would just add it.
The targets you define are used during compiling. So if you compile it for iphone it won't add the android assets in there, so just ignore those folders (the template creates them). If you create a empty project from the command line ti create
select app
and android
it will just create the android folder in the Resources directory. But if you run alloy new
to create an Alloy project inside this directory it will automatically create all other asset folders (again, ignore them, they won't be used)
Upvotes: 3