# No serial library Processing for smartphone. Help

**URL:** <https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870>\
**Category:** Processing for Android\
**Created:** [May 5, 2021, 9:34am UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870 "2021-05-05T09:34:04Z")\
**Posts on this page:** 1\
**Showing post:** 167

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [May 13, 2021, 11:48am UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870/167 "2021-05-13T11:48:41Z")

</div>

UPDATE! 2021-05-17 I now have this working:  
_[APDE USB / OTG communication - #24 by glv](https://discourse.processing.org/t/apde-usb-otg-communication/30114/24)_

This post below is now deprecated:

* * *

Adding to the topic…

I took these steps:

1. I purchased an OTG cable to add to my tool chest.

2. **I got this working using Android Mode on PC**.  
[No serial library Processing for smartphone. Help - #149 by glv](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870/149)  
I used the **device\_filter.xml** for this.  
This worked so I proceeded to explore further…

3. _UPDATE!_ I can’t reproduce this on APDE so back to the drawing board!

4. I found this issue in step #3:  
[Impossible to grant access to USB port through AndroidManifest · Issue #84 · Calsign/APDE · GitHub](https://github.com/Calsign/APDE/issues/84)  
The _template_ for the AndroidManifest.xml is here:  
[APDE/AppManifest.xml.tmpl at master · Calsign/APDE · GitHub](https://github.com/Calsign/APDE/blob/master/APDE/src/main/assets/templates/AppManifest.xml.tmpl)  
The template was copied, renamed, modified and put in the root of my sketch.

5. There is an APDE v 0.5.2 pre-release that I did not try:  
[Releases · Calsign/APDE · GitHub](https://github.com/Calsign/APDE/releases)  
There was a discussion about this version in #4 above.

Some interesting posts in this topic for further exploration… one day but not anytime soon.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870)._
