# \[Android\] Has anyone tried beaconing through 'Processing'?

**URL:** <https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686>\
**Category:** Processing for Android\
**Created:** [October 7, 2021, 11:36pm UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686 "2021-10-07T23:36:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [October 7, 2021, 11:36pm UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/1 "2021-10-07T23:36:30Z")

</div>

1. Beacon-related materials are as follows.  
TimedBeaconSimulator.java  
BeaconReferenceApplication.java  
MonitoringActivity.java  
RangingActivity.java

LINK:

> **[android-beacon-library-reference/app/src/main/java/org/altbeacon at master ·...](https://github.com/AltBeacon/android-beacon-library-reference/tree/master/app/src/main/java/org/altbeacon)**
>
> master/app/src/main/java/org/altbeacon

1. It is difficult to make the library suitable for ‘Processing’.

If you have any experience, please help, thank you.

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [October 8, 2021, 5:28am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/2 "2021-10-08T05:28:28Z")

</div>

Do you mean you don’t know how to build android libraries or that it is difficult to integrate these java files into the android library template due to code requirements, or that you don’t know how to use the android library template to make libraries?

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [October 8, 2021, 5:41am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/3 "2021-10-08T05:41:14Z")

</div>

@paulgoux

Thank you for answer. I know it takes work to get it driven by ‘processing program(tool)’. I’m posting this here to get advice from anyone who has experienced or has done it.  
Because I can’t do that part.

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [October 8, 2021, 6:11am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/4 "2021-10-08T06:11:18Z")

</div>

OK it’s pretty simple, it uses the same process required for the standard processing library template, so you can make use of Dan’s tutorial, you just have to make use of the android library template that is found on the processing github repo.

Then you have to change the names of a few files to match the installation directory then using eclipse you can then edit the java class files and build using ant.

This previous topic might help

> [@How to create android library eclipse?](https://discourse.processing.org/t/how-to-create-android-library-eclipse/28638):
>
> Hi everyone I’m hoping one of you can help please. I’ve been racking my brain trying to figure out how to extend my library to android. I already have a library which contains the following java files. Initially I just added the android libraries to my project and build path, and this seemed to clear up some of the code, however as I now understand traditionally the sketch extends PApplet whereas with android the sketch extends and therefore my current code wasn’t compatible. Having then …

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [October 8, 2021, 7:09am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/5 "2021-10-08T07:09:31Z")

</div>

@paulgoux

Thank you for your kind reply every time.

But, I don’t know if it’s because it’s difficult the first time,  
It’s very difficult for me.  
I’ll give it a try. thank you.

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [October 8, 2021, 7:46am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/6 "2021-10-08T07:46:54Z")

</div>

No probs, honestly take your time and watch Dans vid I followed it step by step and it worked.

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [October 8, 2021, 7:52am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/7 "2021-10-08T07:52:06Z")

</div>

What is a ‘Dans vid’? Do you have a link or a YouTube video

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [October 8, 2021, 8:02am UTC](https://discourse.processing.org/t/android-has-anyone-tried-beaconing-through-processing/32686/8 "2021-10-08T08:02:27Z")

</div>

[![](https://img.youtube.com/vi/pI2gvl9sdtE/maxresdefault.jpg "How to Make a Processing (Java) Library Part 1") ](https://www.youtube.com/watch?v=pI2gvl9sdtE)
