# Convert Code to Android

**URL:** <https://discourse.processing.org/t/convert-code-to-android/10788>\
**Category:** Processing for Android\
**Created:** [April 30, 2019, 4:18pm UTC](https://discourse.processing.org/t/convert-code-to-android/10788 "2019-04-30T16:18:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcd4u](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mcd4u](https://discourse.processing.org/u/mcd4u)\
**Post date:** [April 30, 2019, 4:18pm UTC](https://discourse.processing.org/t/convert-code-to-android/10788/1 "2019-04-30T16:18:46Z")

</div>

Hi,

Is it possible to convert/compile code written in an IDE (using processing’s jar) to an Android apk? Or do all of my classes need to be in .pde and then convert it?

Thanks!

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [May 1, 2019, 7:52am UTC](https://discourse.processing.org/t/convert-code-to-android/10788/2 "2019-05-01T07:52:44Z")

</div>

@mcd4u  
though i am not sure to understand what is the first solution you propose, the second one is the way to go - Yet “convert” is not exactly the word, because in a lot of cases you have to adapt or change your code.
