Recent

Author Topic: [SOLVED] LAMW : send data to jWebView  (Read 1536 times)

majid.ebru

  • Sr. Member
  • ****
  • Posts: 388
[SOLVED] LAMW : send data to jWebView
« on: March 10, 2017, 02:59:02 pm »
Hi
i put a jWebView in form.
when i press "Backkey" in my phone , i want my  HTML site refreshed , But() the app closed ?!?!
.
.
how can i send data to HTML web site.
for example : when i pressed "BackKEy" , the web site refreshed (or go back page or ....)
« Last Edit: March 12, 2017, 09:33:30 am by majid.ebru »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1623
Re: LAMW : send data to jWebView
« Reply #1 on: March 11, 2017, 02:09:05 am »
Hi!

1. About backkey....

If you have only a LAMW jForm then backkey will try close this form
[Recommended for all Android applications ...]

2. The jWebView componet do not handle backkey ... so you need take care of your application logic using some other user interface resource: buttons or gesture or multiple forms....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018