Recent

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

zgabrovski

  • New Member
  • *
  • Posts: 33
Re: <SOLVED> INDY 10 And LAMW
« Reply #30 on: January 29, 2021, 07:33:04 pm »
Guys I had the same problem and I do a fix to remove Indy dependency form iconv library.
https://www.atozed.com/forums/thread-2269.html
I will be happy if some else do some tests if it works fine.
In my application crash on Android 10 disappear when I remove iconv dependency.

bmcsoft

  • New Member
  • *
  • Posts: 21
Re: <SOLVED> INDY 10 And LAMW
« Reply #31 on: February 06, 2021, 09:16:08 am »
Quote
I put "libiconv.a" in a JNI-folder. Compiled successfully. On Android8 it's crashed when starting app.
On Android10 compiled application starts normally, but when I press jButton on the main form and dynamically create TIdUDPServer and trying to send packet - it's crashed also.

the same problem with last indy version in android 10 with lamw, first when i try to build the application with idhttp and idssl... not compile because not found the iconvec library, i solve it coping the 3 libray file to the System indy folder, then when it build the app run good but when i start the ld http client the application it's closed with no error message.

Looks like I've found the bug origin when I worked with other network component - Synapse. When we use network listening, we should use Threads. Synapse also crashed in same situation until I've put
Code: Pascal  [Select][+][-]
  1. uses
  2.   cthreads, cmem
in main project file - controls.lpr.

I want to test Indy for Android now with such solution!
« Last Edit: February 06, 2021, 09:19:23 am by bmcsoft »

 

TinyPortal © 2005-2018