Coder Social home page Coder Social logo

Comments (10)

Lamelynx avatar Lamelynx commented on August 16, 2024 1

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.

Ayomideabdulazeez avatar Ayomideabdulazeez commented on August 16, 2024

Yes I'm also getting this error

from godotgetimageplugin-android.

granitrocky avatar granitrocky commented on August 16, 2024

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.

leoyanis avatar leoyanis commented on August 16, 2024

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.

djordjije avatar djordjije commented on August 16, 2024

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.

leoyanis avatar leoyanis commented on August 16, 2024

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.

djordjije avatar djordjije commented on August 16, 2024

Thank you! I will give this a shot and hopefully can build on top of that.

from godotgetimageplugin-android.

djordjije avatar djordjije commented on August 16, 2024

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.

leoyanis avatar leoyanis commented on August 16, 2024

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.

Lamelynx avatar Lamelynx commented on August 16, 2024

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)

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.