Recent

Author Topic: App Crashes when Indy is Used  (Read 2736 times)

twinsoft

  • Newbie
  • Posts: 3
App Crashes when Indy is Used
« on: September 11, 2012, 11:12:23 pm »
Hi, a just added a TidUDPClient component in MainForm of androidlcl test (no modification in source code). I recompiled the app, build the apk and installed it to Android Emulator. App crashes at start up. I used the abd_logcat but i can't figure out what is wrong. Can someone try the same and give me a hand ?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: App Crashes when Indy is Used
« Reply #1 on: September 12, 2012, 12:24:17 pm »
You should mention that to the Indy developers. Synapse also doesn't work in Android.

For my needs I am using JNI, like explained here: http://wiki.lazarus.freepascal.org/Android_Programming#Example_1:_Creating_a_Java_object_and_calling_a_Java_method

I have already written code to download files via HTTP with that, but nothing for UDP.

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: App Crashes when Indy is Used
« Reply #2 on: September 12, 2012, 12:35:41 pm »
You can also try LNet components:
http://lnet.wordpress.com

 

TinyPortal © 2005-2018