https://kotlinlang.org logo
Title
j

ja.son

11/18/2020, 2:20 AM
I'm developing an Android app through Android Studio, so can I apply ui through korge to some screens?
d

Deactivated User

11/18/2020, 11:28 AM
Where did you find that broken link, so we can fix it?
Do you mean using plain android components and put a korge game as a normal view?
:yes-black: 1
p

Pablo Caviglia

11/18/2020, 5:16 PM
if that's the case he can maybe use the component we developed right ?
:yes: 1
j

ja.son

11/19/2020, 12:49 AM
thk u~~!!!
👍 1
🤔 It's hard on Android Studio. Is it possible in Android Studio?
p

Pablo Caviglia

11/19/2020, 1:42 PM
it's possible
:kotlin-intensifies: 1
there are several ways of doing it. The way I did it was to create a korge project in intellij idea ce, then generate an android library (aar) using the korge's gradle task for doing it (buildAndroidAar), and then import that library into your android studio's project
❤️ 1
you can make things more straightforward if you create a korge's gradle submodule into your android studio project, and then just reference the output of that submodule in your android app
❤️ 1
you probably can chain the android project build process with the korge's submodule to make gradle build it before building the android project
❤️ 1
the options are quite endless, gradle is very flexible, as also korge
❤️ 1
@Deactivated User will include in the next releases the possibility to use korge as an android view, so you can ask him later a possible release estimate
❤️ 1
👍 1
j

ja.son

11/20/2020, 8:56 AM
That's really sweet of you.
thk u~!!!! I'll give it a try!😀