Jump to content

Search the Community

Showing results for tags 'delphi11'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Delphi-Version

Found 5 results

  1. Vanar

    AdMob in Delphi11

    Hi all! I'm looking for an implementation of AdMob ads under Delphi 11 on android The implementations for Delphi 10.4 and below (such as https://github.com/ersanyakit/FMX.InterstitialAd.Android, AdMobExtra...) don't work! Share if anyone has!!!
  2. I would like to add an Offline mode to an existing application, and to do so I need to be able to activate empty datasets on FDQuerys while in that Offline mode. But when I try calling CreateDataset to activate those empty datasets it always tries to open the connection, which fails because the server is unavailable at the moment. If I replace the Connection with a Dummy Connection, the CreateDatasets still fails because although it successfully opens the dummy connection it raises an exception that the original table has not been found, so my guess is that CreateDataset tries to retrieve metadata instead of using the persistent fields to create the empty dataset. I try to remove the fetching of Metadata from the FDQuery.FetchOptions, but I can't make it work (I always get either a Server not found exception or a Table not found when I use a dummy connection). Example : DataModule.Cn.Offline; DataModule.Cn.FetchOptions.Items := []; DataModule.Cn.FetchOptions.Cache := []; DataModule.Cn.FetchOptions.AutoFetchAll := afDisable; DataModule.QCustomer.Offline; DataModule.QCustomer.CachedUpdates := True; DataModule.QCustomer.FetchOptions.Items := []; DataModule.QCustomer.FetchOptions.Cache := []; DataModule.QCustomer.FetchOptions.AutoFetchAll := afDisable; DataModule.QCustomer.CreateDataSet; I know that usually you would use FDMemtables for offline datasets, but TFDMemTable and TFDQuery both derive from the same TFDDataset which already implements the in-memory mode, so duplicating all my components to TFDMemTable doesn't seem to provide any additional benefit. Do you know if it's possible to disable the metadata retrieving in order to activate empty datasets on FDQuerys while their connection is not available ?. Thank you.
  3. I am Moving an Android Project from D10.4 to D11.2 Have Managed to sort Most things but when I go To compile The service that allows Backgound Activity get the following [Exec Error] The command ""C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\javac" -g -Xlint:deprecation -source 11 -target 11 -encoding UTF-8 -d "E:\Data11\M-Planter\MPlanterService\JavaClasses\MPlanterService" -classpath "C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.46141.0937\platforms\android-32\android.jar"; "c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-1.5.0-rc02.jar";"c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\fmx.jar" --system "C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot" .\Android\Debug\MPlanterService.java .\Android\Debug\MPlanterServiceProxyInterface.java" exited with code 2. any Ideas or sugestions greatl appreciated Regards Ian
  4. Hi, for one of my Bluetooth BLE projects, the MTU has to be adjusted in the Bluetooth communication. There is a "requestMTU" function in the Bluetooth framework for this, but how can I find out to which MTU the devices have agreed on? When I call requestMTU(200) and look into the logcat profiler I see the following messages there: BluetoothGatt: configureMTU() - device: <DEVICE> mtu: 200 BluetoothGatt: onConnectionUpdated() - Device=<DEVICE> interval=6 latency=0 timeout=500 status=0 BluetoothGatt: onConfigureMTU() - Device=<DEVICE> mtu=200 status=0 There is an "onMtuChanged" handler in "Android.JNI.Bluetooth.pas", but I don't know how to implement this or where. I really just need a tip on how to include this event in a Bluetooth class from "System.Android.Bluetooth.pas". I'm sure I'll be able to grind through the event myself through the remaining levels. Does anyone have a hint or maybe an example code for me?
  5. We have a few users that experience freezing and very slow response in our Android App. In Google Play Console, we get these ANR messages: The app works on 99% of the devices, so it is not a general problem, and we cannot reproduce it on our devices. What can be the reason for these problems? Another user has posted a StackOverflow question about this a year ago - but no answers: https://stackoverflow.com/questions/66657413/how-to-solve-anr-on-android-firemonkey PS. Could it be related to this warning ("Non-SDK API: Landroid/view/MotionEvent") that we also have? https://stackoverflow.com/questions/70350726/delphi-11-app-in-android-play-store-shows-warning-non-sdk-api
×