Jump to content

Manuel S.

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Manuel S.

    AdMob in Delphi11

    Hi, As demonstrated by the images in my previous post which I am reporting now, I did a test by creating the ADTestD12.R.jar file but I had a problem compiling the Android.Manifest.xml file as demonstrated by the images below. I have modified file play-services-base18.1.0-Manifest.merge.xml and project runs very well. Sorry.
  2. Manuel S.

    AdMob in Delphi11

    Hi, I have used DeviceLens and I have find this message when is executed TJMobileAds.JavaClass.initialize(TAndroidHelper.Context); "The Google Play services resources were not found. Check your project configuration to ensure that the resources are included." 1) I have deleted ADTestD12.R.jar from my project because library play-services-base:18.1.0.jar already exists and I think it needs only for Delphi 11.3. Is correct? 2) However I did a test by creating this file and got an error during deployment on the manifest file. You can see the attached images. Do you have any advice? 3) If I delete from device the app, consent is shown only first time but app crash when I click on consent. 4) I have added logcat.log with all log before crash. logcat.log
  3. Manuel S.

    Open media file denied

    HI, I created my media gallery using Delphi 10.4.2 and it works very well. I'm migrating to Delphi 12.2 and the Gallery is having some issues. The gallery reads, and if it does not exist, creates thumbnail files of the images present on the device from the \storage\emulated\0\pictures\.thumbnails\ directory. Using API 34 when I open the file in this directory I get an access denied exception. In manifest I have these permissions: <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> <uses-permission android:name="android.permission.MANAGE_MEDIA" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" /> <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" /> <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> <uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" /> At runtime I check android.permission.READ_EXTERNAL_STORAGE and android.permission.WRITE_EXTERNAL_STORAGE. Now I use Nokia 2.2, Android 11 and Delphi 12.2.
  4. Manuel S.

    AdMob in Delphi11

    Hi, I Have some problems with this demo. I am using Nokia 2.2 with Android 11 and Delphi 12.2. I have tested the demo in 32 and 64 bit but app crash in DW.AdMob.Android.pas on line 263. This line is : TJMobileAds.JavaClass.initialize(TAndroidHelper.Context); I have a breakpoint before and after this line. No consent is shown. Can you help me? Thanks. P.s. I read all the posts carefully.
×