Welcome, Guest
Guest Settings
Help

Thread: Deployment problems


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0 Threads: [ Previous | Next ]
aidan levy

Posts: 19
Registered: 7/6/16
Deployment problems  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 13, 2017 5:26 AM
In my application I need load picture so I use this code :

1. Image1->Bitmap->LoadFromFile(GetDefaultFilePath("on.png"));

2. function to receive full path :

String TTabbedForm::GetDefaultFilePath(const String FileName)
{
String Result = "";

#if defined(_PLAT_IOS)
Result = System::Ioutils::TPath::Combine(System::Ioutils::TPath::GetDocumentsPath(),FileName);
#endif

return Result;
}

3. I have added #include <System.IOUtils.hpp> to h file

4. In deployment I added file with remote path StartUp\Documents\ . I see this file in package.

As you can see everything as in instruction and for Android it work but in iOS32 ( iPhone 4s) not work !

What to do ?

I work on Berlin Update 1.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02