Git Product home page Git Product logo

android-java-code-utilities-widgets-for-processing-for-android's People

Contributors

emmanuelpil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-java-code-utilities-widgets-for-processing-for-android's Issues

Request: Multiline edit

As a Dialog or (better!) as a (transparent) overlay of your sketch display.

Great stuff!

Lots of tnx

Your brother in APDE.

Remark on FileExplorer

Hi again.

I have been (trying) pretty much the same, with mixed results...

  • Did you notice (and can explain)that the sketch is terminating, regardless of the selection?
    It still does the println() stuff, but then just exits - no Exception, normalLy..
    On a ' valiid' selection (just a few lines of .txt), it tends to throw
java.lang.RuntimeException: Buffer not large enough for pixels
	at android.graphics.Bitmap.copyPixelsFromBuffer(Bitmap.java:796)
	at processing.a2d.PGraphicsAndroid2D.restoreSurface(PGraphicsAndroid2D.java:2102)
	at processing.a2d.PGraphicsAndroid2D.checkCanvas(PGraphicsAndroid2D.java:217)
	at processing.a2d.PGraphicsAndroid2D.beginDraw(PGraphicsAndroid2D.java:225)
	at processing.core.PApplet.handleDraw(PApplet.java:1782)
	at processing.core.PSurfaceNone.callDraw(PSurfaceNone.java:471)
	at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:503)

Some tinkering later:

Seems to be at least partially related to your use of settings/fullscreen:

  • removing settings() and
  • putting fullScreen(P3D) into setup(). P2D seems to be even more buggy and inefficient than PSpplet/PGraphics...alas.

keeps the App running.

Actually too much, as each mousePressed triggers the activity sgain..easy to fix by checking click area...

And now I will have to find out why my app is exiting on a non-RESULT_OK...hoped I could make you figure that out ;-)

And I had different plans for the weekend than fighting Android battles I cant win, too.

So far
Have a good week.

PS: Putting somrthin into draw() seems to help, too

void draw() {
  background(0xff000000|frameCount);
  text("Click on screen", width/2, height/3);
  //if (img_loaded)  image(img, 0, 0);
}

void mousePressed() {  
  if(mouseY<height-height/8)
    searchFile();
}

First! Tnx and hint

Hello,
first let me thank you for providing these examples, wish I had found them a year ago.

I am just ~~~stealing~~~adapting eg. Popupmenu and Clipboard stuff...great!

Just out of interest I looked at your way of handling the dreaded back button.
I handle this by

@Override void onBackPressed() 
....
handledBackPressed=false;
// to terminate ( or leave alone/ set to true if you want to continue)
...

Both ways work....

Tnx again, and have a look at my repo forU

Video player

Error: file not found, although file m.mp4 is in my project folder
Screenshot_2023-09-25-10-13-05-506_com calsignlabs apde

About the android.permission.BLUETOOTH

Hi, thanks for sharing. I am trying to connect the Bluetooth. However, it always shows "java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10255 nor current process has android.permission.BLUETOOTH. I was wondering how can I give Bluetooth permission to the APP?
"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.