Search code examples
androidbitmapc++builderfiremonkey

C++ Builder: Location of Bitmap


I'm developping a mobile application using C++ Builder. I wanted to change the Bitmap of a FireMonkey TImage using the function LoadFromFile():

MyImage->Bitmap->LoadFromFile("My Image location");

I added the pictures to the project but I can't find the location of my Bitmap files. Does it exist a function or a parameter to find the location of these files?


Solution

  • I found why my Picture loading failed. I tried to use a .bmp file which is only supported on Windows and OSX. I worked with the instruction given by Kerem D here. I converted my picture to a PNG format and now it worked. Thank you all for your answers!