##Second Sample Appcelerator Alloy Mobile Project for Howard U SCS Cross-Platform Mobile App Dev Class
- Project is based off of the default 2 Tab template available in Titanium Studio.
- Project is a sample demonstrating the use of the following features
- Titatium ListView
- Titanium Camera & Photo Gallery Integration
- Appcelerator Cloud Service
ti.cloud
module, User and Photo Objects covered - Date and Time manipulation using
moment.js
- Javascript library
q
for promises integration
- This code should run successfully on IOS and Android using the Appcelerator 3.5.0 SDK ( Android Map Integration Not Tested )
- Concepts here are meant to be a introductory guide to concepts covered in my book on Appcelerator Alloy and Appcelerator Cloud Services
Link to presentation on Slideshare.net - http://www.slideshare.net/aaronksaunders/howard-class-day12
Appcelerator Alloy Simple TableView Mobile App: https://youtu.be/Sz_V5HAqroU via @YouTube Intro To Titanium Studio and Your First Appcelerator Alloy HelloWorld App: https://youtu.be/EBFbkM5eM6w via @YouTube
###Getting Started
Please setup your constants by modifying the file tiapp.xml
in the root
directory of your project
Modify the code below to use your values from the Appcelerator Cloud Services console. The information can be found at http://my.appcelerator.com. If you are starting with a new project you created in Appcelerator Studio, you can cloud enable the application at creation and skip this step.
Be sure to used the development key. Note that if you are starting your project from scratch, this step is not needed if you have cloud enabled your application
<property name="acs-api-key-development" type="string">YOR VALUE HERE</property>
http://docs.appcelerator.com/titanium/latest/#!/guide/iOS_Map_Kit
Be sure to add the appropriate keys to your tiapp.xml
to support map integration on IOS
<ios>
<plist>
<dict>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
<key>NSLocationAlwaysUsageDescription</key>
<string>HU Class Sample App</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>HU Class Sample App</string>
<!-- Other Key Excluded For Purpose of Documentation -->
</dict>
</plist>
</ios>
http://docs.appcelerator.com/titanium/latest/#!/guide/Google_Maps_v2_for_Android
Refer to the "Obtain a Google Maps API key" section here and replace the google maps API key in tiapp.xml
:
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="..."/>
Stuff our legal folk make us say:
Appcelerator, Appcelerator Titanium and associated marks and logos are trademarks of Appcelerator, Inc.
Titanium is Copyright (c) 2008-2013 by Appcelerator, Inc. All Rights Reserved.
Titanium is licensed under the Apache Public License (Version 2). Please see the LICENSE file for the full license.