Back

Titanium 一个比较有深度的讨论: 100% native code?

发布时间: 2014-11-15 00:52:00

refer to : http://developer.appcelerator.com/question/151982/100-native-code

通读下来,基本干货是:

1. Titanium 不是 hybrid, like phonegap. 

2. Titanium 也不是把js 代码转换成 java for Android, OC for iOS. 而是类似于JVM那样,    js => interpreter => run native function 

结论: Titanium 绝对比  hybrid快,而且 能调用native code. 

再多一点儿猛料:

Titanium 可以PUSH ( http://docs.appcelerator.com/titanium/latest/#!/guide/Push_Notificationshttp://programmer.shinchi.tw/category/titanium/

可以调用摄像头  http://docs.appcelerator.com/titanium/latest/#!/guide/Camera_and_Photo_Gallery_APIs

Back