titanium 

for TiShadow


Titanium build and deploy


javascript → source code

source code → apk

apk → device or emulator



if you a line code

doSomething(); 

then...

var returnValue = doSomething();
Ti.API.info( "returnValue=" + returnValue );



Build and deploy


To build need 1 minute.


And,deploy need 0.5 minutes.


(Photo via Moyan Brenn, CC License)




What is TiShadow






Your code previews device.


Tishadow  concept



run a tishadow server

install a tishadow app to your device

deploy your app to tishadow app by tishadow server

console by web or terminal

INSTALL  titanium


sudo npm install -g titanium
titanium sdk install

Titanium  setup

titanium login
titanium setup


Install TiShadow

sudo npm install -g tishadow 


Create and install a TiShadow app


create a folder
mkdir ~/tishadowapp 
create a tishadow project
tishadow app -d ~/tishadowapp 

build 、 deploy and run to your platform
titanium build -p android 


Build and deploy device by TiShadow


create a project
titanium create -n newProject -p android --id appname -d .

build and deploy
tishadow run 

use console
tishadow repl 

Q&A