- Grab the latest version of the module from https://github.com/ricardoalcocer/actionbarextras/tree/master/dist
- Create a new Alloy project and use this file as index.js. This code is using the Chunkfive.otf custom font, which you can download for free from http://www.fontsquirrel.com/fonts/download/ChunkFive and save it to app/assets/android/fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a simple CommonJS module to wrap Titanium Ti.Network.HttpClient calls to interact with Drupal Services. | |
NOTE: Code updated at @TiConf using callback functions. | |
Tested using: | |
Drupal 6.24 | |
Services 3.1 | |
Titanium Mobile SDK 1.8.2 (Android 2.2 SDK) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ti:app xmlns:ti="http://ti.appcelerator.org"> | |
<deployment-targets> | |
<target device="mobileweb">true</target> | |
<target device="iphone">true</target> | |
<target device="ipad">true</target> | |
<target device="android">true</target> | |
<target device="blackberry">false</target> | |
</deployment-targets> | |
<sdk-version>1.9.0.v20120213133135</sdk-version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# inspired by Greg McCormick's (@crushmedianet) post | |
# http://crushmedia.net/2012/04/23/automated-build-of-titanium-iconloading-files/ | |
# updated 4 Aug 2012: creates clipped iPad backgrounds by cropping 768x1024, etc. | |
# create following base images + save in APPNAME/Resources/: | |
# appicon-android-512x512.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/build | |
/modules | |
/.DS_Store | |
/.settings | |
/.project | |
.DS_Store* | |
/Resources/.DS_Store* | |
build.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android xmlns:android="http://schemas.android.com/apk/res/android"> | |
<tool-api-level>16</tool-api-level> | |
<manifest android:installLocation="preferExternal" | |
android:versionCode="3" android:versionName="1.0.2"> | |
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/> | |
<application android:theme="@android:style/Theme.Holo"> | |
<activity | |
android:configChanges="keyboardHidden|orientation" | |
android:name="org.appcelerator.titanium.TiActivity" | |
android:screenOrientation="portrait" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onsuccess(data){ | |
var jdata=JSON.parse(data); | |
var data=[]; | |
jdata.forEach(function(item){ | |
var payload={ | |
tweet:item.text | |
}; | |
var row=Alloy.createController('tweet.row',payload).getView(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alloy.Globals.fa = require('fa'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// parsed from https://github.com/danielbruce/entypo/blob/master/config.yml | |
[ | |
{ | |
"name": "note", | |
"code": "0x266a", | |
"search": [ | |
"music", | |
"note", | |
"song" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
You can find below the mapping between filenames and name to use in ressource:// path. | |
/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/Frameworks/TVMLKit.framework | |
--> | |
<badge src="resource://button-cloud" /> | |
<!-- | |
File name => Name to use in resource://path | |
button-cloud => button-cloud |
OlderNewer