git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| function onLoad(e) { | |
| var data = { | |
| "wireless" : JSON.stringify([{ | |
| "name" : "wlan0", | |
| "mode" : "infrastructure", | |
| "wps_method" : "pbc", | |
| "authentication" : "wpa_psk", | |
| "eap_type" : "", | |
| "ssid" : "NAVOTA" | |
| }, { |
| var win = Ti.UI.createWindow({ | |
| title : "Modal Window" | |
| }); | |
| var Button = Ti.UI.createButton({ | |
| title : 'Click Me!', | |
| }); | |
| var emailDialog = Ti.UI.createEmailDialog(); | |
| emailDialog.subject = "Hello from Titanium"; |
| exports.C = { | |
| INSTAGRAM_CLIENT_ID : 'replace this with your public', //replace this with your public | |
| INSTAGRAM_CLIENT_SECRET : 'replace this with your private key', //replace this with your private key | |
| INSTAGRAM_CALLBACK_URL : 'replace this with your INSTAGRAM_CALLBACK_URL' | |
| }; |
| Email: csemrm@gmail.com | |
| Skype; csemrm |
This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium
This is actually very simple. The trick is putting the Actionbar in overlay mode by configuring the theme with windowActionBarOverlay:true. Then all you need to do is updating the color of the Actionbar, in this case by scrolling a ScrollView.
| var AVAudioEngine = require('AVFoundation/AVAudioEngine'); | |
| var AVAudioPlayerNode = require('AVFoundation/AVAudioPlayerNode'); | |
| var AVAudioFile = require('AVFoundation/AVAudioFile'); | |
| var NSBundle = require('Foundation/NSBundle'); | |
| var win = Ti.UI.createWindow({ | |
| backgroundColor: '#fff' | |
| }); | |
| var btn = Ti.UI.createButton({ |
| <!-- note the ONLY change to this is the additional module="tabIndicator" | |
| attribute + properties to override indicator defaults //--> | |
| <Alloy> | |
| <TabGroup module="tabIndicator" tabsBackgroundColor="#000" tabIndicatorHeight="1" tabIndicatorColor="white" tabIndicatorWidth="75%"> | |
| <Tab title="Tab 1" icon="/images/icons/519-tools-1.png" activeIcon="/images/icons/519-tools-1_active.png" color="#555" activeColor="#fff"> | |
| <Window title="Tab 1" barColor="black" navTextColor = "#fff"> | |
| <Label onClick="openWin1">Tab 1</Label> | |
| </Window> | |
| </Tab> | |
| <Tab title="Tab 2" icon="/images/icons/516-archive-box.png" activeIcon="/images/icons/516-archive-box_active.png" color="#555" activeColor="#fff"> |
| /** | |
| * Ti.DynamicLib | |
| * @abstract Support embedded binaries (aka dynamic libraries) in Titanium modules and Hyperloop. | |
| * @version 1.1.0 | |
| * | |
| * Install: | |
| * 1) Search and replace '../../src/<YourFramework>.framework' with your framework location. | |
| The path is relative to the `build/iphone` directory. | |
| * 2a) For classic modules: | |
| * - Add 'LD_RUNPATH_SEARCH_PATHS=$(inherited) "@executable_path/Frameworks" $(FRAMEWORK_SEARCH_PATHS)' |