It took just as long for AIR to start up.ģ. This worked fine but didn't prevent the black screen. Perhaps my swf was taking ages to load so I offloaded the majority of the swf loading to the second frame of a core movie clip and instead immediately drew a background color and logo using native flash graphics on the first frame. Next I followed this swf preloading concept: GitHub - joshtynjala/starling-preloader: An example preloader for Starling Framework running in Adobe Flash Player in a … This works fine but the result is that I get my new splash screen for about 2-4 seconds and then it still jumps over to the black screen until AIR starts up. Here we are adjusting the theme settings attached to the root AppEntry activity. I began by following this thread: AIR Native Extension Tutorials by airnativeextensions ![]() ![]() I've been trying to get this black screen replaced with some kinda of loading screen even just a prolonged splash image but to no avail. I understand that this is clearly being caused by the slow unpacking of the dex files but atm I can't do much about that method count. When I launch on such a device I get 20+ seconds of black screen until Adobe AIR finally loads and puts something on screen. The method count is well past 64k so the apk ends up with 4 dex files meaning that I have to enable the reflection based dex loading on Android API <= 19. What I'm seeing: I am running an Adobe AIR/Starling game that's using quite a few ANEs (Google Play Service, Google Games, Game Center, Facebook, Firebase, MoPub, etc). My fear is that the Flex SDK 4.6 that I am using in the IDE is replacing the AIR SDK and that is why the new methods/properties are not available, I have tried overlaying the Flex SDK with the AIR SDK but the IDE is complaining about that and it seems I cannot overlay Flex SDK 4.6 with AIR SDK 24.Īny thoughts on how can I be sure that I am debugging my app using the AIR SDK 24 with the Flash Builder 4.7 and also request camera permissions from the user? One note though is that I have tried debugging the following properties/method calls:Īnd in my console result both undefined, even though in Flash Builder it clearly shows that I am using AIR SDK 24 and also the xml app descriptor also is using version 24, is it possible that the IDE in debug mode is using another SDK version? I am using Adobe Flash Builder 4.7 with AirSDK 24 installed and the target device is an iPad AIR with iOS 10.1. I have tried to follow the example provided in the SDK release notes ( - Release - AIR 24 Runtime and SDK but when calling cam.requestPermission() as outlined in the example, the app is crashing silently and the debugger doesn't show any error. Currently I have an app that targets the iOS platform and when it tries to access the camera, it fails with Error #3800: This call requires Camera permission. ![]() As the air sdk 24 was released, it introduced the permissions API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |