Comments (10)
This is now resolved.
Updated the plugin to Godot plugin version 2 architecture and from now on the plugin supports only Godot 4.2+.
from godotgetimageplugin-android.
Yes I'm also getting this error
from godotgetimageplugin-android.
I haven't tested this plugin yet, but I was able to get it to compile by swapping out the godot.context
objects in the code to activity?.applicationContext?
from godotgetimageplugin-android.
I managed to make it work. I did a custom compile for godot 4.2 + and i changed the context stuff to something else chatgpt told me. Ask chatgpt and it will work haha
from godotgetimageplugin-android.
I managed to make it work. I did a custom compile for godot 4.2 + and i changed the context stuff to something else chatgpt told me. Ask chatgpt and it will work haha
Would you be able to provide a zip file of the code or .aar / gdap that worked for you? I am trying to implement this as well, but I am still very new to the plugins.
from godotgetimageplugin-android.
I managed to make it work. I did a custom compile for godot 4.2 + and i changed the context stuff to something else chatgpt told me. Ask chatgpt and it will work haha
Would you be able to provide a zip file of the code or .aar / gdap that worked for you? I am trying to implement this as well, but I am still very new to the plugins.
Yeah sure here you go.
plugin.zip
from godotgetimageplugin-android.
Thank you! I will give this a shot and hopefully can build on top of that.
from godotgetimageplugin-android.
I managed to make it work. I did a custom compile for godot 4.2 + and i changed the context stuff to something else chatgpt told me. Ask chatgpt and it will work haha
Would you be able to provide a zip file of the code or .aar / gdap that worked for you? I am trying to implement this as well, but I am still very new to the plugins.
Yeah sure here you go. plugin.zip
I can confirm that this worked on my end. I was able to use it with the example project in the repo. You did a fantastic job. Is there a way to contact you further regarding this? I wanted to learn how to do these adjustments like for this plugin. And I don't know where to start.
I could actually learn a lot by looking at the changes that you made to the original code. If you would be able to provide a zip of the code changes, that would be amazing.
from godotgetimageplugin-android.
I managed to make it work. I did a custom compile for godot 4.2 + and i changed the context stuff to something else chatgpt told me. Ask chatgpt and it will work haha
Would you be able to provide a zip file of the code or .aar / gdap that worked for you? I am trying to implement this as well, but I am still very new to the plugins.
Yeah sure here you go. plugin.zip
I can confirm that this worked on my end. I was able to use it with the example project in the repo. You did a fantastic job. Is there a way to contact you further regarding this? I wanted to learn how to do these adjustments like for this plugin. And I don't know where to start.
I could actually learn a lot by looking at the changes that you made to the original code. If you would be able to provide a zip of the code changes, that would be amazing.
Hey man im sorry but chatgpt did all the work for me. I dont know much about kotlin and yeah.
Unfortunately i accidentally deleted the working code and i didnt bother trying to debug the original again so yeah.
from godotgetimageplugin-android.
You probably need to change the object godot.context to getActivity() .
Try tro replace all occurences of context with getActivity() (or create a class property private Activity activity
and add line this.activity = getActivity()
in the init {
function.
Then use this.activity
instead of godot.context?
)
from godotgetimageplugin-android.
Related Issues (18)
- Trying to use project in 3.2.3 HOT 6
- App crashes HOT 6
- Video and QRcode HOT 6
- camera orientation and setting front/back camera HOT 4
- Issues upgrading project from Godot 3.2.3 to 3.4.4 HOT 6
- Issues with godot 4 HOT 3
- Android 13 HOT 45
- android 12 not work HOT 5
- Demo project showing Could not load plugin ? HOT 5
- Png file transparency turns to black HOT 6
- Question HOT 3
- 3.2.4 Support HOT 3
- Multi Image gallery selection does not work HOT 1
- Causing some incompatibility with Godot-Android-Share-Plugin HOT 5
- Auto Capture HOT 4
- Problems with camera orientation HOT 3
- Select front camera as default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godotgetimageplugin-android.