Creating Jar Plugin (jar file)

Hi Corona,

I just need some direction. I would like to create a jar file so that it can be a plugin.

  1. Is there a sample project which I can refer to ?

  2. Are there any other plugin-related documents which i can refer to ? I am currently referring to this : https://docs.coronalabs.com/daily/native/plugin/index.html

  3. Can this be done on the Enterprise Trial ?

Thanks

Hello there.

  1. We include sample projects in the Corona enterprise directory to help guide you on the process.

If you would like to see some real-world examples, you can find several of our plugins open-source on Github: https://github.com/coronalabs

One of the simplest is the Pasteboard plugin: https://github.com/coronalabs/plugins-source-pasteboard

The Pasteboard plugin gives you a good starting point. It shows both sending and retrieving values from Lua<>Java and vice versa.

Check that out and let me know if you have any further questions.

  1. Those documents are what we offer, in terms of interfacing with JNLua for instance. The majority of plugin work is working with native code, Java/Objective-C/C/C++, and for that there is a lot of information on Google. Since you’re making an Android plugin, the JNLua docs will be a good place to start, as that is one of the most important functional pieces, interfacing with Lua.

These two blog posts should also be of interest:

https://coronalabs.com/blog/2014/04/01/tutorial-corona-enterprise-quickstart-android/

https://coronalabs.com/blog/2014/03/18/tutorial-corona-enterprise-quickstart-ios/

  1. You can indeed.

Let me know if you have any further questions. 

Thank you

Hello there.

  1. We include sample projects in the Corona enterprise directory to help guide you on the process.

If you would like to see some real-world examples, you can find several of our plugins open-source on Github: https://github.com/coronalabs

One of the simplest is the Pasteboard plugin: https://github.com/coronalabs/plugins-source-pasteboard

The Pasteboard plugin gives you a good starting point. It shows both sending and retrieving values from Lua<>Java and vice versa.

Check that out and let me know if you have any further questions.

  1. Those documents are what we offer, in terms of interfacing with JNLua for instance. The majority of plugin work is working with native code, Java/Objective-C/C/C++, and for that there is a lot of information on Google. Since you’re making an Android plugin, the JNLua docs will be a good place to start, as that is one of the most important functional pieces, interfacing with Lua.

These two blog posts should also be of interest:

https://coronalabs.com/blog/2014/04/01/tutorial-corona-enterprise-quickstart-android/

https://coronalabs.com/blog/2014/03/18/tutorial-corona-enterprise-quickstart-ios/

  1. You can indeed.

Let me know if you have any further questions. 

Thank you