# Can beats be embedded in Android?

**URL:** <https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146>\
**Category:** Beats\
**Created:** [February 23, 2017, 4:24am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146 "2017-02-23T04:24:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hyojoung\_Shin](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Post date:** [February 23, 2017, 4:24am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/1 "2017-02-23T04:24:51Z")

</div>

Hi, Thank you for the amazing works!

My goal is to send GPS data from android app to elasticsearch.

I made a collecting server which is getting GPS data from android using socket communication and send it to ES using java client.

android app ---socket---\> Collect Server(java) ---java client---\> Elasticsearch

Is there any way to send GPS data from android to elsticsearch directly?  
Can I use beats for this purpose?

Thanks,  
Shin.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2017, 7:31am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/2 "2017-02-23T07:31:15Z")

</div>

If you can compile a beat on android, then yes 🙂  
However looking around, it doesn't look like it's fully supported by the OS, so you may have to do some work to get it happening/

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [February 23, 2017, 2:30pm UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/3 "2017-02-23T14:30:26Z")

</div>

That is actually something I wanted to try out for quite some time but never found the time to do it. There are some projects that run Golang on Android or iOS. But not sure if beats as a library will compile because of the dependencies. See also [https://godoc.org/golang.org/x/mobile/app](https://godoc.org/golang.org/x/mobile/app)

I'm very interested to hear if you get this one running or what issues you hit.

---

<div class="post-metadata">

**Author:** ![Hyojoung\_Shin](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Post date:** [March 6, 2017, 7:31am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/4 "2017-03-06T07:31:24Z")

</div>

Thanks for the idea!

---

<div class="post-metadata">

**Author:** ![Hyojoung\_Shin](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Post date:** [March 6, 2017, 7:33am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/5 "2017-03-06T07:33:15Z")

</div>

I gave up to make this function with beats.  
Firebase is the next trial 🙂

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 6, 2017, 3:12pm UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/6 "2017-03-06T15:12:37Z")

</div>

Can you share some more details on what road blocks you hit? Would love to hear some more 😉

---

<div class="post-metadata">

**Author:** ![Hyojoung\_Shin](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Post date:** [March 9, 2017, 1:16am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/7 "2017-03-09T01:16:15Z")

</div>

My colleague is working on it. He told me his idea briefly.

Firebase has real time database, android can connect to this db without any delay.

GPS data flow look like below :  
android app -\> firebase real time db -\> gps collecting server -\> ES

I hope this helps you 😄

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 11, 2017, 4:41pm UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/8 "2017-03-11T16:41:43Z")

</div>

Thanks for the details. I was more interested in why problems you hit with beats so you decided not to forward with beats. I'm planning to play around with it in the future so it would be interesting to know 🙂

---

<div class="post-metadata">

**Author:** ![Hyojoung\_Shin](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Post date:** [March 13, 2017, 1:41am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/9 "2017-03-13T01:41:55Z")

</div>

I tried to find out a beats which is easily embedded in android such as a library.  
"compile a beat on android - warkolm" seems not easy to me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 16, 2017, 4:25am UTC](https://discuss.elastic.co/t/can-beats-be-embedded-in-android/76146/10 "2017-03-16T04:25:02Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
