Jump to content

DominikR

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. I am using a Pixel 8 with Android 14.
  2. FYI: I tried the project that you attached to this post, and it is also not working for me. I still receive an error message: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.embarcadero.RSP41337/com.delphiworlds.kastri.DWFilesActivity}: java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
  3. Thank you so much for your help! But I can not get it to work, i am still receiving the same error as yesterday. I have to use the 64bit deployment because my phone has no ABI for 32 bit. What I have done so far: 1. Created the .java file with the correct package name, and it seems to be found, because when i change the package name or file name I receive another error. 2. Added it to my 64Bit libraries 3. Downloaded the appcompat 1.2.0 package and added it to the project (Now the deployment takes more ages then before...) 4. Deployed the application and started logcat and still receive this message: How can I figure out what Ressource it can not find? Because I am not sure what Resource ID #0x7f060055 is. I have to say, after 6 Years of working with Delphi and Android it is so horrible to work with this combination. I had to attach the log as a file, otherwise it said my post is spam... Kind Regards, Dominik logcat.log
  4. I tried this workaround, but I am struggling to get it to work. I always receive this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{XXX/XXX}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020055 Is this because I have not compiled the R.jar? I can not get it to work, because the image does not fit to the version i have installed: Codex/Docs/AndroidTools.md at master · DelphiWorlds/Codex · GitHub Can you maybe explain, why i receive this error, and how to fix it? I am using codex.
  5. Hey, i updated RAD Studio to version 12 last week. Now i wanted to update my app to work with the new android play store requirements. While testing my features i found out, that my app keeps on hanging on a black screen when i try to import a text file with a file explorer. When i manually close the app, and choose a text file and open it with my app it is working fine, but when i open the app, and then go back to my file explorer select the text file to open it again it hangs in a black screen. I tried it also with a completely new project and had the same result. I am using a Pixel 8 with Android 14. I added this intent filter to my AndroidManifest.template.xml in the activity section: <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:exported="true" android:label="%activityLabel%" android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode" android:launchMode="singleTask"> ... <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:mimeType="text/plain" /> </intent-filter> </activity> And handle it like that: var currentIntent := MainActivity.getIntent(); HandleIntentAction(currentIntent); The handling works like a charm. When starting the app in debugging nothing happens, also logcat is showing noting in regards of my app. I also added some ShowMessages to the FormCreate functions, but also nothing. I added two logcat logs as an attachment to this post. In my opinion there is nothing wrong in the not working log. In addition to the hanging, is there a possibility to open a view directly with an intent because when i try to do a form.show it wont show up, but i haven't followed up on this issue because i wanted to resolve the black screen first. Thank you in advance! Kind regards, Dominik not_working.log working.log
×