On Oct 4, 12:12 pm, Onur Cinar <
onur.ci...@gmail.com> wrote:
> In order to be safe, I would suggest the following two options first:
>
> 1. Plain TCP/IP socket communication between your applications through the
> loop-back device. Since networking is officially supported by the NDK, we
> know that this interfaces will survive.
I would recommend against this, as the application will have to have
internet permission even for local loop back, and users will wonder
why if it is not by nature a networked application.
Using a unix domain socket avoids this. (Android's linux kernel is
modified to place restrictions on the AF_INET family, but not the
AF_UNIX family)