Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Delphi_FMX

Post Reply
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Delphi_FMX

Post by sodlf159 »

Can I use the Android app?

WebView4Delphi or CEF4Delphi

What is the most effective way to package and use an app on Android?
The reason I'm doing this is because I want to use it as an actual Android phone to completely imitate a mobile phone.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Delphi_FMX

Post by salvadordf »

In the case of Android or IOS applications use TWebBrowser.

CEF has a feature request to add Android support but at this moment that operating system is not supported.

WebView2 only supports Windows and Microsoft decided to discontinue plans for a public release of WebView2 on MacOS and Linux.
https://github.com/MicrosoftEdge/WebView2Feedback/issues/1314#issuecomment-2211683486
https://github.com/MicrosoftEdge/WebView2Feedback/issues/645#issuecomment-2211683674
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Delphi_FMX

Post by sodlf159 »

Is there a way to change the user agent of TWebBrowser?

I'm trying to build it for Android.

Does this mean that everything has to be used exclusively in JavaScript?

Is ExecuteDevToolsMethod not supported?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Delphi_FMX

Post by salvadordf »

TWebBrowser is an Embarcadero product.

Use the generic forums, groups and channels for questions about TWebBrowser :
https://blogs.embarcadero.com/community/
Post Reply