Jump to content

MikeMon

Members
  • Content Count

    129
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MikeMon

  1. MikeMon

    Android App Crash on Some Devices

    Hi Dave The exception seems to be different everytime. I can't seem to figure out what the problem is. It works on some Android Pie devices and not on others. I've attached another log file that shows different entries leading to the crash. log4.txt
  2. MikeMon

    Android App Crash on Some Devices

    HI Dave Thank you for your answer. Yes. The package is cy.com.wagamama.ordercy. The app does use network to communicate with a datasnap server, but even if I disable all network traffic, it is still crashing during startup. I've attached a second log file without any datasnap calls. log2.txt
  3. Hi Lars Not possible. As a workaround, I created computed (calculated) fields and used them in the group by clause.
  4. Hi Lars Thank you for your answer again. Unfortunately, the derived table feature (nested select) was introduced in Interbase 2017. I'm still using Interbase XE3. Actually, after doing some research, expressions in the group by clause I mentioned above were also introduced in Interbase 2017.
  5. Hi I use the "Printer.Canvas.TextOut(X, Y: integer; const Text: string)" procedure to print to a thermal pos printer. I have an issue with the X position when I use built-in printer fonts, e.g. "FontA11". When I use windows fonts, e.g. Arial, the X position works fine. Basically, with built-in fonts, the X value is being ignored whatever value it is being passed, i.e. TextOut(0, 0, 'Print Something') and TextOut(100, 0, 'Print Something') are printing at the EXACT same position. The thermal printer driver I am using is "Thermal Printer Drivers 4.57". FYI, "Thermal Printer Drivers 3.0" worked fine but can't be used on Windows 10 computers. Please, advise
  6. Hi Lars Thank you for the link. I'm familiar with the info, but unfortunately, it doesn't help me. Everything works fine except for the X position. The fonts are used normally and printed on the printer. The Y position works fine. The only problem is the X position. The latest driver X-POS 4.57 has the same problem even on Windows 7. An older driver Vendor Thermal Driver 3.2 works fine on Windows 7. They both use the same font: FontA11 or FontA1x1. I've had other issues with some built-in fonts and thermal printers before, where the PageWidth, TextHeight and TextWidth functions don't return the correct values, but these things can be assigned programmatically. Whereas in the case of the X, there is nothing one can do.
  7. Hi Lars Thank you for your answer. There are no TT version of the POS printer fonts available. FYI, the Y in the Printer.Canvas.TextOut and all other font functions work fine, e.g. Printer.Canvas.TextHeight and Printer.Canvas.TextWidth.
  8. MikeMon

    TLabel-like Component with HTML Tags

    Is there a TLabel-like component in Firemonkey that can have HTML tags in its text (or any other) property? I know there are third-party components (TMSSoftware, etc.) out there. If there isn't any, would anyone suggest any 3rd-party solutions?
  9. MikeMon

    TLabel-like Component with HTML Tags

    Hi Alexander Thank you for your assistance. Unfortunately, the HTML Component Library costs a lot. TMS is much cheaper with a lot of other components included. Are there any free solutions?
  10. MikeMon

    Android App Bundle setup

    How is the Android App Bundle setup on Delphi 10.3.3?
  11. MikeMon

    Android App Bundle setup

    OK. Just found out how:
  12. Is there an out-of-the-box way for the screen to move up when the keyboard pops up and covers the focused control, e.g. edit boxes, memos, etc.? Currently we use a vertical scroll box and plenty of code (onVirtualKeyboardShown & onVirtualKeyboardHidden) we found online.
  13. MikeMon

    Keyboard Covers the Focused Controls

    Hi John I never tried it because the app is both for Android and iOS. So, I'm using the solution provided by Embarcadero.
  14. MikeMon

    Keyboard Covers the Focused Controls

    I believe it should happen automatically and no code should be involved. Anything focused but covered by the popped up keyboard should be scrolled up automatically to be visible.
  15. MikeMon

    Keyboard Covers the Focused Controls

    I'm curious, too.
  16. MikeMon

    Keyboard Covers the Focused Controls

    Too complicated for something that should be the norm without using any code.
  17. Hi I'm trying to connect by using IBConsole to an encrypted Interbase XE3 (version 11.0.4.828) database with the SYSDSO username to change the SEP password but I keep on getting the following exception: "Your user name and password are not defined. Ask your database administrator to set up an Interbase login". FYI, when I connect to the server with the same SYSDSO credentials, I can connect just fine. Moreover, to encrypt the database, I've used the same SYSDSO credentials. What am I missing?
  18. I'm not talking about SYSDBA. I'm talking about SYSDSO;, the user that needs to be created to set up encryption.
  19. Hi After upgrading to Delphi 10.3.2, any Android app, including a blank app, is not running successfully on any Android device. I'm getting the following exception: "Unfortunately, Project1 has stopped." I'm using: - Android SDK 25.2.5 32bit, build-tools\29.0.2, platforms\android-29 - Android NDK r17b, platforms\android-28 Please, advise
  20. Hi The overwrite flag in the "Deployment" screen doesn't seem to have any affect. The only way the existing files are overwritten is if the new file is newer then the existing file. Sometimes, we need to copy updated versions of databases or files with the launch of new app versions. What we currently do during development is delete the app data and then uninstall the app, and THEN install the newer version. Is there something I'm missing? Is there another way? Kindly, advise
  21. Hi Andrew What I do is change the computer date to a future date, access the file so that its modified date changes to a future date, revert back to the current date and then install. That works fine. Not the best way, but it works. There should be an easier way. Obviously, everyone is using some sort of a workaround. There should be a 3rd value for the "Overwrite" flag: "Only if Newer". It should act like the "Always" acts now, and the "Always" should act like it says: ALWAYS overwrite.
  22. Hi Dave Thank you for your help again. How about when a user updates the app through the Play Store? is the old file overwritten by the new even if the new has an older date? How about iOS? How does that work?
  23. Hi Dave Thank you for your answer. I've revised both my SDK and NDK settings to the working settings I had on 10.3.1, i.e. SDK build tools 28.0.3, platform android-28 and NDK platform android-22. It still wasn't running. I unchecked the "Receive Push Notifications" in the "Entitlement List" and it started running fine. After that I used the SDK build tools to 29.0.2 and the SDK platform to android-29 and it worked fine as well. Thank you Dave once again for your valuable input.
  24. Hi Dave Thank you for your help. After winding back my build tools to 28.0.3, a blank app is now running OK. However, my existing app is still not running. I've attached the logcat log file. The app package name is cy.com.wagamama.ordercy. I can't pinpoint where the problem is exactly. log.txt
×