# Redraw() not working? How do I force draw?

**URL:** https://discourse.processing.org/t/redraw-not-working-how-do-i-force-draw/34596
**Category:** Processing for Android
**Created:** [January 12, 2022, 6:55am UTC](https://discourse.processing.org/t/redraw-not-working-how-do-i-force-draw/34596 "2022-01-12T06:55:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bigboss97](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bigboss97](https://discourse.processing.org/u/bigboss97)
#### Post date: [January 12, 2022, 6:55am UTC](https://discourse.processing.org/t/redraw-not-working-how-do-i-force-draw/34596/1 "2022-01-12T06:55:58Z")

</div>

I’m using Processing 3.5.4 in Android mode. I’ve an app where a routine is triggered by a mouse press. It takes a while to process. During the routine I want to draw some text information.  
My understanding, I can use redraw() to force screen update. Unfortunately, it didn’t work for me. Is that related to this?

> <https://github.com/processing/processing-android/issues/509>
>
> The example Demos/Tests/RedrawTest:
> 
> \`\`\`java
> void setup() {
> size(400, 400,… P2D);  
> noLoop();
> }
> 
> void draw() {
> background(255, 0, 0);
> ellipse(mouseX, mouseY, 100, 50);
> println("draw");  
> }
> 
> void mousePressed() {
> redraw();
> }
> \`\`\`
> 
> does not work. Same with Sensors/Accelerometer

I couldn’t get Processing 4 working on my PC. Is there another way?

---

<div class="post-metadata">

### Author: ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)
#### Post date: [January 12, 2022, 2:16pm UTC](https://discourse.processing.org/t/redraw-not-working-how-do-i-force-draw/34596/2 "2022-01-12T14:16:34Z")

</div>

> [@bigboss97](#):
>
> I couldn’t get Processing 4 working on my PC. Is there another way?

Android mode on Processing 4 is unavailable; you need to use 3.5.4 as you are doing. One alternative is Android Studio but in my experience is not as easy to use; but it does work.
