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
/*** | |
* Connects the blue box to the red box with touch and finger slide. | |
* The window's backgroundColor and the label's text give feedback to the user. | |
* ... the blue box is not going to move anywhere | |
* | |
* @Copyleft 2013 Patrick De Marta | |
* @License GNU GPL | |
*/ | |
/** |
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
/*** | |
* Connects the blue box to the red box with touch and finger slide. | |
* The window's backgroundColor and label's text will give action feedback to the user. | |
* Or how to take advantage of convertPointToView() to keep things simple | |
* | |
* @Copyleft 2013 Patrick De Marta | |
* @License GNU GPL | |
*/ | |
/** |
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 example of custom confirm dialog for TableView's delete events. | |
* Asks to confirm/cancel a delete operation. On cancel restores the deleted row in | |
* its former position in the table data. | |
* | |
* @Copyleft 2013 Patrick De Marta | |
* @License GNU GPL | |
*/ | |
var win = Titanium.UI.createWindow({ |
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(win) { | |
["moving editing", | |
"moving editable", | |
"moveable editing", | |
"moveable editable" | |
].map(function(test){ | |
var table = { headerTitle: test }; | |
test.split(" ").map(function(property){ | |
table[property] = true; | |
}); |
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 win = Ti.UI.createWindow({ | |
backgroundColor:'#fff', | |
layout:'vertical', | |
}); | |
var tableData = [{title:"Alpha"}, {title:"Beta"}, {title:"Gamma"}]; | |
var test1 = Ti.UI.createTableView({ | |
headerTitle: 'moving editing', | |
moving: true, |
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 win = Titanium.UI.createWindow({ | |
backgroundColor:'#fff', | |
layout:"vertical" | |
}); | |
win.open(); | |
var module = require('myModule'); | |
module.createScanPage(win); |
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
/* | |
* Titanium Label Bender | |
* Proof of concept for a factory function(string, angle) returning a single view | |
* with the single char labels composed along an arc, resulting in a curved label | |
* | |
* @Copyright (c) 2013 Patrick De Marta | |
* @License MIT | |
*/ | |
var win = Titanium.UI.createWindow({ |
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 button1 = Ti.UI.createButton({ | |
top:"10%", | |
title: "Get Files" | |
}); | |
$.index.add(button1); | |
button1.addEventListener('click', getfiles); | |
function getfiles(){ | |
Ti.API.info('get files was pushed'); |
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
cachedImageView = function(basedir, uri, obj, attr, cacheage) { | |
/** | |
Appcelerator Titanium ImageView /w cache | |
This function attempts to cache a remote image and then returns it again | |
when it's requested. | |
The file is stored in a directory "basedir," this is to try and help | |
you keep files unique. It's not special or magical, but not dirty either. |
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
Comune | latitudine | longitudine | |
---|---|---|---|
Agliè | 45.3641546 | 7.7686265 | |
Airasca | 44.9182892 | 7.4856624 | |
Ala di Stura | 45.3113703 | 7.293252600000001 | |
Albiano d'Ivrea | 45.4327781 | 7.9476302 | |
Alice Superiore | 45.459751 | 7.778170599999999 | |
Almese | 45.1173797 | 7.3950789 | |
Alpette | 45.4106335 | 7.580299800000001 | |
Alpignano | 45.0991116 | 7.516632899999999 | |
Andezeno | 45.0367203 | 7.867391800000001 |
OlderNewer