-
-
Notifications
You must be signed in to change notification settings - Fork 297
android studio example crashes at startup #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Dear Processing team, |
ive found an alternative, I had to resolve the permissions issue in processing to get it to work on android 10 so now no need for android studio |
@paulgoux @eoao the latest release of the mode and core library has been updated to support Android 10 and the AndroidX packages, please confirm if this issue has been solved by the update. Thanks! |
Just create a new project in android studio, added implementation 'org.p5android: processing-core: 4.2.0' PApplet shown in red
|
Hi @GENTEK05 There's a helpful explanation @ranaaditya has mentioned in #640 for the kind of issue that you are facing. I hope this resolves the issue. |
Android Studio examples in the tutorials probably need to be revised/updated. They were written some years ago. |
I agree some updates are needed to keep this part of processing relevant. As much as a may disagree with the direction that people want processing to head in, I also see the potential to create a great fast prototype and deployment platform unrestricted by Android studio. I am in the process of creating a library to add simple basic functionality, out of the box, ie keyboard text input, gui, with sliders etc and user request prompts. I understand you can use context and to access some android functions but again, it feels like thats a big departure away from processing. This library will allow users to code to android using processing without having to worry about any android specific code. |
@paulgoux thanks for your comments. By direction you mean what's exposed through the core library or the functionality of the Android mode itself? The idea of your library sounds interesting, keep us posted! |
@paulgoux this seems to be interesting idea, please keep us posted about the development ! |
I tried updating some tutorial code to the android website sources here if you haven't reviewed it yet @codeanticode |
Here is the start of my project. There is more to come. Here is read write and permissions in android. Currently completed: Camera access file write do bear in mind that it might not yet appear in the fileWriter.jar as I'm migrating some old code, to a new fresh project. Android has a lot of native code and I will also be adding that in as the Android native look and feel will suit them more. https://github.com/EmmanuelPil/Android-java-code-utilities-widgets-for-Processing-for-Android https://github.com/paulgoux/fileWriter-Android/tree/main/fileWriter |
Sorry I didnt reply. Yes I've seen it and am making full use of it! |
I will look at it soon, thank you! |
Reorganized the project structure in the main branch, to follow more closely the Android standard. It should be enough to import the root folder of the repo to be able to run the sample apps and debug/develop the core, VR, and AR libraries. |
The example provided on the android processing site does not work.
https://android.processing.org/tutorials/android_studio/index.html
I think it might have something to do with permissions. Any help would be great, I have tried things for the last week and nothings worked.
I have even tried the solutions in the migrating to androidX issue request and am pointing the program to processing build 4.11
The text was updated successfully, but these errors were encountered: