[Feature Request] Android orientation change from blueprint

Would really appreciate this little functionality of controlling the android orientation via blueprint nodes.

For example when a button is clicked the orientation switches from portrait to landscape or vice-versa. Rather than using sensor having controlled orientation change.

Feels pretty basic.

Alright, though this would still be appreciated, I was able to achieve this viz. MobileUtils plugin by GameDNA. You would require some Android programming knowledge though to achieve the desired functionalities

How did you manager to change the orientation using this plugin ? I still looking for something like that

Refer to the .txt file. Hope it helps, cheers!

link text

Hi there! Thank you for sharing this guide. I compiled the plugin and no errors were found during it. But when i try to deploy a game in my pocophone f1 an error message appears in the end of build: LogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:647: error: cannot find symbol. Do you know how i can resolve this? I think it is related to Java

Add this in the import section in MobileUtils_UPL_Android.xml
import android.content.pm.ActivityInfo;

It worked like a charm! <3

Not all heros wear capes indeed! Here is your guide updated with the import android.content.pm.ActivityInfo part.

Thank you!
link text

Thanks. However, the real hero is GameDNA for making this awesome plugin for android developers. Credit them in your project if possible :slight_smile:

Cheers!