How to load an image from file on Android using Delphi?

  

I want to load images from files to store them in memory, but I get a segfault 11 error when I try to load them.
Below is the code that I’m using. My best guess is that I’m using the wrong file location, but I don’t know what I should write instead.
Applications and Icons are my own folders that the jpg is in.

imgGreenCircle.Bitmap.LoadFromFile(‘/Applications/Icons/clGreen.jpg’);

Comments are closed.