Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

How does lua call java packages and classes?
Started by 284672641 Sep 11 2018 09:00 AM

1 reply to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 83 posts
  • Corona SDK

How does lua call java packages and classes? I read the contents of the following two links:
Just write the code of how to call , there is no writing process, for example, just like lua calls c packaged dll library,like thes: you should first install vs2010, then use vs2010 to create a win32 console application project, named mylib (doesn't matter)..., I have attached the process of corona to compile the external library windows in the attachment. Who knows how this process of lua how to call java packages and classes?

Attached Files

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Corona Geek

  • 1,416 posts
  • Corona SDK

I don't have enough information to answer your specific question. But it doesn't appear that the two articles you mentioned are related to Corona. Since this is a Corona forum I assume you are looking for Corona information. There is some information in the native documentation about calling java:




You can also look at many examples of other people's project on GitHub. You will find my Smaato plugin there. My plugin is not finished and it intentionally only will load on Amazon devices, but you can see how I call the .jar from the Lua code.