E
E
Evgeny Doroshenko2019-02-28 07:50:26
Java
Evgeny Doroshenko, 2019-02-28 07:50:26

How can C++Builder use Java classes?

in the example builder (device info) there is this thing
#if defined(__ANDROID__)
lbDeviceType->Text = String().sprintf(L"Device Type: %s", UTF8String(JStringToString(TJBuild::JavaClass->MODEL)). c_str());
lbOSName->Text = String().sprintf(L"OS Name: %s", UTF8String(GetCodename( JStringToString(TJBuild_VERSION::JavaClass->RELEASE))).c_str());
lbOSVersion->Text = String().sprintf(L"OS Version: %s", UTF8String(JStringToString(TJBuild_VERSION::JavaClass->RELEASE)).c_str());
#endif
want to know -what does this mean- String().sprintf(L"OS Version: %s", UTF8String(JStringToString(TJBuild_VERSION::JavaClass->RELEASE)).c_str());
what does the letter L stand for? this is -%s-what does it mean and so on))) -
-I just started learning programming., but I don’t have any information ((
I can’t understand how to work with Java classes, how to use, for example, the Android keystore system https://developer.android.com/training/articles/ke... I can’t find lessons

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question