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 | |
// ModuloMapa | |
// | |
// Created by addiel on 2012-03-03. | |
// Copyright 2012 addiel. All rights reserved. | |
// | |
// |
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
Ti.include('/moduleGeoFull.js'); | |
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#000'); | |
var win = Titanium.UI.createWindow({ | |
backgroundColor : '#fff', | |
title:'prueba', | |
}); |
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.include('db/db.js') | |
var mapas = Ti.UI.currentWindow; | |
mapas.backgroundColor = '#000'; | |
//imagen y logo de flisol | |
var logoPantalla = Titanium.UI.createImageView({ |
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.include('../db/db.js') | |
var mapas = Ti.UI.currentWindow; | |
mapas.backgroundColor = '#000'; | |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
Ti.Geolocation.preferredProvider = "gps"; |
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
[{"clave":"15DE0045O","Nombre":"TEOTIHUACAN","Ubicacion":null,"zona_id_zona":"1","logo":null,"telefono":"5783-0053","director":"Zeferino Salgado","numero":"45"},{"clave":"15DES0032K","Nombre":"NABOR CARRILLO FLORES","Ubicacion":null,"zona_id_zona":"1","logo":null,"telefono":"57-11-84-57","director":"Genaro Vargas Basilio","numero":"32"},{"clave":"15DES0054W","Nombre":"CELEDONIO FLOREE HERNANDEZ","Ubicacion":null,"zona_id_zona":"1","logo":null,"telefono":"51-20-66-56","director":"David Suarez Avalos","numero":"54"}] |
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 ApplicationWindow() { | |
//load component dependencies | |
var FirstView = require('ui/common/FirstView'); | |
//create component instance | |
var self = Ti.UI.createWindow({ | |
backgroundColor:'#ffffff', | |
navBarHidden:true, | |
exitOnClose: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
//Application Window Component Constructor | |
function ApplicationWindow() { | |
//load component dependencies | |
var FirstView = require('ui/common/FirstView'); | |
//create component instance | |
var self = Ti.UI.createWindow({ | |
backgroundColor:'#ffffff' | |
}); | |
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 ApplicationWindow() { | |
//load component dependencies | |
var FirstView = require('ui/common/FirstView'); | |
//create component instance | |
var self = Ti.UI.createWindow({ | |
backgroundColor:'#ffffff' | |
}); | |
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
{ | |
"resultados": | |
[ | |
{ | |
"resultado":{ | |
"id":"25", | |
"id_padre":"5", | |
"id_tipo_contenido":"0", | |
"titulo":"Sex & Trends", | |
"imagen":"", |
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 transition(){ | |
var self = Titanium.UI.createWindow({ | |
backgroundColor:'#c9c9c9', | |
}); | |
var backs = Titanium.UI.createView({ | |
backgroundImage:'/images/back1.png', | |
top:-30, | |
left:-30, | |
bottom:0, | |
right:0, |
OlderNewer