KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I installed Titanium from appcelerator and built the "KitchenSink" example application. All works well, I'm just wondering where does the javascript code ends up in a built app. I grep-ed the Xcode project and also the result application as I found it in Library/Application Support/iPhone Simulator/....KitchenSink.app , but I can't find any function names from .js files, not even string texts used within the application. Nearest information I found is an answer here : How Does Appcelerator Titanium Mobile Work? but I do not understand clearly how the process works. Is the javascript code being compiled into a binary code (what compiler is used then?), or is it just transformed in some special data-format and interpreted in a running application ? Update: This is what I can see in a build/android directory of KitchenSink: michal:bin mac$ find . -name table_view_layout\* ./assets/Resources/examples/table_view_layout.js ./assets/Resources/examples/table_view_layout_2.js ./assets/Resources/examples/table_view_layout_3.js ./assets/Resources/examples/table_view_layout_4.js ./assets/Resources/examples/table_view_layout_5.js ./classes/org/appcelerator/generated/examples/table_view_layout.class ./classes/org/appcelerator/generated/examples/table_view_layout_2.class ./classes/org/appcelerator/generated/examples/table_view_layout_3.class ./classes/org/appcelerator/generated/examples/table_view_layout_4.class ./classes/org/appcelerator/generated/examples/table_view_layout_5.class michal:bin mac$ unzip -t app.apk | grep table_view_layout testing: assets/Resources/examples/table_view_layout.js OK testing: assets/Resources/examples/table_view_layout_2.js OK testing: assets/Resources/examples/table_view_layout_3.js OK testing: assets/Resources/examples/
Tags (comma-separated)
Save Edits
Cancel