Jump to content

Dave Nottage

Members
  • Content Count

    1424
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by Dave Nottage

  1. Dave Nottage

    [Android] App does not answer anymore

    You do not indicate what library you are using. Is it this one (or similar)? https://github.com/jimmckeeth/FireMonkey-Android-Voice Where you have "impossible to do something", you do not indicate exactly what it is your code is doing. Nor do you show what it is doing in the timer handler. Given that code executes, it's quite possible that the SpeechRecognition1Recognition event is executing outside of the main thread, which may account for the other issues you are seeing. If that is the case, you could use a construct like this: procedure TForm1.SpeechRecognition1Recognition(Sender: TObject; Guess: string); begin TThread.Synchronize(nil, procedure begin G_Heard := Guess; // Execute your other code, here end ); end;
  2. Dave Nottage

    Get copyright info from code in macOS

    It seems it is not included by default in macOS apps produced by Delphi. When it is included, you could use the following code: Value := NSStrToStr(TNSString.Wrap(CFBundleGetValueForInfoDictionaryKey(CFBundleGetMainBundle, StringToID('NSHumanReadableCopyright'))));
  3. It looks like a JDK compatibility issue. Start with showing what your Java settings are in Delphi, i.e. Tools | Options, Deployment > SDK Manager, select the relevant Android SDK, and select the Java tab. Mine looks like this:
  4. Dave Nottage

    MacOS: How to remove ambiguous Developer ID certificates?

    As ginnix suggests, this is because the ambiguous certificates are in the Keychain on your machine. In the Applications/Utilities folder there is an application called Keychain Access. Run that, select the "login" keychain on the left hand side, and select the "My Certificates" tab. Delete all the ambiguous Developer ID certificates except for the one with the latest expiry date, by right-clicking each one and clicking "Delete"
  5. Dave Nottage

    How to create an Android app

    Tools > Manage Platforms
  6. It was a totally new app. I uploaded an .aab file generated from the IDE in App Store configuration. The keystore file was also generated in the IDE on the Provisioning Page. I did not have to do the things you described - I guess the IDE manages that?
  7. Quite odd - I haven't had to to that (I submitted a release just over 2 weeks ago), and haven't heard of anyone else that has needed to, either.
  8. Dave Nottage

    iPhoneOS15.X.sdk

    I'd be interested to know if it passes review.
  9. Dave Nottage

    Printing from Android Device

    There can be solutions; just that there isn't any included with Delphi. This is a potential starting point: https://developer.android.com/training/printing, though you will need knowledge of Java, and how to convert the code to Delphi. If you mean development tools other than Delphi, there could be solutions using those, however it may still require writing the same code as per the link mentioned above, i.e. it would be unlikely to be included with the development tool itself.
  10. Dave Nottage

    Printing from Android Device

    In FMX, Printer is available on Windows and macOS only, as per the documentation: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Printing_from_a_FireMonkey_Application
  11. Dave Nottage

    Is this project still Alive ?

    I assume you mean this one? https://github.com/gabr42/OmniThreadLibrary/issues/173 Anyone know of a fix?
  12. Dave Nottage

    Are the jcl and jvcl libraries still alive?

    Relatively speaking, yes. A quick glance reveals that someone called todaysoftware committed a change last month. Same goes for JVCL - the last commit there was in April by obones.
  13. Dave Nottage

    iPhoneOS15.X.sdk

    Even if you were to obtain the iOS 15.x SDK, Apple will still reject your app because you're not using Xcode 13, which has been a requirement since April 25th.
  14. Dave Nottage

    Is this project still Alive ?

    Which ones?
  15. Dave Nottage

    iPhoneOS15.X.sdk

    Why do you want to revert to an older Xcode when Delphi works with the current version? Also, if your intention is to deploy apps to the App Store, you're going to need Xcode 13 anyway.
  16. Dave Nottage

    Is this project still Alive ?

    What do you consider "alive"? The last commit was April 27th, which isn't a real long time ago. The last issue closed was March 12th, and before that October 2021.
  17. Dave Nottage

    Android camera/exposure/GetScanLine/PixelFOrmat

    Take a look at the issues towards the bottom of this list: https://github.com/DelphiWorlds/Kastri/issues Most are prefixed with [Camera] Yes Not as yet It's not trivial, but also not rocket science 🙂 Camera X appears to be just a "convenience" layer over Camera 2, so there's really still only 2 "takes". For "lower level" stuff like controlling exposure they recommend Camera 2, so I may be sticking with that for now anyway.
  18. Dave Nottage

    Android camera/exposure/GetScanLine/PixelFOrmat

    Camera 1 API, which has been deprecated for years. I have support for Camera 2 here: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/Camera, but it sorely needs work. I was hoping to use Camera X (part of Android X), but have hit issues with that: https://github.com/DelphiWorlds/Playground/tree/main/Demos/CameraX Continuous capture like you speak of is part of my goal, however it's low priority for me at the moment.
  19. Dave Nottage

    AdMob in Delphi11

    The AdMob demo (as well as others in the Playground repo) is dependent on the Kastri library: https://github.com/DelphiWorlds/Kastri Please see the Project Configuration section, here: https://github.com/DelphiWorlds/Playground/blob/main/Readme.md
  20. Dave Nottage

    Deployment Android apk

    You should read this part: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Creating_an_Android_App#Loading_and_Deploying_Files
  21. I have 25+ years Delphi experience programming professionally. What does that work out to? 😉 Total years does not necessarily mean "I'm better than someone with less". Results speak louder than years.
  22. The AdMob demo has been updated in the Playground repo. There's a fix to the events issues on iOS, support for adaptive size on iOS for the banner ad, and the code has been updated to support AdMob iOS SDK v9.6.0 https://github.com/DelphiWorlds/Playground/tree/main/Demos/AdMob
  23. Dave Nottage

    Delphi Android/IOS Apps

    Written in Delphi: https://apps.apple.com/us/app/earmaster-music-theory/id1105030163 https://apps.apple.com/us/app/kiskis/id1420049759 https://apps.apple.com/us/app/my-shift-planner-calendar/id645662133 https://apps.apple.com/us/app/pledgestar/id1548603090 https://blogs.embarcadero.com/fun-ranch-mobile-game-is-developed-with-delphi/ http://flash-o-matic.com That's just the ones I can recall right now
  24. Dave Nottage

    Windows 11 Speech Recognition

    There's also this: http://www.blong.com/conferences/dcon2002/speech/SAPI51/SAPI51.htm
  25. Whatever the case, the BASS libraries are not ending up in the app. I "pulled" the APK after installing the app, and there's no lib folder:
×