Skip to content

Instantly share code, notes, and snippets.

@DanielUranga
Created February 6, 2013 20:27
Show Gist options
  • Save DanielUranga/4725501 to your computer and use it in GitHub Desktop.
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.
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