Mauro Botta
-
Content Count
16 -
Joined
-
Last visited
Posts posted by Mauro Botta
-
-
-
Hi
Open Delphi , create a new project with wizard, Set Android64, F9... after a minutes Fail deploy of all projects
I open all examples and don't work the deploy to Android.
i have change AndroidManifest.template.xml <uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="33" />
but don't work.
All compile project work fine, Deploy for "Application Store" work fine !!
but don't work : DEVELOPMENT mode.
i have update SDK to Android 13 (33)
sdkmanager.bat --install "platforms;android-33""platforms;android-33"
sdkmanager.bat --install "build-tools;33.0.2"I'm using Delphi 11.3, with Android 13, Samsung S22 (Snapdragon).
Hint ?
-
Hi
I have this problem with EMPTY FMX project, too,
-.-
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
-
i have found any links:
and
Loads local web content at the specified URI using an IUriToStreamResolver.
public void NavigateToLocalStreamUri(System.Uri source, IUriToStreamResolver streamResolver);
Only Delphi 11 have
NavigateToLocalStreamUri property. how i can use this in Delphi 10.4.2 ?IWebView2 = interface(IInspectable)
['{D481759E-3EFF-4462-823D-FD52F9BA4CC8}']
function get_CanGoBack: Boolean; safecall;
function get_CanGoForward: Boolean; safecall;
function get_DocumentTitle: HSTRING; safecall;
function add_NavigationStarting(handler: TypedEventHandler_2__IWebView__IWebViewNavigationStartingEventArgs): EventRegistrationToken; safecall;
procedure remove_NavigationStarting(token: EventRegistrationToken); safecall;
function add_ContentLoading(handler: TypedEventHandler_2__IWebView__IWebViewContentLoadingEventArgs): EventRegistrationToken; safecall;
procedure remove_ContentLoading(token: EventRegistrationToken); safecall;
function add_DOMContentLoaded(handler: TypedEventHandler_2__IWebView__IWebViewDOMContentLoadedEventArgs): EventRegistrationToken; safecall;
procedure remove_DOMContentLoaded(token: EventRegistrationToken); safecall;
procedure GoForward; safecall;
procedure GoBack; safecall;
procedure Refresh; safecall;
procedure Stop; safecall;
function CapturePreviewToStreamAsync(stream: IRandomAccessStream): IAsyncAction; safecall;
function InvokeScriptAsync(scriptName: HSTRING; arguments: IIterable_1__HSTRING): IAsyncOperation_1__HSTRING; safecall;
function CaptureSelectedContentToDataPackageAsync: IAsyncOperation_1__IDataPackage; safecall;
procedure NavigateToLocalStreamUri(source: IUriRuntimeClass; streamResolver: IUriToStreamResolver); safecall;
function BuildLocalStreamUri(contentIdentifier: HSTRING; relativePath: HSTRING): IUriRuntimeClass; safecall;
-
Hi,
I'm using in my project more TWebBrowser, i have a know problem with Internet Explorer, now ,
I know Embardero docs , like https://blogs.embarcadero.com/browsing-in-a-windows-application-from-internet-explorer-to-webview-2/ but i don't like it.
I have tried https://stackoverflow.com/a/52788855/537347 exampe,
## Using WebView (EdgeHTML) in Delphi / C++ Builder ##
const
SWebViewControlProcess = 'Windows.Web.UI.Interop.WebViewControlProcess';type
// Interface with functionality to interact with WebBrowser Control
// https://docs.microsoft.com/en-us/uwp/api/windows.web.ui.iwebviewcontrol
IWebViewControl = interface(IInspectable)
['{3F921316-BC70-4BDA-9136-C94370899FAB}']
procedure Placeholder_SourceGet; safecall;
procedure Placeholder_SourcePut; safecall;
..
and work fine. i can open any web sites on Windows 11 in very easy mode.
But i can't open any local files ( and show ) , i need show a .P7M files.
WinS:= TWindowsString.Create('file:\\V:\DelphiXE104_PROJECT\Test\test.xml.p7m'); don't work
WinS:= TWindowsString.Create('V:\DelphiXE104_PROJECT\Test\test.xml.p7m'); don't work
WinS:= TWindowsString.Create('V:\DelphiXE104_PROJECT\Test\BASE_HTML_TEMPLATE.html'); don't work
Any Hint ?
from chats:
You declared the
TWebViewControlProcess
asclass(TWinRTGenericImportI<IWebViewControlProcess>)
. According to the official documentation, it also has a second constructor with parameters. I would need to access this to create a process that allows to display local files. Can you elaborate on how to call this constructor in Delphi? -
Hi,
I have tried https://stackoverflow.com/a/52788855/537347 exampe,
const
SWebViewControlProcess = 'Windows.Web.UI.Interop.WebViewControlProcess';type
// Interface with functionality to interact with WebBrowser Control
// https://docs.microsoft.com/en-us/uwp/api/windows.web.ui.iwebviewcontrol
IWebViewControl = interface(IInspectable)
['{3F921316-BC70-4BDA-9136-C94370899FAB}']
procedure Placeholder_SourceGet; safecall;
procedure Placeholder_SourcePut; safecall;
..
and work fine. i can open any web sites.
But i can't open any local files ( and show ) , i need show a .P7M files.
WinS:= TWindowsString.Create('file:\\V:\DelphiXE104_PROJECT\Test\test.xml.p7m'); don't work
WinS:= TWindowsString.Create('V:\DelphiXE104_PROJECT\Test\test.xml.p7m'); don't work
WinS:= TWindowsString.Create('V:\DelphiXE104_PROJECT\Test\BASE_HTML_TEMPLATE.html'); don't work
Hint ?
-
fortunately this forum exists ....
- 1
-
IDE Fix Pack 6.4.4 Hotfix support last version of Delphi 10.3.3 ?
Thank you 🙂
Last file is : IDEFixPackD103Reg64.4.7z (August 2019)
IDE Fix Pack 6.4.4 Hotfix for Delphi 10.3.2
-
Server embarcadero are down
Can i to install and to activate Release 2, now ?
-
The problem may be in resize / resample of Image....
-
Hi
I need to view any Canon / Nikon reflex jpeg photos in high quality.
I have tested with RIO, a FMX project with TImageControl. i have compared the colors and the quality with Canon or Adobe software and FMX, fmx result is very bad, FMX may be... don't support any features of jpeg files ( sRGB ? 32bit ? )
A Canon reflex produce 10 / 20 MB file jpeg in very high quality. i need show it in best mode, under Windows 10 today, Next version on iPad...
Best Regards
Custom TrueType font in FMX Android app?
in Cross-platform
Posted
Hi, @Dave Nottage i have update to Delphi 12, this patch don't work ( FMX.FontGlyphs.Android.pas is different ).
Do you have any update for font problem ?