Android - Short range communication (Like NFC)
<p>When my application is running in foreground on two Android smartphone's, i want to exchange data between them. </p>

<p>One phone is definitely connected to the Internet and other phone might not be connected. So exchanging data using a web server is not possible.</p>

<p>I tried client server socket communication. If the phone is connected to internet via router the IP address is not public (192 range) hence i am not able to access it. </p>

<p>I tried to exchange data using bluetooth but there are lot of prompts (Like enable bluetooth, discoverability, pairing etc).</p>

<p>NFC is another option but only very few phones support it. So i will keep that as last option. Is there any other possible means of peer to peer communication.</p>

<p>If the phone IP address is not in public range, is it possible to access it (using NAT or any means) ?</p>
