Step 1

Enter your contact information.

Step 2

Enter your project information.

Step 3

Choose the PHP programmers you want to hire.

Compare Free PHP Quotes





Country



Titanium Mobile Android Development: Installation

*Attention PHP Programmers* - Add A Free Listing! Get more clients.

Win a new Compaq Presario Notebook!

In this series of tutorials we use Appcelerator’s Titanium Mobile platform to create Android applications. This tutorial goes over the installation and configuration of the Android SDK and Titanium Mobile on a Windows 7.

Java

Although our Titanium application will be created using Javascript, the Android SDK (which Titanium sits on top of) runs on Java. It’s likely you already have the JRE (Java Runtime Enviroment) installed on your computer, this allows Java applications to run. However to develop applications using Java (and hence Titanium) you will need the JDK (Java Development Kit). Head over to the Oracle website, download and install it. If you have already created Java applications before, this will probably already be installed on your system.

Android SDK

The next step is to get the Android SDK. Download, install and start the application (SDK Manager). Once it’s up and running you will be prompted to install different versions of the Android SDK, documentation and samples. You must install Android SDK Platform-tools. The choice of SDK versions is up to you. If you only intend to develop for Android 2.2, then only choose the 2.2 package. If you want your application to run on all versions of Android, then select all 1.X and 2.X packages. The 3.0 API isn’t stablised yet so Titanium does not support it. Also install Google’s Third Party Addons such as Google Maps and USB Device Support.

Configuring Paths

The last thing we need to do before installing Titanium is to set two environment variables and edit the Path environment variable. This must be done because Titanium checks these environment variables to find the correct path to the JDK and Android SDK. There are a couple of ways to set environment variables, the quickest and easiest way to do this is to type system variables into the search bar of the Windows Menu.

Clicking the Enviroment Variables button brings up this screen..

We need to add 2 environment variables:

android_sdk – The path to the Android SDK, similar (if not the same) to C:Program FilesAndroidandroid-sdk-windows

JAVA_HOME – The path to the JDK, similar (if not the same) to C:Program FilesJavajdk1.6.0_24

We also need to add Java and the Android SDK to the Path environment variable. Select the Path environment variable and click edit. It will bring up a dialog box which contains of a long string of file system paths. Scroll to the far right and append ;C:Program FilesJavajdk1.6.0_24in;C:Program FilesAndroidandroid-sdk-windowsplatform-tools (or the appropriate paths to those directories). The semi colon is used as a delimiter, you must include them.

Titanium

Finally we can install Titanium. Head on over to the Appcelerator website and download Titanium Developer. Once installed Titanium Developer should automatically download the Titanium Mobile SDK. If it doesn’t then a notification will appear in the top right hand corner of Titanium Developer and you can install it by clicking on the notification.

Test Application

Now that the Android SDK and Titanium is installed and configured we can finally start making applications. Click the New Project button at the top of Titanium Developer. Select Mobile application and fill out the appropriate fields.

After the project is created click the Test & Package tab and then click the Launch button. Titanium will compile your application and launch it in the Emulator.

Next week we will build a native Android application using Titanium Mobile. It will download and parse an RSS feed and display the items in a TableView. When the item is clicked the default Android web browser will open and navigate to that web page. To be notified when that tutorial is published subscribe to our twitter or rss feeds.

Source http://query7.com/?p=1131
Mon, 21 Feb 2011 02:05:43 GMT
Tags: Android, Titanium Mobile, Web Development,

*Attention PHP Programmers* - Add A Free Listing! Get more clients.


Android


Titanium Mobile Android Development: Soundboard App

In this series of tutorials we use Appcelerator’s Titanium Mobile platform to create Android applications. This tutorial walks you through developing and packaging a soundboard application. Full source and packaged application is available on Titanium Mobile Android Development: First Application

In this series of tutorials we use Appcelerator’s Titanium Mobile platform to create Android applications. This tutorial walks you through developing and packaging your first Titanium application. Full source and packaged application is available on

Titanium Mobile


Web Development


Using Proxies with cURL in PHP

If you are new to using PHP and cURL please refer to the PHP cURL tutorial. It covers why you should using cURL (as opposed to file_get_contents) and goes over how to make cURL requests with a custom class.

This Week in Web – PHP Namespaces, NodeTuts, Kohana

Interview with Matthew Weier O’Phinney

Kevin Schroeder, tech evangelist at Zend, recently interviewed Zend Framework lead Matthew Weier O’Phinney. The two talk about Weier O’

Members:
Melbourne
David Mueller Profile
David Mueller

German freelance PHP programmer with 5 years of experience in PHP, MySQL, HTML, CSS, AJAX, Photoshop, PHP frameworks (CodeIgniter, Typo3, Joomla, etc.), Linux Server administration, JAVA, C# and C++.

Melbourne, Victoria AU
Kolkata
Credence Pvt Ltd Profile
Credence Pvt Ltd

We are a ISO 9001:2008 certified company and STPI registered. Our Services are: Web designing, Web Development, Content & Article Writing, SEO, SEM, SMM

Kolkata, West Bengal IN
Franklin
Spectrum Nashville Profile
Spectrum Nashville

Spectrum Nashville is committed to providing reasonable, excellent business technology solutions that simply work.

Franklin, Tennessee US
Dunmore
Computer Wonders Profile
Computer Wonders

Get a website for $400.00. Please see our Facebook page for more details. http://www.facebook.com/Computer.Wonders

Dunmore, Pennsylvania US
Las Vegas
NetDynamic - PHP/MySQL - Experienced Dev Profile
NetDynamic - PHP/MySQL - Experienced Dev

PHP/MySQL Web Developer 15+ years experience. We are a team of developers and designers. Address: 3513 E Russell Road, Las Vegas, NV Call us: 877-704-0005 or 702-509-5050

Las Vegas, Nevada US
Design Leads


PHP Programmers Valid HTML 4.0 Transitional Valid CSS!

Apple Credits OpenStreetMap for iPhoto Map Data

Two months ago Apple launched its iPhoto for iOS app with some map data that looked very familiar to



W3C Publishes an HTML5 Spec for Web Developers

Chances are, despite embracing the tools therein, you’ve probably never read the HTML5 spec. W



Google’s New Search Algorithm to Crack Down on ‘Black Hat Webspam’

Google has once again updated its ranking and page layout algorithms in an effort to stop spammy web



This Week In Web – Python, NodeJS CMS, Google APIs, XDebug

Writing Clean, Testable, High Quality Code in Python

Noah Gift, Python book author and A



Google’s New Privacy Policy: What Has Changed and What You Can Do About It

Today's the day Google's new privacy policy takes effect. It's too late to pull out your data now, b



Article Tags
PHP Programmers Articles
Browsers| Web Standards| CSS| firefox| HTML5| Web Basics| Programming| Web Services| Mobile| JavaScript| Web Development| Visual Design| Multimedia| chrome| Google| responsive design| This Week in Web| CSS 3| Opera| Web Apps|
Friends:
Live Help Chat Software
Web Design Quote
Web Design