Android Question (B4A) [RESOLVED] Problem with Interstitil on Appodeal

CyclopDroid

Well-Known Member
Licensed User
Longtime User
I wrote to them, but do not respond.
Both skippable videos that fixed, but work when launching the Interstitial, an interesting thing happens.
These have a countdown (?) And yet, if I press BACK, exit immediately.
And not only ... I change the phone orientation.
I do start the game in Landscape and this, I'll sect in Undefinited (because when I rotate the phone turns the screen)!
There is a way to bring the orientation ONLY Landskape? Or, is there a way to intercept the BACK button in the interstitial? Or better yet, some of you just happened and knows the solution? Thank you.
 

LucaMs

Expert
Licensed User
Longtime User
About the second question, screen orientation, I have answered you by email right now.

For each Ad Network, in your Manifest file there is an Activity block, like this one:

<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" />

I think you should add to THEM:
android:screenOrientation="landscape"

I don't know if this can be done using the Manifest Editor; however, you should then set the XML Manifest file to Read-Only.
 
Last edited:
Upvote 0

CyclopDroid

Well-Known Member
Licensed User
Longtime User
Thanks but not resolve! :(
 
Upvote 0

CyclopDroid

Well-Known Member
Licensed User
Longtime User
YEEESSS!!!! :D
I've insert into Process Globals the:

Dim Phone1 As Phone

and into Sub Handler_InterstitialClosed()

Phone.SetScreenOrientation(0) '0=Landscape

It's workin perfectly ;)

Thaks
 
Upvote 0
Top