Appcelerator Module development : How to connect my Java source with the module

拥有回忆 提交于 2020-01-14 03:03:12

问题


I have been trying to build a module in Appcelerator to let one Android library become available to Appcelerator platforms as well, but the documentation on Appcelerator site isn't helping me much. It's been two days since I am hitting walls.

I followed Android Module Development Guide available on their site, but it doesn't specify many things, for example:

  • It tells about creating a module from command line for a calculator, but doesn't write much about how to integrate the actual code.

I might be missing something, that's a possibility, so I am giving it a read once again.

But can anyone point me towards correct direction or make things a little more clear please?


回答1:


I am answering my own question, so that if someone comes here it helps them.

Turns out that I was hitting the older version of their documentation, called Wiki.

The newer version hosted at docs.appcelerator.com are more descriptive.

In this particular case, these docs helped me quite a lot.

Apart from this, following links helped too and I got a sample module built and running:

  • Titanium Module Concepts
  • Integrating an external library in an Android module
  • Module Development Guide Reference Module for iOS and Android

Hope it helps someone.



来源:https://stackoverflow.com/questions/13927885/appcelerator-module-development-how-to-connect-my-java-source-with-the-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!