Created
February 6, 2013 20:27
-
-
Save DanielUranga/4725501 to your computer and use it in GitHub Desktop.
Example code that shows how NME was crashing on Android when trying to acces "Capabilities.language" in a static var.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nme.system.Capabilities; | |
class NmeTest { | |
static var lang : String = Capabilities.language; | |
public static function main() { | |
trace("Lang: " + lang); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment