Where is the JAVA for my app?
Pardon my noobness here. Maybe I've missed it, but I've spent all evening trying to figure out how to put the finishing touches on my Android app by editing the project in Eclipse. I have one bug that I can fix if I can get into that code (can't fix it in Titanium for some reason).
Where is the code? I've looked all through the BUILD -> ANDROID folders and have not found the source files. I found a series of .class files, but the few .java files I found had only a few lines and none of my code.
I really get the impression that the Android side of Titanium doesn't get the attention the iPhone side does.
3 Answers
-
What code are you expecting to find? It's Javascript. There are 3 generated sources files for your project that are used to bootstrap you into Titanium. The rest of the source is on github. Android ships jars in the mobilesdk not source. There is documentation in the Programming guides section for getting the tools installed and there is one for module developers that talks about working in Eclipse.
-
If this isn't a function of Titanium, would it be useful to anyone other than me?
-
You can get source files from github:
git clone http://github.com/appcelerator/titanium_mobile.git
(git should be installed first)Now you will find all the sources of Titanium. If you want to build, you need to enter the following command:
sconsIf you have all the SDK-s, and building environment installed, it should compile and make new sdk in the dist folder. You should extract it on the Titanium's folder. Now you will get version 1.4.1 of the SDK. I've only tried this on OS-X.