Permalink
Browse files

Updating based on platform changes for 2.1.0 GA

  • Loading branch information...
1 parent 6ab90cb commit a62ef8a7722e023496347d916939eb323df920fe @mstepanov mstepanov committed Jun 28, 2012
Showing with 39 additions and 9 deletions.
  1. +18 −0 README
  2. +20 −1 Resources/app.js
  3. +1 −8 tiapp.xml
View
18 README
@@ -0,0 +1,18 @@
+Welcome to your Appcelerator Titanium Mobile Project
+
+This is a blank project. Start by editing your application's app.js to
+make your first mobile project using Titanium.
+
+
+
+----------------------------------
+Stuff our legal folk make us say:
+
+Appcelerator, Appcelerator Titanium and associated marks and logos are
+trademarks of Appcelerator, Inc.
+
+Titanium is Copyright (c) 2009-2010 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.
+
View
@@ -105,4 +105,23 @@ b7.addEventListener('click', function()
});
win.add(b7);
-win.open();
+win.open();
+
+if (Ti.App.Properties.getBool('showNotice', true)){
+ var alertNotice = Ti.UI.createAlertDialog({
+ buttonNames: ['OK', 'Visit docs', 'Don\'t show again'],
+ cancel:0,
+ title: 'Notice',
+ message: 'While this KitchenSink provides an extensive demonstration of the Titanium API, its structure is not recommended for production apps. Please refer to our documentation for more details.'
+ });
+ alertNotice.show();
+ alertNotice.addEventListener('click', function(e){
+ if(e.index === 1){
+ Titanium.Platform.openURL('http://wiki.appcelerator.org/display/guides/Example+Applications');
+ }
+ if(e.index === 2){
+ Ti.App.Properties.setBool('showNotice', false);
+ }
+ });
+}
+
View
@@ -3,15 +3,8 @@
<id>com.nolanwright.kitchensinkipad</id>
<name>KitchenSink-iPad</name>
<version>1.0</version>
-<deployment-targets>
- <target device="mobileweb">false</target>
- <target device="blackberry">false</target>
- <target device="iphone">false</target>
- <target device="ipad">true</target>
- <target device="android">false</target>
-</deployment-targets>
<publisher>nwright</publisher>
-<url>http://www.appcelerator.com</url>
+<url>appcelerator.com</url>
<description>No description provided</description>
<copyright>2010 by nwright</copyright>
<icon>default_app_logo.png</icon>

0 comments on commit a62ef8a

Please sign in to comment.