Jump to content

Patrick PREMARTIN

Members
  • Content Count

    368
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Patrick PREMARTIN

  1. thanks for the update 🙂
  2. European companies pay a lot of charges not included in the announced salary. In the US all charges are for the employees. Salaries can't be compared.
  3. Patrick PREMARTIN

    Good book about FireDAC

    Perhaps you could explain what you want to try and to know ? Cary's book is still the reference, even if it's old and some things have changed in FireDAC. It remains the best resource for understanding the framework and the interactions between its components.
  4. Patrick PREMARTIN

    Android does not start

    Hi Did you upgraded the Android manifest template file to the need one for 11.3 ? Did you updates the JAR libraries needed for the project in the project manager Android platform you compile ? (probably yes if it compiles, but check in case not) If you transfer the APK manually to an other device, does it starts or not ? Does the program starts when you compile it in DEBUG mode and start it with (or without) the debugger from the IDE ?
  5. Patrick PREMARTIN

    Community license

    With the imagination we can go very far, in all directions, and suppose a little what we want others would do without knowing who they are or what level of intelligence or automatism they have. EMB uses a company that specializes in license checks, let's assume that these people know their job and do it properly, it will avoid discussions about things that may never happen (and probably would if it had already happened).
  6. Patrick PREMARTIN

    Something like SimpleNote with an API?

    Hi @David Schwartz Did you finally found something to answer your need ?
  7. Patrick PREMARTIN

    11.3 and Android tools

    After installation they are available in the Publics documents / Embarcadero / Studio / 22 / CatalogRepository / NDK, JDK,etc folder You can get the folders from Tools / Options / Deployment / SDK / Android If you didn't add them, you'll find the JDK/NDK/Java options in Tools / Platforms / Options dialog box
  8. Hi. Do you have a profile (and a post to share on it) on LinkedIn ?
  9. Patrick PREMARTIN

    Looking for outsourcing FMX development

    Hi Did you checked TFrameStand project from @Andrea Magni https://github.com/andrea-magni/TFrameStand
  10. Patrick PREMARTIN

    Something like SimpleNote with an API?

    I don't know any app/software in this area. If the user is the only user of the program, if there are no update of notes somewhere after publishing them on too different devices before synchronisation, perhaps you can use a local server on your desktop computer and apps that synchronize (or send notes) to it ? AppTethering components could help on a local network (home or office). MQTT is a solution : you send something in a queue an all "client" programs read what is in the list, but you should encrypt the content is you use something public. Perhaps a Firebase (or other cloud thing) database can be a solution too. If you already have a website (I'm sure you have), you can also try something like my "Planning API" project ? - a web API server : a list of simple PHP script with no database to manage the CRUD operation, storing datas as JSON files in a subdirectory, change API keys and put it on a website (in a "complex" directory name) - a Delphi FMX client app : it gets the datas from the server on startup, display them and send the changes to it by clicking a "synchronize" button. In this project, all datas are stored on the server. A web connection is needed, but you can change the client app to have a "add note" feature without Internet and send them by clicking the button when a connexion is available. https://github.com/DeveloppeurPascal/Planning-API On the "liste de courses" project I have a real synchronization process and API : a web server (PHP and WebBroker available), a client app (Delphi FMX) which store datas locally and synchronize only changes. Each device have all datas, stored in a SQLite local database. The synchronization API works with a "changed level" on each record. The current program store a true/false, an integer and a label. You can edit the code to store only a text if you want. The server can be published on a web site (for the PHP), on a server (Internet or local) (with WebBroker) or simply on your desktop. Synchronization can be done manually like it's coded or with a timer. https://github.com/DeveloppeurPascal/Liste-de-courses I think the "liste de courses" project is the best start to adapt something if you try to code your need.
  11. Patrick PREMARTIN

    Something like SimpleNote with an API?

    Just after reading latests blogs post about Idea brands on Embarcadero blogs platform, I remembered of fileStack. Their API is simple to use. For a "note as text file" mode, you can use it under a Free or Start plan. https://www.filestack.com/pricing/#/marketplace
  12. Patrick PREMARTIN

    How to execute a cmd file in delphi in invisible mode

    Perhaps this project will help you : https://github.com/TurboPack/DOSCommand
  13. Patrick PREMARTIN

    Something like SimpleNote with an API?

    You don't want a server and DB but local copies, I can understand that, but even for MQTT you need a server somewhere (or I missed something ?). It's interesting to know if you want to synchronize notes as texts (last update erase the others) or synchronize changes on notes. Two different approaches. If it's text, you can use a private git repository and an API over it. Is your app a personal app or is it distributed (and you don't want to manage users datas) ?
  14. Patrick PREMARTIN

    Confused on two things

    If you are not sure of what you do with begin/end blocks, try the code formater (Ctrl+D or contextual menu "format code").
  15. Patrick PREMARTIN

    Display a TBitmap in original resolution

    Perhaps you can put the TImage in a TScaledLayout or simply use its Scale property after having a TImage.Size=TBitmap.Size in pixels ?
  16. Patrick PREMARTIN

    Display a TBitmap in original resolution

    As I understand you want your TImage has the same Width/Height than your Bitmap without interest in pixel depth ? In that case, try this : procedure DisplayInOriginalSize_AndSizeToFit(const bmp: TBitmap; im: TImage); begin im.Bitmap.Assign(bmp); im.With := im.Bitmap.Width; im.Height := im.Bitmap.Height; // or SetSize() im.Bitmap.BitmapScale := 1; end;
  17. Patrick PREMARTIN

    RAD Studio Breakpoints not working

    Sometimes the reason is simply to instructions in the code somewhere. For breakpoints the IDE needs only one instruction per line. They are side effects if it's not the case. If you have this problem on a unit, just try the Ctrl+D (code formater) and see what happens after.
  18. Patrick PREMARTIN

    Link to Google Play

    No problem in Android Apps. You can do that. You can also do the same in iOS/macOS apps. Just display only Apple "App Store / Mac App Store" link, not the Android one. And to open the link you can use a library like https://github.com/DeveloppeurPascal/librairies/blob/master/u_urlOpen.pas if you don't know how to do it.
  19. Patrick PREMARTIN

    Link to Google Play

    Yes, it is. Mine is https://play.google.com/store/apps/dev?id=8272814550297637230 To find yours, simply go to https://play.google.com and search for your apps. On a the page of one of them, click on your company or developper name. You can personalize the display from https://play.google.com/console/ and choosing "developer page" option in the menu. If you don't know what to put on the (big big) page banner image. You can use https://github.com/DeveloppeurPascal/GooglePlayDeveloperBannerGenerator to generate one from the pictures you'll add to it. I've chosen to put icons of my apps.
  20. Patrick PREMARTIN

    write text on image with specific position fmx

    If you want a very simple way (but not optimized) : set a parent for your image (something linked to a form by a way or an other), add a Text component with characteristics your need, set its parent to the TImage, and do a YourImage.MakeScreenShot to get the new bitmap.
  21. Patrick PREMARTIN

    D11,unsupported version of Play billing

    did you initialized Android libraries dependencies in your project (from project manager / platform / android / library and contextual menu) ? (the SDK changed in 11.0 and in 11.2)
  22. Patrick PREMARTIN

    How many people use Delphi?

    in 28 years, never had any problem of speed on compiled exe and have seen Delphi programs in high speed environments like data acquisition from external devices "Delphi is dead" is wrong. It will be if Embarcadero stop updating the libraries. The Pascal language is rather alive, even if it is not seen everywhere. A lot of "fresh" and "modern" languages on the market, too many choices for developers and their hierarchy. It's our job, as Delphi or Pascal developers, to help them to choose our environments and to show why it's a better choice than a lot of recent things from the GAFAM and others.
  23. Patrick PREMARTIN

    Beginner to Delphi. Have no idea what I'm doing wrong here

    Hi For moving a sprite in a game for desktop OS, don't forget to manage WASD (QWERTY keyboard), ZWQS (AZERTY keyboards) and arrow keys. More accessible for users : add an option window where they choose what keys they want to use (what I never does, but I must add it to all my games too). You have some open sourced games in Delphi on GitHub at https://github.com/topics/delphi-game You can also find some on GetIt if you look for "arcade" or "game".
  24. Patrick PREMARTIN

    Which is the best book to learn Delphi

    Kevin Bond's book is a progressive course used in schools in South Africa. It has a progressive approach with lots of examples. It was used for last summer learning Delphi bootcamp :
  25. Patrick PREMARTIN

    How convert an android app into an i-phone app?

    Is it a public application or limited to one person / enterprise ? As a developer you need a developer account for Apple, but its type depends on who could download the app if Apple validate it. Now with an individual developer account it exists a "private" distribution true App Store. Have to ask to them after creating the app on Apple Connect.
×