Перейти к содержанию
Fire Monkey от А до Я

Astghik

Пользователи
  • Постов

    26
  • Зарегистрирован

  • Посещение

Весь контент Astghik

  1. Astghik

    Fmx C++ component

    I want to create an Fmx C++ component for Android (inherited from TComponent). This component must have a "color" property with TAlphaColor type. I want to see that "color" property in the property editor, displayed in a color picker with color icon (not as a unsigned int). Like to this photo:
  2. Скажите пожалуйста, вы решили этот вопрос и как? Пришлите мне, пожалуйста, пример.
  3. Dear SVTX, say me please, do you solve this question? And can you share solution?
  4. Can anyone say me how to use DLL with FMX form into old C++ Builder 2007? I have created fmx DLL with Fmx form. (Rad Studio 10.3.3) Build with release configuration. Project->Options->C++ Linker ->Link with Dynamic RTL = false Project->Options->Runtime Packages ->Link with runtime packages = false I have also created VCL Project (C++ Builder 2007), added a form. OnButton click I am calling my DLL function, who show the FMX form. On another button I am calling freeLibrary. All ok, my FMX form has shown, but on FormClose my appliction is crashing and I can not close my app. I am only able to close my app from the task manager.
  5. http://www.fmxexpress.com/learn-how-to-deploy-delphi-10-3-rio-android-apps-to-google-play-with-android-64-bit-requirements/
  6. Hi dear Embarcadero team! I'm using Embarcadero RAD Studio 10.3 C++ and I have a big problem. There is a Google Play requirement - https://developer.android.com/distribute/best-practices/develop/64-bit I saw the "RAD Studio Roadmap" - https://community.idera.com/developer-tools/b/blog/posts/august-2019-delphi-android-beta-plans-august-roadmap-update There is shown, that Rad Studio 10.4(10.4.x) will support 64-bit android only for Delphi. Say me please, when will Rad Studio support 64-bit android for C++ , and what to do until C++ 64-bit android support? P.S. Send me official link, if it posible.
  7. Say me please, how I can take photo from camera or gallery, without saving picture to gallery. "NeedSaveToAlbum" do not help. (Rad studio 10.2.1) I do all as - http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Taking_and_Sharing_Pictures_and_Text_Using_Action_Lists
  8. Astghik

    Android (iOS) popup

    Hello !!!I want onButtonClick create popup. I use TPopup component. All good, but on android "Back button" click closing forma. But I want close popup (when popup is shown). //--------------------------------------------------------------------------------- void __fastcall btn3PointsClick(TObject *Sender) { PopUpSettings->IsOpen = true; PopUpSettings->PlacementTarget = btn3Points; PopUpSettings->BringToFront(); } //------------------------------------------------------------------------------------- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose) { try { if (PopUpSettings->IsOpen == true) { CanClose = false; } else { CanClose = true; } } __finally { PopUpSettings->IsOpen = false; } } //-------------------------------------------------------------------
  9. All is fine, when #ifdef TARGET_OS_MAC #include "zlib.h" #else #include "System.ZLib.hpp" #endif but if zconf.h (in line 377) will be error, change that line --> typedef System::Byte FAR Bytef;
  10. Astghik

    Print from Android(IOS)

    Thank you for all.
  11. Astghik

    Print from Android(IOS)

    Thank you. That is, there is no universal solution ??? Can may be solution with Android API ??
  12. Astghik

    Print from Android(IOS)

    Thanks for all links. I have LAN printer (Posiflex PP 6900), It have a IP(192.168.xx.xx). With TIdTCPClient component I can print text. But when I send for example myicon.png stream, printer was not recognise that is image, and printing myicon.png text . IdTCPClient->Host = "192.168.xx.xx"; IdTCPClient->Port = 9100; IdTCPClient->Connect(); IdTCPClient->Socket->Write("\n ----------------------"); IdTCPClient->Socket->Write("\n Hello from mobile !!!!"); IdTCPClient->Socket->Write("\n ----------------------"); IdTCPClient->Disconnect(); I do not want use Google cloud. Have any idea print custom document (for example .rtf, .pdf) without Google cloud ????
  13. Astghik

    Print from Android(IOS)

    Thanks for link. But don't want with google cloud. I was seen link -> https://developer.android.com/training/printing/index.html But in Rad Studio 10.2 i can not find TJPrintManager . Can you help me?
  14. Astghik

    Print from Android(IOS)

    How to print text from Android (IOS) device ? (C++ Rad Studio 10.2) With USB printer and other types printers (WiFi, Bluetooth ....)
  15. Astghik

    Проверить состояние сети

    Скажите пожалуйста, как проверить состояние сети (Rad Studio 10.2).
  16. Say me please, what to do ???? I work with Rad Studio 10.2 Tokyo + OsX 10.11 El Capitan + XCode 8 (C++). When I use System::Zlib::compressBound function ( #include "System.ZLib.hpp" ), I have linker error --> [ILINK32 Error] Error: Unresolved external 'System::Zlib::compressBound(unsigned int)' referenced from C:\User\...\...\Unit1.o.
  17. Нашлось какое то решение, не хорошое но работает. OnMouseDown делаем клон оригинальной ListBox - а, clonListBox делаем BringToFront, а потом начинаем сваю работу на clonListBox. В канце (OnMouseUp) clonListBox отображаем на оригинал и удаяем clonListBox . Вот тестовый проект , правда, нужны каррекции. (Rad Studio 10) TestListBoxItmDrag.rar
  18. на весь экран создаю TLayout, а потом на этом TLayout- е двигаю Bitmap. Layout1->BringToFront(); Application->ProcessMessages(); не помагает пока не вызывается MouseUp, вертикальный скролл TListBox- а работает
  19. Так и сделала, он MouseDown создала Bitmap с скриншотом TListBoxItem и двигаю этот Bitmap . Но вертикальный скролл TListBox- а мешает . И не как не могу сделать так, что пока я двигаю этот Bitmap, вертикальный скролл TListBox- а не работала.
  20. Astghik

    Drag and Drop TListBoxItem in Android.

    скажите пожалуйста , как реализовать Drag and Drop TListBoxItem на Андроид (Rad Studio 10)
  21. #include <Androidapi.JNI.JavaTypes.hpp> #include <Androidapi.Helpers.hpp> #include <Androidapi.JNI.Embarcadero.hpp> #include <Androidapi.JNI.GraphicsContentViewText.hpp> for Rad Studio 10
  22. _di_JIntent newIntent = TJIntent::Create(); newIntent->setAction(TJIntent::JavaClass->ACTION_VIEW); _di_JMimeTypeMap mime = TJMimeTypeMap::JavaClass->getSingleton(); _di_JString ExtToMime = mime->getMimeTypeFromExtension(StringToJString(L"apk")); String pth = System::Ioutils::TPath::GetPublicPath() + L"/app.apk"; // path app.apk _di_JFile my_file = TJFile::JavaClass->init(StringToJString(pth)); _di_Jnet_Uri uri = TJnet_Uri::JavaClass->fromFile(my_file); newIntent->setDataAndType(uri,ExtToMime); int my_flag = TJIntent::JavaClass->FLAG_ACTIVITY_NEW_TASK; newIntent->setFlags(flag); SharedActivity()->startActivity(newIntent);
×
×
  • Создать...