Jump to content

Dave Nottage

Members
  • Content Count

    1335
  • Joined

  • Last visited

  • Days Won

    29

Posts posted by Dave Nottage


  1. 12 hours ago, 3delite said:

    install it from there it exits on startup

    For me, it asked for permissions (which I granted), then restarts over and over, presenting a toast related to permissions being granted.

     

    Without knowing exactly the code is doing during startup, it's going to be difficult to diagnose. I suggest moving as much code as you can out of FormCreate (if you use that event) or the main forms constructor (if you have overridden it), and call it later.


  2. 5 hours ago, Joe Sansalone said:

    [PAClient Error] Error: E6664 xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    Something has changed the active developer directory. If your Xcode is in the default install location, use this command:

    sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

    To correct it


  3. 7 hours ago, misc_bb said:

    I would like to ask if its possible to read an excel file without opening it?

    Without using OLE? Yes. An .xlsx file is in .zip format. You can extract the contents using TZipFile and read the (mostly) xml files inside. You could learn the spec and parse the xml. Here's some links that might help:

     

    https://docs.fileformat.com/spreadsheet/xlsx/
    http://officeopenxml.com/anatomyofOOXML-xlsx.php
    https://www.brendanlong.com/the-minimum-viable-xlsx-reader.html
    https://c-rex.net/projects/samples/ooxml/e1/Whitepaper/spreadsheetml.html

     


  4. 25 minutes ago, Rollo62 said:

    For iOS distribution you MUST have a developer account, a provision certificate, etc. etc. etc

    From what I could see from the initial post, they have all that.

    On 5/13/2022 at 4:01 PM, param said:

    Error: E0776 ** EXPORT FAILED **

    This is usually due to the version of Xcode being incompatible with the version of PAServer. If the aim is to create an IPA to put on the App Store, it's not going to work since the App Store now requires Xcode 13, and 10.4.2 has a PAServer that is incompatible with Xcode 13.

     

    To produce .IPA files, I strongly recommend using Delphi 11.1. There is otherwise this workaround: 

     


  5.  

    4 hours ago, Rollo62 said:

    Unfortunately it doesn't give me a clue howto workaround these issues

    Your first post didn't seem to imply that there were any issues (other than it being confusing, which it is), in fact it stated:

    8 hours ago, Rollo62 said:

    It seems to compile, run and work anyhow

    There isn't any way of "working around" the confusion - Embarcadero would need to change the way the IDE works, and/or make it clearer to the developer why it works this way


  6. 22 minutes ago, oakley said:

    I am trying to deploy the crossplatform notification demo on android 12

    If you're referring to this demo: https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object Pascal/Multi-Device Samples/Device Sensors and Services/AndroidNotificationServiceDemo

    There seems to be some missing information in the project file because it does not even add the service to the manifest, and the service jar is not listed under the Libraries node of the Android platform in Project Manager. What I did to rectify this was to:

    1. Right-click the Android platform node in Project Manager
    2. Click Remove Android Services
    3. Select the checkbox next to the service in the list
    4. Click Next
    5. Click Finish
    6. Right-click the Android platform node in Project Manager again
    7. Click Add Android Service
    8. Click Next
    9. Select the path to the service, i.e. AndroidNotificationServiceDemo\NotificationService
    10. Click Select Folder
    11. Click Next
    12. Click Finish

    Then recompile/deploy/run

     

    After you click Start Service, a notification should appear soon after in the system status bar. Opening the notification and tapping on it should open the app and the notification info should appear in the memo

     

     

     

     


  7. 1 hour ago, dport said:

    I added it to the html codes but there must be a setting to force twebrowser

    It's possible there is. My question was: What are the steps to reproduce that the website will definitely show in dark mode? Then I can test that the code will force it into light mode

×