Can i call java lib in titanium?

You must Login before you can answer or comment on any questions.

i wanna use javalib for android in titanium , can i do that?

2 Answers

As we know titanium works with javascript so directly we can not use java library, but if you want to use ,you can make module for android, in which you can use java library. for more details about module creation you can refer this link https://wiki.appcelerator.org/display/tis/Creating+a+New+Titanium+Module

As Ashutosh correctly put, you cannot use android libraries in titanium apps directly but you can expose it by wrapping it in a module which then provides facility to expose java methods as javascript methods.

You can refer latest documentation for module development from this link: Android Module Development Guide

You can refer a sample module developed by Jeff for code insight from this link: Moddevguide

i hope this helps

Your Answer

Think you can help? Login to answer this question!