# How to directly send analog values to an android application without cloud

**URL:** <https://community.particle.io/t/how-to-directly-send-analog-values-to-an-android-application-without-cloud/43928>\
**Category:** General\
**Created:** [September 11, 2018, 10:48am UTC](https://community.particle.io/t/how-to-directly-send-analog-values-to-an-android-application-without-cloud/43928 "2018-09-11T10:48:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ARJUNBINDUSUNIL](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@ARJUNBINDUSUNIL](https://community.particle.io/u/ARJUNBINDUSUNIL)\
**Post date:** [September 11, 2018, 10:48am UTC](https://community.particle.io/t/how-to-directly-send-analog-values-to-an-android-application-without-cloud/43928/1 "2018-09-11T10:48:21Z")

</div>

Hi,  
I am new to Photon and using the tutorials, I was able to send data to an android application involving Particle Cloud. But my I wish to transfer data using the Photon’s inbuilt wifi module, to my mobile app, while connecting to the mobile’s hotspot. I chose photon for this application due to its small size. Does anyone have an idea to do this?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [September 11, 2018, 12:45pm UTC](https://community.particle.io/t/how-to-directly-send-analog-values-to-an-android-application-without-cloud/43928/2 "2018-09-11T12:45:33Z")

</div>

You can use [`TCPClient`](https://docs.particle.io/reference/firmware/photon/#tcpclient) or [`UDP`](https://docs.particle.io/reference/firmware/photon/#udp)

---

<div class="post-metadata">

**Author:** ![ARJUNBINDUSUNIL](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@ARJUNBINDUSUNIL](https://community.particle.io/u/ARJUNBINDUSUNIL)\
**Post date:** [September 12, 2018, 5:03am UTC](https://community.particle.io/t/how-to-directly-send-analog-values-to-an-android-application-without-cloud/43928/3 "2018-09-12T05:03:33Z")

</div>

I shall check those methods and get back. Thank You
