What language do I need to use in a JLS file ? Javascript ??
Thanks for all our help
P
Phil Phil
said
over 8 years ago
Hello
OK but if I put Titanium DB API in *.jsl file, that means that my code won't be compiled ?
So if I understand, I cannot use Titanium DB API code in the jsl file ?
Is it that it means ? So what's the solution ?
A
Andreas Schacherbauer
said
over 8 years ago
Hi Phil, .jsl files are regular .js files. We needed to rename them to .jsl because otherwise the Titanium Studio would try to convert them into native code and the files do not appear in the final app bundle. So you can use regular JavaScript ;)
I'm not sure how to use the Titanium DB API but as long as you can get your poi information out of it and pass them in the same format as we defined in our samples, you should be able to use them in your application.
(Please close the thread you created that links to this question!)
Phil Phil