Subscribe to this list via RSS Blog posts tagged in twebbrowser
【Delphi / C++Builder / Starter 】アプリにWebページ表示機能をかんたんに組み込む 【Delphi / C++Builder / Starter 】アプリにWebページ表示機能をかんたんに組み込む Delphi/ C++Builder ユーザなら TWebBrowserの記事だな、と察しておられるかと思いますが、そのとおりです。この記事では、TWebBrowserコンポーネントを使って、かんたんにアプリへWebページ表示の機能を組み込む方法をご紹介します。 Webブラウザそのものの開発を行う、といういうよりも、アプリにおいて、一部地図を表示したり、Web上サーバー上にあるhtml情報を引っ張ってきて表示する、という使い方に便利です。 TWebBrowserコンポーネントを使ったモバイルアプリ作成のチュートリアルはエンバカデロのDockwikiに「モバイル チュートリアル:Web ブラウザ コンポーネントを使用する(iOS および Android)」という題名で記載されています。より詳しい情報を知りたい方は、こちらのDocwikiもご参考になってください。 無料で使えるStarter Editionでも、Windows 32bit向け限定ではありますが、作成でき...
How to best load an image from a URL using TWebBrowser when targeting multiple devices I recently got a question from a customer on how to restrict the image size to the actual device screen dimensions when using TWebBrowser, so I thought I would create a blog post about it. Often times, images that are loaded from the web using an URL may be bigger than the form factor the app is being run on, causing the user to have to scroll to see the entire image. Below is a code snippet that shows you how to restrict the web image to fit perfectly to the form factor the app is being run on. Read on to find the full snippet code!
How to use custom Info.plist XML to support iOS 9's new App Transport Security feature In iOS9 Apple added the new "Apple Transport Security" feature to restrict apps that use HTTP protocol requests under the covers. Apple provides Info.plist settings to allow your app to use HTTP. This new feature will affect the execution of apps that use HTTP directly or use components and RTL functions that use HTTP under the covers. Two components in RAD Studio 10 Seattle that use HTTP include TAppAnalytics and TWebBrowser. This blog post shows you how to set these new Info.plist options and ...
Example of using JavaScript for Google maps in the Delphi XE6 One of the innovations in XE6, it's a method EvaluateJavaScript in the component TWebBrowser. This method allowing execute JavaScript on the loaded page and add interactivity to our applications. On the site developers.google.com contains many examples of embedding maps on the page. I chose the example for paving the route from point A to point B. And as an example of execution JavaScript, I define two buttons for showing predefined paths from "Chicago" to "Winona" and from "St Louis" to "Gallu...
Использование JavaScript на примере Google maps в Delphi XE6 Одно из небольших нововведений в XE6 для компонента TWebBrowser, это появление метода EvaluateJavaScript, позволяющего выполнить JavaScript на загруженной странице и добавить интерактивности нашим приложениям. На сайте developers.google.com приведено множество примеров встраивания карт на страничку. Мне приглянулся пример прокладывания маршрута из пункта А в пункт Б. Ну а в качестве примера выполнения JavaScript, я определю две кнопки для прокладывания предопределённых путей Из пункта chicago в...
  • Page :
  • 1

Check out more tips and tricks in this development video: