1 | Next Page

A Simple Dotted Line in Titanium

Oct 10, 2012 3:27 PM
Rating: (Total Clicks 91)

Just a simple dotted line for re-use in titanium apps. Nothing spectacular here but simple to implement and expand as needed. Code is based on CommonJS and exports the creation of the dotted line which is simply a view with a repeating background set to 1px height. Please note the image is just a 1 [...] (translate)

More responsive buttons in PhoneGap

Sep 22, 2012 3:26 AM
Rating: (Total Clicks 71)

To get a more responsive click action from an href link in PhoneGap use ontouchstart. I started off using javascript inline <a href=”javascript:someFunction()”> then tried <a href=”javascript:void()” onclick=”someFunction()”> and found that using ontouchstart is the most responsive, <a href=”javascript:void()” ontouchstart=”someFunction()”> (translate)

Setting a background image in phonegap for IOS

Sep 22, 2012 3:26 AM
Rating: (Total Clicks 61)

Similar to yesterdays post on setting a transparent background in phonegap, this is a quick bit on how to set a background image in IOS for use in phonegap app-wide. First you will need to set the background of the UIWebview to a transparent background as shown in the previuos post. Once thats done we [...] (translate)

Setting transparent background in Phonegap for IOS

Sep 22, 2012 3:26 AM
Rating: (Total Clicks 63)

A quick post on setting the background of the UIWebView to transparent for use with Phonegap. In your AppDelegate.m file modify the – (void) webViewDidFinishLoad:(UIWebView*) theWebView method and add the following line to make the UIWebview transparent theWebView.opaque = NO; - (void) webViewDidFinishLoad:(UIWebView*) theWebView {   // only valid if FooBar.plist specifies a protocol to [...] (translate)

Flattened Contact List with index in Titanium

Sep 13, 2012 5:26 PM
Rating: (Total Clicks 47)

I wrote a contact list that flattens all contact entries onto a single list with a search bar and index. Ive only tested it on IOS but it should be fairly straight forward to move it to Android as well. var contactsInitialized = false; var labelsInitialized = false;   var selectedPhoneNumberContacts = []; var selectedEmailContacts [...] (translate)

Tabbed Application template for Titanium

Sep 13, 2012 5:26 PM
Rating: (Total Clicks 65)

Ive recently had to create a tabbed application interface for a few different projects using Titanium. These particular projects needed a design driven UI rather than a device driven UI meaning they wanted the design to be exactly the same on both Android and IOS. This creates a bit of a challenge when using the [...] (translate)

Remove Spark Datagrid & TileList Flicker on scroll

Mar 8, 2012 6:27 PM
Rating: (Total Clicks 183)

Recently on a few projects ive had to work with the spark datagrid and list components. While these components are great and work very well for the majority of the time, I have come into cases where when the item renderers are a bit more complex then the simple default renderer the grid flickers when [...] (translate)

Setting up Hudson on Ubuntu for Continuous Integration

Mar 8, 2012 4:26 PM
Rating: (Total Clicks 70)

Heres a quick writeup on setting up Hudson on an Ubuntu server. Install Subversion sudo apt-get install subversion Install libapache2-svn sudo apt-get install libapache2-svn Restart apache for the changes to take effect sudo /etc/init.d/apache2 restart Enable ssl sudo a2enmod ssl Create a certificate sudo apt-get install ssl-cert sudo mkdir /etc/apache2/ssl sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem sudo [...] (translate)

Compile Flex applications using ANT

May 1, 2009 7:44 AM
Rating: (Total Clicks 158)

A quick setup and example of how to compile a Flex application using ANT. This example will show the basics of how to run the ANT script to compile your flex application, I will walk through more complex examples in later posts but to get started look through the script and properties files below or [...] (translate)

Using tokens in resource bundles

May 1, 2009 7:44 AM
Rating: (Total Clicks 154)

A quick sample on how to pass in token values to a resource bundle string. When you need to replace a token value in your bundle, you will want to use the resourceManager or ResourceManager and pass in the value you want to replace in your bundle as an array, this is in the 3 [...] (translate)

1 | Next Page