Detecting Android Device



  • Hi everyone.
    Today I'm trying to detect the kind of Android device the apk is working on. That way I could use different gamepad configurations depending on the device the game is working on.

    I was lurking at openfl.system.Capabilities but manufacturer and os are the same on all Android systems. Then I moved on to openfl.system.Capabilities.serverString but it doesn't show a thing on Android...

    Now I'm trying to use lime.system.Display.name but the compiler says Class<lime.system.Display> has no field name, even though it is there in the source...

    What should I do?


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.