Jump to content

Walid Alg

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Walid Alg

    P4D Android visual component

    I try any component visual display him in my app. I installed delphifmx library. Like this : prog = ProgressBar(Application.MainForm) prog.SetProps( Parent=Application.MainForm, Position=Position(PointF(5, 20)), Width=200, Height=50, Value=0, ) But I have error same code who excute on Windows plate-forme SVID_20241129_115325_1.mp4
  2. Walid Alg

    P4D Android visual component

    Working in Windows plate-forme but in android no
  3. Walid Alg

    P4D Android visual component

    Hello, Is it possible to use a visual component with Python code for Android, for example, using the tqdm library or similar to display a progress bar along with the ProgressBar component in Delphi? Thank you.
  4. Walid Alg

    P4D Android external library

    "I found a temporary solution, but it's not complete." SVID_20241014_215009_1.mp4
  5. Walid Alg

    P4D Android external Python library

    "I found a temporary solution, but it's not complete." SVID_20241014_215009_1.mp4
  6. Walid Alg

    P4D The component is missing in the library

    I found it in the PythonEnvironments library; I'm not sure why it was missing components the first time. After reloading, the library was fully downloaded.
  7. Hello everyone, I'm looking for the component pyEmbeddedResEnvironment3101 in any available library. Thank you.
  8. Walid Alg

    P4D Android external Python library

    It works, I don't know why, but after reinstalling the Python library for Windows from the official website, the latest version, I found the application in Delphi working and installing external libraries like PyTorch inside Delphi. Additionally, the function isImported returns true. Now my question is, on Android, I tried the same application that works on Windows, but it didn’t install the PyTorch library, for example. In the settings, ManagerKind = pip / conda. Using pip on Windows works to install the library, but conda doesn't work for installing the library. I tried both pip and conda on Android, but neither worked. Can you help with this?
  9. Walid Alg

    P4D Android external Python library

    pyEmbeddedResEnvironment310 is available in any library, thank you
  10. Walid Alg

    P4D Android external Python library

    Pip is defualt setting, other is corda lib or.. I forget his name. I have posted this in several forums and communities that focus on Delphi, but I haven't found any answers regarding the use of P4D in the Android environment, let alone a solution to the problem. The only person who has responded to me on this topic so far is you.
  11. I want to integrate Python libraries into an Android application in a Delphi environment. In general, to run a Python environment in an Android application, the environment must first be embedded and loaded from within Delphi by selecting Python and the version type. Then, it is eventually integrated with the application and appears in the form of an SO file. What I am trying to do is figure out how to install any external Python library and run it in an Android application using Delphi. I tried installing the MoviePy library through this link: https://github.com/Embarcadero/PythonPackages4Delphi/tree/main/src/MoviePy but it didn’t work. I also tried the attached project: https://github.com/Embarcadero/P4D-Data-Sciences/tree/main/samples/InstallAndImport which includes the PyTorch library. Both have the properties autoImport, autoInstall set to true, and the MoviePy and PyTorch components are set up by default as I stated earlier, with the addition of pythonEngine and pyEmbeddedEnvironment. But neither worked. The problem is the same: the same message appears, "no module named pip". which is that when executing the isImported function, it returns the value false.
  12. Walid Alg

    P4D Android external library

    thought about this attached project importLibrary because I think it is the key to the solution. I got an error message.
  13. Walid Alg

    P4D Android external library

    Thank you very much for the effort.
  14. Walid Alg

    P4D Android external library

    If uploading the project helps in understanding and solving the issue, I will upload it for you. Thank you.
  15. Walid Alg

    P4D Android external library

    Yes, I did. It didn’t work for me due to the absence of PyTorch, I don't know which library it is in, but I understood the concept of how it works. That’s why the message appears in the Android application. An error occurred during the installation process:
×