6

Where can I find AdMob support for Android in Delphi XE5? I have tried to find it in all components but could not find anything. Should I make it myself using JNI, if so then how can I do it?

Kromster
  • 7,181
  • 7
  • 63
  • 111
wahm sarab
  • 89
  • 5

3 Answers3

1

Importing an Android Class For Use in Delphi: http://www.delphifeeds.com/go/s/108703

1

Here is a AdMob component for xe5. I use this for Android:

http://www.flashavconverter.com/content/admob-android-delphi-component-11

Arnof
  • 11
  • 1
0

I have followed the steps in this post but i got an error 'Can't create handler inside thread that has not called Looper.prepare()'

http://www.dynadream.com/ddweb/index.php/Special_Blog?id=20

http://www.pclviewer.com/android/XE5.pdf

http://www.pclviewer.com/android/androidJNI.html

I do not Java, so if any one can proceed and tell us the problem.

wahm sarab
  • 89
  • 5
  • your library is using a handler for asynchronous calls, and need to be run from a different Thread, not from the main thread. handling this in java code is much lighter and then it's easier to import in Delphi XE5... – Darkendorf Nov 25 '13 at 09:46