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
//app.js | |
var winsap = Titanium.UI.createWindow({ title:'sap', backgroundColor:'#fff', url:'sap.js' }); | |
var tabsap = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'sap', window:winsap }); | |
tabGroup.addTab(tabsap); | |
//IOS developers | |
sap.js = https://gist.github.com/3421560 |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace AccessImageMetadata | |
{ | |
public class Application |
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
var AWS; | |
var queueName = 'TestQueue110512'; | |
var awsAccountId = Ti.App.Properties.getString('aws-account-id'); | |
function pretty(key, value) { | |
if ((key == 'source') || (key == 'type')) { | |
return undefined; | |
} else { | |
return value; |
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
var NAVIBRIDGE = require('ti.navibridge'); | |
// ApplicationId must be set before adding POIs NaviBridge | |
// See the documentation for how to get an AppicationId | |
// NAVIBRIDGE.setApplicationId('<< YOUR APPLICATION ID HERE >>'); | |
var win = Ti.UI.createWindow({ title:"navibridge" }); | |
var openButton = Ti.UI.createButton({ top:5, title:'Open NaviBridge', height:40, width:200 }); | |
var installButton = Ti.UI.createButton({ top:50, title:'Install NaviBridge', height:40, width:200 }); |
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
/* | |
* Appcelerator Titanium Mobile | |
* Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. | |
* Licensed under the terms of the Apache Public License | |
* Please see the LICENSE included with this distribution for details. | |
*/ | |
module.exports = new function () { | |
var finish; | |
var valueOf; |
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
/* | |
* Appcelerator Titanium Mobile | |
* Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. | |
* Licensed under the terms of the Apache Public License | |
* Please see the LICENSE included with this distribution for details. | |
*/ | |
module.exports = new function () { | |
var finish; | |
var valueOf; |
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
var uiODataSimple = (function() { | |
var API = {}; | |
API.DataJS = require('ti.sap.odata'); | |
API.collectionCache = null; | |
API.useXMLNotJSON = true; | |
API.dataType = API.useXMLNotJSON ? 'application/atom+xml' : 'application/json'; |
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 ApplicationTabGroup(Window) { | |
//Require our new windows | |
WindowAppListingNodeApps = require('ui/handheld/WindowAppListingNodeApps'); | |
WindowHome = require('ui/handheld/WindowAppHome'); | |
//create module instance | |
var self = Ti.UI.createTabGroup(); | |
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 (strongloop) { | |
strongloop.dataCache = [{ | |
title: 'Loopers App', | |
url: 'appDetail.js', | |
url_scheme: 'nbcipad', | |
hasChild: true, | |
appID: '284910350', |
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
var defaultColorBlue = '#035385'; | |
var defaultColorRed = '#9a0707'; | |
var rowColor = '#EBEBEB'; | |
var selectedRowColor = '#4B4B4B'; | |
var backgroundColor = '#4B4B4B'; | |
var defaultColor = defaultColorRed; | |
function ApplicationWindow(title) { | |