Jump to content

schaumermal

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. schaumermal

    App as target via "share"

    Thanks @Dave Nottage, @programmerdelphi2k Now i see my app as a possible target. The next challenge will be to achieve this on IOS.
  2. schaumermal

    App as target via "share"

    hi @programmerdelphi2k thanks for your previous help. Maybe I didn't express myself correctly. I don't want to send files, i only want to receive files. For example, if I select a file in the gallery or downloads folder and click share, I want my app to appear as a possible destination as well. I see Gmail, Bluetooth, Music, WhatsApp, etc. as possible targets but not my app. Unfortunately, despite your change, my app doesn't show up as a possible destination when I try to share a file from the gallery or from a folder.
  3. schaumermal

    App as target via "share"

    Thank you for this hint. I tested it and "hopefully" understood the principle. However, I can't get my app to be displayed as a target if I want to share a photo in the gallery or the document folder on my mobile. I added the following section in the AndroidManifest.template.xml: <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="image/*" /> </intent-filter> I thought the entry above controls that my app can receive this type of data but it is not displayed as a target 😞
  4. schaumermal

    App as target via "share"

    Hello, i have the following question: Can an app based on Delphi serve as a target on the mobile when sharing images or documents, for example? When I use the option "Share", (e.g. in the galary) my app doesn't appear as a target. 1. Is this even possible? 2. If "yes", is there an example of what needs to be done so that the app can receive data? thx
  5. schaumermal

    App crash on iPhone with open combobox

    I have the following problem with my app on an iPhone (IOS 16.2). For example, if I have a combo box or DateEdit or TimeEdit open in a form (items or dates or time is visible) and close the form using a button with Self.Close, the app breaks off completely. But this only occurs on the iPhone. The form closes correctly on an IPad or Android device. With the combo box I could still query whether it is open (DroppedDown = true) but with DateEdit or TimeEdit this does not work, for example. How can i generally deal with this so that the app doesn't crash on an IPhone?
  6. schaumermal

    ShowModal do not work under IOS 16.1.1

    thx Dave !
  7. schaumermal

    ShowModal do not work under IOS 16.1.1

    Hello So far, I have always called a new form as follows in my apps: if Not Assigned(OrderDetail) then Application.CreateForm(TOrderDetail, OrderDetail); OrderDetail.ShowModal( procedure (ModalResult :TModalResult) begin "do the things that are necessary after come back" end); This works without problems on my Android devices (Android 6 till 13) and on my iPad with 16.1.1 but NOT on the iPhone with IOS 16.1.1 The app freezes on iPhone with this routine. I would like to keep this logic that I can perform actions after returning. Is there a solution for this?
  8. schaumermal

    General Question

    i use it like this: ini := TIniFile.Create(System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.PathDelim + 'config.ini'); When i call the function ShowMessage(System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.PathDelim + 'config.ini'); i get the result /data/user/0/"bundle identifier"/files/config.ini It looks like i have the problem with all of my apps 😞
  9. schaumermal

    General Question

    Hi, I have a general question: I create a local config file on the Android device. TIniFile.Create(System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.PathDelim + 'config.ini') to store user data (login, servername, etc.). When I uninstall the app, this config file is still available. Do i put it in the wrong folder or why is it still present when i uninstall and reinstall the app?
  10. schaumermal

    SSL in IOS Simulator

    btw {$IF DEFINED(IOS) AND DEFINED(CPUARM)} this doesen't work anymore with the new simulator 😉
  11. schaumermal

    SSL in IOS Simulator

    Hello and thank you for this information. If I understood it correctly, I have to remove ibcrypto.a and libssl.a from the deployment for the simulator (-> done). Then i have to copy the files (libcrypto.dylib and libssl.dylib)from the MacBook to my development system and include them like i have done for IOS with libcrypto.a and libssl.a. BUT i could not fin find these two files on my MacBook Air 😞 I only found libcorecrypto.dylib, or libcommonCrypto.dylib. libssl.dylib was not found 😞
  12. schaumermal

    SSL in IOS Simulator

    Hello, When I try to compile an App for the IOS Simulator (11.2 Pach 1) I get the following message: [DCC Fehler] E2597 ld: in libcrypto.a(a_int.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 in the uses section i have the following: uses ........ // ############# IdSSLOpenSSLHeaders, {$IFDEF IOS} {$IFDEF CPUARM} // IOS Device IdSSLOpenSSLHeaders_Static, {$ELSE} // IOS Simulator IdSSLOpenSSLHeaders, {$ENDIF} {$ENDIF} System.IOUtils, IdTCPClient;// It works fine on my Android Device and on my iPad. But i'm not able to compile it for the IOS simulator 😞
  13. Hi, After updating to 11.2 I get the following message when compiling for IOS: [DCC Fehler] E2597 ld: file not found: libsqlite.a This message always comes up when I have included the unit in a project: FireDAC.Phys.SQLiteWrapper.Stat Before the update I was able to compile the project without any problems.
  14. schaumermal

    Error Message after Update to 11.2

    Hello, everyone, I have upgraded from 11.1 to 11.2. Uninstalled 11.1 and then installed 11.2. If I now try to compile an existing project OR a new empty project for Android, this also runs completely. However, in the last step (transfer to the mobile phone) I get the following message: Prozess kann nicht erzeugt werden: Serving... All files should be loaded. Notifying the device. Performing Incremental Install Failure [INSTALL PARSE FAILED MANIFEST MALFORMED: Failed parse during install Packagell: /data/app/vmd12079946750.tmp/base.apk (at Binary XML file line #51): com.embarcadero.firemonkey.FMXNativeActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are presePerforming Streamed Install adb: failed to install C:\Users\Kai\Documents\Embarcadero Studio\Projekte\Apps\Zeiterfassung Android64\Release\Zeiterfassung\bin\Zeiterfassung. apk failure [INSTALL PARSE FAILED MANIFEST MALFORMED: Failed parse during installPackagell: /data/app/vmdl1760367541.tmp/base.apk (at Binary XML file line #51): com.embarcadero.firemonkey.FMXNativeActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]
  15. schaumermal

    Change splash_image_def.xml by default

    Thank you! That's a good idea.
×