Admob & AE for landscape app

Previous topic - Next topic

spacefractal

#15
can been the issue. Also Admob also uses other required permissions. Without it, its might crashout.

etc uses those as minimum to make sure glbasic dont crash due permission issue:

   <uses-permission android:name="android.permission.INTERNET" />
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
   <uses-permission android:name="android.permission.WAKE_LOCK" />
   <uses-permission android:name="android.permission.BLUETOOTH" />
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Im do pretty sure both BLUETOOTH and WAKE_LOCK is not required. But dont remove the rest. ACCESS_NETWORK_STATE is also required by ADMOB.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#16
im a gonna to update Google Play services from version 4323000 to 7895000, which hopefully many of those bugs in newer systems.

Im did today updated my HP touchpad to Lollipop, and here its crashed on a Video ad in MediaPlayer, where im have no control over. The new google play size is quite bigger.

EDIT:
Look like this have helped. Im got a video ad and its was played in the correct orientation and no crash.

So until im update AE, do this to update Google Play services to the newest version:
- Download: https://www.dropbox.com/s/0vsnn6vr3ovo1xm/google-play-services.zip?dl=0
- Put it in Compiler\platform\android\templateproj\libs.
- Delete distribute\Android\libs from your game folder.
- In the AndroidManifest.xml the value in the meta-data line (com.google.android.gms.version) should been 7895000

Done. There is no other changes, so its was possible to update the google play jar file without breaking java or glbasic files.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

So good!

So I can use for my landscape apps now! :)
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

Hi Space Fractal

I notice the new google play jar is 3 times the size of the old one....is that normal?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

#19
Hi SF,

My Wimblepong should show ad after end of first game...but it now crashes...

https://www.dropbox.com/s/yohg7fv5e417j8i/wimblepong116.apk?dl=0

Okay, so after adding Access State permission the crashing has stopped...but dont see video adverts still...maybe it takes better region to see them?
https://www.dropbox.com/s/b7nd3epcpkvvw94/wimblepong116c.apk?dl=0
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#20
checkutout logcat. Logcat is your friend.

some video ads might crash with the old jar version, which is why im looked to update it to the newest version from SDK Manager.

Make sure to the version number match that one using in manifest. If you downloaded that version im linked to, dont forget to update the version number to 7895000 in manifest too. Otherwise its simply just crash out.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Hi SF,

Is the Google Analytics part now implemented is this SDK?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

Property, but is not implemented or planning to do that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/