• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to get render mode of any application on runtime

New Here ,
Jul 27, 2015 Jul 27, 2015

Copy link to clipboard

Copied

Hi All,

Is there any way of knowing the render mode of an application at runtime on iOS device ?

I need to get the render mode of my running application and pass on different logic based on whatever render mode I get at runtime but I am struggling to find any such API or method that can solve my purpose.

Any suggestions ?

Thanks,

Ken

TOPICS
Development

Views

320

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jul 27, 2015 Jul 27, 2015

You should be able to get from the app descriptor XML from

NativeApplication.nativeApplication.applicationDescriptor:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html

--

Thanks,

Kawika Heftel

Heftel Studios

801-358-9830

http://www.heftelstudios.com

Votes

Translate

Translate
Engaged ,
Jul 27, 2015 Jul 27, 2015

Copy link to clipboard

Copied

You should be able to get from the app descriptor XML from

NativeApplication.nativeApplication.applicationDescriptor:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html

--

Thanks,

Kawika Heftel

Heftel Studios

801-358-9830

http://www.heftelstudios.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2015 Jul 28, 2015

Copy link to clipboard

Copied

Thanks for the response. However, this method is not working in our case as we are using a remote swf and that doesn't not have permission to parse the XML due to iOS sandboxing.

Is there some other way to doing this ? or to do a hack fix, Is there any API that is supported only on GPU mode, using this I can differentiate GPU mode from CPU mode just like I can differentiate direct mode by checking support for stageVideo or stage3D.

Regards,

Ken

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 29, 2015 Jul 29, 2015

Copy link to clipboard

Copied

LATEST

For the external SWF to have code it it, it would have to be included in the build of the app, and then the code-less SWF is put on the server. So, the code that you would run to see what render mode you're in would be in the IPA already, and as the render mode doesn't change, why would the remote SWF not know what render mode was being used?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines