Recent

Author Topic: <SOLVED> INDY 10 And LAMW  (Read 3807 times)

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
Re: INDY 10 And LAMW
« Reply #15 on: December 05, 2018, 08:35:33 pm »
 Ok Remy

Thank you very much for your answers.

I will search the code again or I will go back to the older versions
As I get older, the more I learn !!

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
Re: INDY 10 And LAMW
« Reply #16 on: December 09, 2018, 07:27:23 pm »
Finally solved the problem myself.

The problem is that there is no backward compatibility of the new versions of the indy package.

They use the iconvec which is incompatible with the api 21 that has my phone. So I found the older indy version 10.2.0 and followed the steps below.

I did not change laz4android version 1.80.

I did not changed the latest version of LAMW.

I did not change version 3.0.4 of fpc.

I also had to have the indylaz package on the dependencies, but may not exist in their program uses. Is critical!

And everything worked as it should


I use the indy package for many years and it is very reliable. I did not want to use other internet packages

Thanks
As I get older, the more I learn !!

jmpessoa

  • Hero Member
  • *****
  • Posts: 1477
Re: INDY 10 And LAMW
« Reply #17 on: December 09, 2018, 08:01:40 pm »
Good!

Please, put here some simple    LAMW+ Indy  "demo"  !!

So,  I will  commit to the  LAMW  git repository...

Thank you!
« Last Edit: December 09, 2018, 08:14:03 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
Re: INDY 10 And LAMW
« Reply #18 on: December 09, 2018, 08:05:13 pm »
Ok jmpessoa.

I will attach tomorrow a zip file with a sample project.

Thank you
As I get older, the more I learn !!

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
[Solved] - INDY 10 And LAMW
« Reply #19 on: December 10, 2018, 03:45:19 pm »
Hi.

I attach the dropbox link

https://www.dropbox.com/sh/diw045ywo768ehd/AAD1UzwOiIr83MTQisclclEPa?dl=0

that includes the sample of my project that uses indylaz and LAMW, I also include the indylaz package that is hard to find. And a screenshot showing which is placed the indylaz dependency.

Thank you
As I get older, the more I learn !!

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 680
    • Lebeau Software
Re: INDY 10 And LAMW
« Reply #20 on: December 10, 2018, 08:53:02 pm »
The problem is that there is no backward compatibility of the new versions of the indy package.

They use the iconvec which is incompatible with the api 21 that has my phone.

In what way exactly?  Can you be more specific?  Indy does not use any of the Android APIs directly.  Indy operates at the native Linux POSIX layer that runs underneath Android's Java layer.  ICONV is a Linux native library, and iconvenc is a FPC provided unit.  In what way is it not compatible with Android?

So I found the older indy version 10.2.0 and followed the steps below.

That is an extremely old version of Indy, you really should not use it.  I'd rather understand why the latest version is not working for you so it can be fixed.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
Re: INDY 10 And LAMW
« Reply #21 on: December 10, 2018, 08:59:35 pm »
Thank you for your interest.

 I do not know many things about android and java.
Only pascal.

But as long as the work is done it does not matter.

Thank you very much.
As I get older, the more I learn !!

freris

  • New Member
  • *
  • Posts: 42
  • A Retired hobbist programmer from Greece
Re: <SOLVED> INDY 10 And LAMW
« Reply #22 on: December 17, 2018, 06:07:48 pm »
Hi again.

And to conclude and close this discussion, see what exactly is going on with my problem as mentioned in the relevant forum.

https://github.com/android-ndk/ndk/issues/702#issuecomment-391039098

Thank you
As I get older, the more I learn !!