* * *

Author Topic: Android Module Wizard  (Read 461129 times)

m4u_hoahoctro

  • Full Member
  • ***
  • Posts: 159
Re: Android Module Wizard
« Reply #1125 on: November 07, 2018, 10:02:59 am »
@jmpessoa
Today i built a location app, it seems be the code:

Code: Pascal  [Select]
  1. url:=jLocation1.GetGoogleMapsUrl(lat,lng);
  2. jWebview1.Navigation(url);

cant be used anymore. Google page shows that "You must use an API key to Google Maps Platform". :) :)

And I realize that jWebview hasnt scroll  :o :o ?
« Last Edit: November 07, 2018, 10:29:01 am by m4u_hoahoctro »

Leledumbo

  • Hero Member
  • *****
  • Posts: 7971
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Android Module Wizard
« Reply #1126 on: November 08, 2018, 02:48:32 am »
@jmpessoa
Today i built a location app, it seems be the code:

Code: Pascal  [Select]
  1. url:=jLocation1.GetGoogleMapsUrl(lat,lng);
  2. jWebview1.Navigation(url);

cant be used anymore. Google page shows that "You must use an API key to Google Maps Platform". :) :)

And I realize that jWebview hasnt scroll  :o :o ?
The code is 2 years old. I believe last year google maps started to lose its free (as in no API key needed) service. Today even your free calls require an API key, with limited number of calls per day (not really remember how many, probably 1000). The code definitely needs an update.

jmpessoa

  • Hero Member
  • *****
  • Posts: 1199
Re: Android Module Wizard
« Reply #1127 on: November 09, 2018, 06:39:16 am »

About "jLocation" component and "AppLocationDemo1":

Fixed and updated!

Please, set the new property "GoogleMapsApiKey"

Thanks!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

m4u_hoahoctro

  • Full Member
  • ***
  • Posts: 159
Re: Android Module Wizard
« Reply #1128 on: November 10, 2018, 11:14:44 am »

About "jLocation" component and "AppLocationDemo1":

Fixed and updated!

Please, set the new property "GoogleMapsApiKey"

Thanks!

@jmpessoa, thanks for updating  :) :)
but how can we set scrolldown property for jWebView ?  :)

jmpessoa

  • Hero Member
  • *****
  • Posts: 1199
Re: Android Module Wizard
« Reply #1129 on: November 18, 2018, 10:11:02 pm »
Hi, m4u!

I did this test:

jWebView1.Navigate('http://forum.lazarus-ide.org/index.php?action=forum');     

and the  jWebView  "scrolling"  is  OK!
« Last Edit: November 19, 2018, 05:39:39 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus