https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • s

    sparse-table-35282

    06/19/2019, 1:50 PM
    Yep, if I can pinpoint more info I'll open an issue. I'm hoping to have fewer 'I HAVE NO IDEA PLS HLP?!?!' moments XD
  • b

    bright-gpu-74537

    06/19/2019, 1:50 PM
    😄
  • b

    bright-gpu-74537

    06/19/2019, 4:36 PM
    haxeui-android still fun! 😃
  • b

    bright-gpu-74537

    06/19/2019, 4:36 PM
    first time i tested with this new phone
  • b

    bright-gpu-74537

    06/19/2019, 4:39 PM
    wonder if there is a way to enumerate themes on a device... neither of these actually look like the OS
  • b

    bright-gpu-74537

    06/19/2019, 4:44 PM
    same happens with normal app from android studio
  • a

    ambitious-knife-25690

    06/19/2019, 4:46 PM
    Neat, is that native components?
  • b

    bright-gpu-74537

    06/19/2019, 4:46 PM
    yup
  • b

    bright-gpu-74537

    06/19/2019, 4:47 PM

    https://www.youtube.com/watch?v=cijUTbMKMHI&t=763sâ–¾

  • b

    bright-gpu-74537

    06/19/2019, 4:47 PM
    its more than a little long winded im afraid... but shows the android backend working pretty well
  • a

    ambitious-knife-25690

    06/19/2019, 5:13 PM
    Interesting, what's the extern process?
  • b

    bright-gpu-74537

    06/19/2019, 5:13 PM
    no externs
  • b

    bright-gpu-74537

    06/19/2019, 5:13 PM
    directly maps haxeui components to native java versions
  • b

    bright-gpu-74537

    06/19/2019, 5:14 PM
    eg:
  • b

    bright-gpu-74537

    06/19/2019, 5:14 PM
    Copy code
    xml
        <component id="haxe.ui.components.Button" class="android.widget.Button">
            <behaviour id="text" class="haxe.ui.backend.android.behaviours.TextViewText" />
            <behaviour id="icon" class="haxe.ui.backend.android.behaviours.WidgetIcon" />
            <size class="haxe.ui.backend.android.size.MeasuredSize" />
        </component>
  • b

    bright-gpu-74537

    06/19/2019, 5:14 PM
    ie, same way haxeui-hxwidgets, haxeui-winforms and haxeui-qt work
  • a

    ambitious-knife-25690

    06/19/2019, 5:15 PM
    I have no idea how those targets work
  • a

    ambitious-knife-25690

    06/19/2019, 5:15 PM
    But I meant externs in a difference sense
  • a

    ambitious-knife-25690

    06/19/2019, 5:15 PM
    What's the process in exposing other android/ios API's from this setup?
  • b

    bright-gpu-74537

    06/19/2019, 5:16 PM
    in what sense? You mean as in android system apis?
  • a

    ambitious-knife-25690

    06/19/2019, 5:16 PM
    yeah, system api's, java libraries
  • a

    ambitious-knife-25690

    06/19/2019, 5:16 PM
    like adding firebase to the project as an example
  • b

    bright-gpu-74537

    06/19/2019, 5:17 PM
    well, its just hxjava, so same way you normally would for a hxjava app i guess
  • b

    bright-gpu-74537

    06/19/2019, 5:17 PM
    i mean, you can directly access most (all?) android system apis from haxe
  • a

    ambitious-knife-25690

    06/19/2019, 5:18 PM
    Ah i've never used hxjava so I have no idea if the extern process is as simple as javascript or as complicated (at least for me) as cpp externs
  • b

    bright-gpu-74537

    06/19/2019, 5:18 PM
    i think its pretty straight forward to be honest, i havent tried it on android, but i think (iirc) that with hxjava it works like hxCS, ie, you just point it to a jar file and thats that
  • b

    bright-gpu-74537

    06/19/2019, 5:19 PM
    but i might be imagining / mis-remembering that
  • a

    ambitious-knife-25690

    06/19/2019, 5:19 PM
    neat, so pure android dev is theoretically alright
  • a

    ambitious-knife-25690

    06/19/2019, 5:19 PM
    I guess ios + android is gonna be a different situation
  • a

    ambitious-knife-25690

    06/19/2019, 5:20 PM
    Basically weighing up whether I should use this or stick to haxe-react native
1...707172...1687Latest