It's recommended to not make rendering calls while your app is executing in the background as its important to utilize the mobile resources judicially. However no error will be thrown on Android, as Android native apps are allowed to make OpenGLES calls in the background. AIR iOS runtime will throw an error if OpenGLES calls are made in background. With this feature, we will now allow AIR mobile apps to execute in background when renderMode direct is set. Android does not restrict applications from either making OpenGLES in the background or other background task(like audio playback). Applications which attempt to make OpenGL calls in the background are terminated by the iOS. iOS does not allow OpenGLES/rendering calls in the background. Due to this restriction,Stage3D based apps were not able to execute background tasks like audio playback, location updates, network upload/download etc. In the past AIR on iOS and Android did not support background execution when render mode direct was set. Due to power and CPU considerations, we recommend reviewing our release notes for additional details and guidance. This will allow your applications to perform tasks such as audio playback even when invisible to the user. AIR Mobile Support for Background Execution in “Direct” Render ModeĪIR now supports background execution on iOS and Android when render mode is set to “direct”.We haven’t forgotten about iOS! Look for news on iOS workers in an upcoming release (NOTE: this feature will undergo an extended beta period.) Your UI will remain responsive, enhancing the user experience. Our hugely popular desktop feature, AIR Workers, is now making its debut on mobile! We have added support on Android devices so that you will be able to execute code in the background without interrupting your application’s main code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |