# About processing for android

**URL:** <https://discourse.processing.org/t/about-processing-for-android/26565>\
**Category:** Processing for Android\
**Created:** [December 28, 2020, 6:14pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565 "2020-12-28T18:14:55Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 28, 2020, 6:14pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/1 "2020-12-28T18:14:55Z")

</div>

Hii to everyone,I am Bhavya Jain 2nd year student at IIT(ISM),Dhanbad  
I am an intermediate android developer(good front end developer). Since i made all my projects in android X I have an keen interest for processing for android migrating to android X project. Please let me know how can i start my contribution to the project mentioned. Also please let me know how i can solve issues from level to level (basic,intermediate level of issues). For advanced issues I need to level up myself by contributing in this project, so that i will be able to solve advance issues also. I am very interested to work in this project it will help me a lot and I will try my best to contribute more and more in this project.  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 28, 2020, 7:12pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/2 "2020-12-28T19:12:28Z")

</div>

Hi @Bhavya22  
Are you aware of some work regarding migration to android X project already done? See [this link here](https://github.com/processing/processing-android/issues/560).  
Maybe you want to interact with the people there.  
And welcome to the forum. 😃

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 29, 2020, 11:53am UTC](https://discourse.processing.org/t/about-processing-for-android/26565/3 "2020-12-29T11:53:02Z")

</div>

Thank you sir. Now for the project all i was thinking is, it is a project which has code before the androidx library is used(According to the issues i have read). So all i am thinking about is to convert that code which is compatible with androidX like firstly android.

support.v7 to androidX library etc. Although i don’t know how to make these libraries but how to use the existing library that i know.  
Please guide me if I am thinking in a different way.  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 29, 2020, 12:44pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/4 "2020-12-29T12:44:04Z")

</div>

> [@Bhavya22](#):
>
> Please guide me if I am thinking in a different way.

I am afraid that this is too advanced for me. I found Processing for Android because I needed (for physical reasons) to program on Android devices themselves, and I found an app called APDE that runs Processing for Android on the device itself. As time went on I needed more sophisticated widgets that can be created programmatically. So I [maintain a repo](https://github.com/EmmanuelPil/Android-java-code-utilities-widgets-for-Processing-for-Android) with simple examples for that. I think it would be nice to have an app similar to “UI Designer” that works in conjunction with the app “AIDE”, and creates widgets/views quite easily by selecting and placing them.

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 29, 2020, 4:35pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/5 "2020-12-29T16:35:58Z")

</div>

Now this think I am unable to understand is processing for android is not related to app thats is made by android studio or something equivalent to it

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 29, 2020, 4:47pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/6 "2020-12-29T16:47:04Z")

</div>

Processing for Android can be used as a graphics library in Android Studio.

There are two main ways to combine Processing for Android with Gradle and  
Android Studio:

1. Exporting a Processing sketch as a Gradle project from the PDE.  
This project can be compiled from the command line using the  
Gradle Wrapper tool ([https://docs.gradle.org/current/](https://docs.gradle.org/current/)  
userguide/gradle\_wrapper.html) that is included with  
the exported project. This project can also be imported into  
Android Studio.
2. Importing the processing-core package into an existing or  
new Android Studio project and using it to access all the core  
Processing’s API for drawing and interaction. This makes  
possible to write portions of a larger Android app with custom  
Processing-based views, and to integrate them with Android  
native views and UI.

APDE is an android app that uses this library

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 29, 2020, 6:02pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/7 "2020-12-29T18:02:04Z")

</div>

So basically it is a library which can be used in android studio project

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 29, 2020, 6:08pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/8 "2020-12-29T18:08:33Z")

</div>

As an Android developer what are the things that in which I can contribute.  
And like it’s my mention in GSOC-2020( just for reference) in technologies an Android tag so what actually an Android developer worked on 2020 contributions(in GSOC).  
Please let me know about this  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 29, 2020, 6:21pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/9 "2020-12-29T18:21:51Z")

</div>

I don’t know if you already have seen [this Project List](https://github.com/processing/processing/wiki/Project-List) for GSOC, just to get an idea what the interests are. The P4A part is near the bottom.

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 30, 2020, 4:53am UTC](https://discourse.processing.org/t/about-processing-for-android/26565/10 "2020-12-30T04:53:09Z")

</div>

Yes I have seen the project list and by seeing processing for android skills required. I thought that I can also contribute my best to this project.

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 31, 2020, 2:20pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/11 "2020-12-31T14:20:29Z")

</div>

Still, I would suggest an implementation of an app described above in conjunction with APDE which requires AndroidX. That would be great! See [this link](https://github.com/Calsign/APDE/wiki/Contributing-to-APDE).

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [December 31, 2020, 4:31pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/12 "2020-12-31T16:31:21Z")

</div>

Ok I will try this. But I want to know why I am unable to run processing android repo in android studio because it is showing build error due to transformAction

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [December 31, 2020, 4:45pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/13 "2020-12-31T16:45:02Z")

</div>

> [@Bhavya22](#):
>
> But I want to know why I am unable to run processing android repo in android studio because it is showing build error due to transformAction

I don’t have much experience with Android Studio.  
@akenaton could you assist?

---

<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:** [December 31, 2020, 4:48pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/14 "2020-12-31T16:48:03Z")

</div>

@Bhavya22 === can you explain what you have done and show the error code withAS (and what example frome the repo you use)

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [January 3, 2021, 6:09am UTC](https://discourse.processing.org/t/about-processing-for-android/26565/15 "2021-01-03T06:09:01Z")

</div>

i just clone the repo to android studio and when it start building the project I got gradle error.  
Unable to load class ‘org.gradle.api.artifacts.transform.TransformAction’.  
this is the error i am facing please help me to solve this

---

<div class="post-metadata">

**Author:** ![Bhavya22](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Bhavya22](https://discourse.processing.org/u/Bhavya22)\
**Post date:** [January 3, 2021, 6:10am UTC](https://discourse.processing.org/t/about-processing-for-android/26565/16 "2021-01-03T06:10:51Z")

</div>

processing android repo

---

<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:** [January 3, 2021, 2:51pm UTC](https://discourse.processing.org/t/about-processing-for-android/26565/17 "2021-01-03T14:51:22Z")

</div>

@Bhavya22 ===

-Take an app made with Processing (&& android) the most simple app but tested and running  
-export it with P5 to android project  
-put the created folder where you want- -  
with AS create a project “from existing code” giving path to this folder  
after that verify that P5 core.jar is inside your libraries (AS)  
what happens?
