Recent

Author Topic: Android and reading GPS data  (Read 1379 times)

process_1

  • Guest
Android and reading GPS data
« on: July 31, 2020, 09:22:46 pm »
Now,I know very well how to read and process NMEA data from GPS module using AVR, but not from mobile phone based on Android and Lazarus.

Is there any example available?

benohb

  • Full Member
  • ***
  • Posts: 213
Re: Android and reading GPS data
« Reply #1 on: August 01, 2020, 12:50:47 am »


Quote
Is there any example available?
LAMW/lazandroidmodulewizard/demos/GUI/AppLocationDemo2/

process_1

  • Guest
Re: Android and reading GPS data
« Reply #2 on: August 07, 2020, 06:23:40 pm »
LAMW/lazandroidmodulewizard/demos/GUI/AppLocationDemo2/

Thank you, benohb.

I believe I have manage to install all correctly regarding android. Copying this example to some temp dir reveals some other problem for me.

AFAIK, this example is for ARM 6 etc, not for default ARMv7a+VFPv3 I have installed required files only. Thus compiling stop and shows errors.
I have also noticed that whenever I removed existed parameters  from "Custom options" memo and save, they reapeared again.

How to change LAMW settings now for the project itself in order to recompile it for another architecture, in this case default one from new LAMW?
« Last Edit: August 07, 2020, 08:03:55 pm by process_1 »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Android and reading GPS data
« Reply #3 on: August 07, 2020, 10:23:55 pm »
Quote
How to change LAMW settings now for the project itself in order to recompile it for another architecture, in this case default one from new LAMW?

Lazarus IDE:  "Project"  --> "Project Options" --> "LAMW....."  ---> [TAB] "Build"

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

 

TinyPortal © 2005-2018