Author Topic: Admob & AE for landscape app  (Read 7073 times)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3932
    • View Profile
    • Space Fractal
Re: Admob & AE for landscape app
« Reply #15 on: 2015-Jul-07 »
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.
« Last Edit: 2015-Jul-07 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3932
    • View Profile
    • Space Fractal
Re: Admob & AE for landscape app
« Reply #16 on: 2015-Aug-23 »
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.
« Last Edit: 2015-Aug-23 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1753
    • View Profile
Re: Admob & AE for landscape app
« Reply #17 on: 2015-Aug-24 »
So good!

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

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1753
    • View Profile
Re: Admob & AE for landscape app
« Reply #18 on: 2015-Aug-27 »
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

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1753
    • View Profile
Re: Admob & AE for landscape app
« Reply #19 on: 2015-Aug-27 »
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
« Last Edit: 2015-Aug-27 by MrPlow »
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3932
    • View Profile
    • Space Fractal
Re: Admob & AE for landscape app
« Reply #20 on: 2015-Aug-27 »
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.
« Last Edit: 2015-Aug-27 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1753
    • View Profile
Re: Admob & AE for landscape app
« Reply #21 on: 2015-Aug-28 »
Hi SF,

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

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3932
    • View Profile
    • Space Fractal
Re: Admob & AE for landscape app
« Reply #22 on: 2015-Aug-28 »
Property, but is not implemented or planning to do that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.