I made a unity based app for android, how do i link the unity based app to codename one base GUI as the menu and merge them in to one android app?

19 views
Skip to first unread message

kylechris...@gmail.com

unread,
Feb 21, 2018, 9:16:01 AM2/21/18
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Kyle Christian Ong

unread,
Feb 21, 2018, 9:37:47 PM2/21/18
to codenameone...@googlegroups.com
Eclipse
Windows 10
android app
android phones


--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/MslvdxPWVIM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/31cf905b-e508-4acd-883c-41278655ad48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shai Almog

unread,
Feb 21, 2018, 10:44:49 PM2/21/18
to CodenameOne Discussions
I'm assuming you can compile that Unity app?
If you can compile it as an AAR or a static lib for iOS you can just show the activity from the Android native code of a Codename One application then place the aar file in the native/android directory.

In iOS you can compile the app as a static lib and name it libMyApp.a (prefix lib and suffix .a) place it within the native/ios folder and show the main UI using present view controller.

This is a lot of work and I'm not sure it's worthwhile. I know some developers of ours who did similar things to use domain specific tools e.g. in the banking industry. But it's still a pain and negates at least some of the benefits of Codename One.
Reply all
Reply to author
Forward
0 new messages