Recent

Author Topic: [SOLVED] Displaying a webpage on Android  (Read 780 times)

maurobio

  • Hero Member
  • *****
  • Posts: 640
  • Ecology is everything.
    • GitHub
[SOLVED] Displaying a webpage on Android
« on: May 03, 2023, 12:16:40 am »
Dear ALL,

I beg your pardon for what my be views as a very primary (if not naive) question. But despite some good years of experience in developing desktop applications with Lazarus/Delphi, I am truly new to the world of Android app development.

That said, here is my very simple question: how would be the best way of developing an app for displaying an webpage? That is, an app which simply open and displays an already existing webpage, so the user can use the app to interact directly with the page (instead of opening it in the standard web browser). As a matter of fact, there are lots of apps around which do just that!

The "AndroidBridges" components pallette from LAMW includes a "jWebView" component which I suppose can be used for that; the "AndroidBridgesExtra" includes a "jHttpClient" that can also presumably  be used for that. But since I could not find any documentation on all those nice components (and they are legion!) I am confused on which way to proceed.

Could any one of you wizards provide a simple example of displaying a webpage on an Android app? Also, is there any documentation on the LAMW components?

Thanks in advance for any assistance you can provide!

With warmest regards,
« Last Edit: May 03, 2023, 11:18:58 pm by maurobio »
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 3.8 - FPC 3.2.2 on GNU/Linux Mint 19.1/20.3, Windows XP SP3, Windows 7 Professional, Windows 10 Home

loaded

  • Hero Member
  • *****
  • Posts: 860
Re: Displaying a webpage on Android
« Reply #1 on: May 03, 2023, 07:26:06 am »
Hi,
There are enough sample applications at LAMW. You can access the related applications from the directory below.
Code: [Select]
C:\...\lazandroidmodulewizard-master\demos\GUI\AppWebViewDemo1\
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

maurobio

  • Hero Member
  • *****
  • Posts: 640
  • Ecology is everything.
    • GitHub
Re: Displaying a webpage on Android
« Reply #2 on: May 03, 2023, 11:18:10 pm »
Hi, @loaded!

Just after I posted my question, I discovered the "demos" folder in the LAMW installation! I hope to find out there many answers to my many questions regarding Android development.

Thank you!

With best regards,
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 3.8 - FPC 3.2.2 on GNU/Linux Mint 19.1/20.3, Windows XP SP3, Windows 7 Professional, Windows 10 Home

 

TinyPortal © 2005-2018