Jump to content

MikeMon

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

4 Neutral

Recent Profile Visitors

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

  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 I have an issue with an app crashing on some Android devices. The devices on which the app crashes are some Android 9 devices; although on other Android 9 devices the app works fine. The crash happens ONLY when the app is connected to the internet. When I disable the Wi-Fi, it doesn't crash. To test it, I run the app with the Wi-Fi disabled, it starts up fine. While the app is running I enable the Wi-Fi and the app crashes after a couple of seconds without me doing anything. I've attached the Android log file if anyone could help me point out where the problem is. Tx log.txt
  4. Hi Lars Not possible. As a workaround, I created computed (calculated) fields and used them in the group by clause.
  5. 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.
  6. Hi In Interbase, does anybody know how to use an expression in the "group by" clause, e.g.: select extract (month from HIRED_DATE) HIREDMONTH, count(*) EMPLOYEECOUNT from employee group by extract (month from HIRED_DATE) or select extract (month from HIRED_DATE) HIREDMONTH, count(*) EMPLOYEECOUNT from employee group by 1
  7. 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.
  8. 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.
  9. 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
  10. 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?
  11. 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?
  12. MikeMon

    Android App Bundle setup

    OK. Just found out how:
  13. MikeMon

    Android App Bundle setup

    How is the Android App Bundle setup on Delphi 10.3.3?
  14. 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.
  15. 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.
×