2022年5月4日 星期三

Instructions and precautions for calling JNI jar Java in Delphi cross platform development Android

 https://cdmana.com/2022/03/202203200608160695.html

 https://synaptica.info/en/2017/03/07/delphi-fmx-android-app-to-check-mem-usage/

 Android, how to call a TJIntent 

 

https://en.delphipraxis.net/topic/1361-android-how-to-call-a-tjintent/ 

 

  System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
  FMX.Controls.Presentation, FMX.StdCtrls, Androidapi.JNI.App
  ,Androidapi.JNIBridge
  ,Androidapi.JNI.GraphicsContentViewText
  ,Androidapi.JNI.JavaTypes
  ,Androidapi.JNI.Os
  ,FMX.Helpers.Android
  ,Androidapi.Helpers
  ,Androidapi.JNI.ActivityManager;


TAndroidHelper


https://docwiki.embarcadero.com/CodeExamples/Alexandria/en/FMX.Android_Intents_Sample


http://aziga.x10.mx/delphi/index.php?option=com_content&view=article&id=28&Itemid=33

https://blogs.embarcadero.com/adopting-the-openjdk-for-delphi-android-development/


delphi java code android  Translation

https://github.com/tothpaul/APKPascal


https://github.com/chinawsb/QSDK

https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_a_Custom_Set_of_Java_Libraries_In_Your_RAD_Studio_Android_Apps

Developing Fluent User Interfaces for Windows 10

 The ribbon component of the Microsoft Office Fluent  interface  users Office applications.

 https://github.com/fluentribbon/Fluent.Ribbon

 
Developing Fluent User Interfaces for Windows 10 https://youtu.be/uOpbLLDh1hc

https://en.wikipedia.org/wiki/Fluent_interface

 Microsoft Office 2007 § User interface
https://www.microsoft.com/design/fluent/#/

https://github.com/sourcechord/FluentWPF

https://www.dima.to/blog/how-to-host-wpf-controls-in-a-delphi-application-and-delphi-controls-in-a-wpf-application/

https://code.google.com/archive/p/delphihtmlwriter/

https://www.thedelphigeek.com/2009/04/fluent-xml-1.html

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Program_Control_(Delphi)

https://github.com/mremec/omnixml

https://github.com/VSoftTechnologies/Delphi-Fluent-XML/blob/master/README.md

https://blogs.embarcadero.com/es/giving-your-apps-the-fluent-ui-look-and-feel-with-delphi/

https://blog.marcocantu.com/blog/fluent_delphi.html

https://www.andrecelestino.com/fluent-interface-no-delphi/

https://github.com/NickHodges/delphihtmlwriter

https://blogs.embarcadero.com/delphi-offers-deeper-third-party-tool-api-integration-than-wpf-and-electron/

 

 

 

 https://docs.microsoft.com/en-us/dotnet/desktop/wpf/advanced/wpf-and-win32-interoperation?view=netframeworkdesktop-4.8

WPF and Win32 Interoperation
This topic provides an overview of how to interoperate WPF and Win32 code. Windows Presentation Foundation (WPF) provides a rich environment for creating applications. However, when you have a substantial investment in Win32 code, it might be more effective to reuse some of that code.
WPF and Win32 Interoperation Basics

Delphi runtime

 https://blogs.embarcadero.com/coming-delphi-10-4-runtime-library-enhancements/

 https://github.com/salvadordf/WebView4Delphi

https://github.com/jchv/OpenWebView2Loader

DRT

A better Delphi runtime.
https://gitee.com/YWtheGod/DRT


Combine with librarys in C code. Now contains:

    Zlib 1.2.12 from https://github.com/jtkukunas/zlib

    XXHASH 0.8.1 from https://github.com/Cyan4973/xxHash

    LZ4 from https://github.com/lz4/lz4

    zstd from https://github.com/facebook/zstd

    fastmm5 from https://github.com/pleriche/FastMM5 (used in windows platforms)

    mimalloc from https://github.com/microsoft/mimalloc (used in non windows platforms)

    Update 2022/05/02: Add FastMM5(for Windows) and mimalloc(for other platforms), and Patch move function to use MSVCRT's memmove implement(Windows only, other platforms already use CRT's memmove)

    Update 2022/04/24: Add WebView2Loader Support for FMX Edge, no more DLL needed for FMX Win App. and Add a lot WebView2 Related Units from https://github.com/salvadordf/WebView4Delphi

    Update 2022/04/23: Add WebView2Loader PASCAL implementation, so no more WebView2Loader.DLL needed. Translated from https://github.com/jchv/OpenWebView2Loader