Using Corona as a library in a native-built app

I was wondering if there was a way to use Corona as a library in a native OS app. If not, would I be able to make it work somehow or would it be possible in the near future. Any help on the subject would be awesome. Thank you. [import]uid: 100738 topic_id: 34106 reply_id: 334106[/import]

Have a look at Corona Enterprise here…
http://www.coronalabs.com/products/enterprise/
http://docs.coronalabs.com/native/index.html

On Android, Corona is just a library that you can hook into your existing Android application project.
On iOS, it’s an Xcode project template that you can extend.
In both cases, you can extend the Lua API with your own to add additional functionality.
[import]uid: 32256 topic_id: 34106 reply_id: 135651[/import]

Unless I am mistaken, I believe this is the opposite of what I want. I am currently developing in Objective-C and would like to do things like use the simple animation code from Corona. [import]uid: 100738 topic_id: 34106 reply_id: 135653[/import]

I think what Joshua was getting at, is that to get the Corona library separately you need the enterprise license. Once getting the enterprise license you can do all manner of things, like having Corona as a sub-activity, show Native UI overlays, etc… So the short answer would be you can attempt to do these things only with the Enterprise license.

I currently use Enterprise, it would definitely be an advanced task to get it running as a sub-window in iOS. On Android it could be much easier to maximize/minimize Corona, so that it acts only as a single part of your overall app.

Although every time I update to a new Enterprise, it looks like they are making steps so that doing what you want to do would be easier and easier(better modularity, and less direct attachment to the Application APIs for Android/iOS). [import]uid: 134101 topic_id: 34106 reply_id: 135659[/import]

Christian,

Corona needs direct control of the AppDelegate and its main view. So, if you already have an app written, it won’t be easy to integrate Corona into it. Corona Enterprise was designed to be something that you build your app from rather than something to extend your existing app.

The same is true about our Android version. On Android, we have our own CoronaActivity which we use to manage the OpenGL view, capturing user input, capture orientation changes, suspend/resume events, etc. Here we go out of our way to make it work consistently between many Android devices and OS versions.

If you’d like to try out a trial version anyways, then please contact us via the following link…
http://www.coronalabs.com/products/contact/
[import]uid: 32256 topic_id: 34106 reply_id: 135697[/import]

Have a look at Corona Enterprise here…
http://www.coronalabs.com/products/enterprise/
http://docs.coronalabs.com/native/index.html

On Android, Corona is just a library that you can hook into your existing Android application project.
On iOS, it’s an Xcode project template that you can extend.
In both cases, you can extend the Lua API with your own to add additional functionality.
[import]uid: 32256 topic_id: 34106 reply_id: 135651[/import]

Unless I am mistaken, I believe this is the opposite of what I want. I am currently developing in Objective-C and would like to do things like use the simple animation code from Corona. [import]uid: 100738 topic_id: 34106 reply_id: 135653[/import]

I think what Joshua was getting at, is that to get the Corona library separately you need the enterprise license. Once getting the enterprise license you can do all manner of things, like having Corona as a sub-activity, show Native UI overlays, etc… So the short answer would be you can attempt to do these things only with the Enterprise license.

I currently use Enterprise, it would definitely be an advanced task to get it running as a sub-window in iOS. On Android it could be much easier to maximize/minimize Corona, so that it acts only as a single part of your overall app.

Although every time I update to a new Enterprise, it looks like they are making steps so that doing what you want to do would be easier and easier(better modularity, and less direct attachment to the Application APIs for Android/iOS). [import]uid: 134101 topic_id: 34106 reply_id: 135659[/import]

Christian,

Corona needs direct control of the AppDelegate and its main view. So, if you already have an app written, it won’t be easy to integrate Corona into it. Corona Enterprise was designed to be something that you build your app from rather than something to extend your existing app.

The same is true about our Android version. On Android, we have our own CoronaActivity which we use to manage the OpenGL view, capturing user input, capture orientation changes, suspend/resume events, etc. Here we go out of our way to make it work consistently between many Android devices and OS versions.

If you’d like to try out a trial version anyways, then please contact us via the following link…
http://www.coronalabs.com/products/contact/
[import]uid: 32256 topic_id: 34106 reply_id: 135697[/import]