Skip to content

Remove deprecated PythonActivity from android/camera#525

Open
ghost wants to merge 1 commit into
masterfrom
unknown repository
Open

Remove deprecated PythonActivity from android/camera#525
ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Nov 24, 2019

Copy link
Copy Markdown

Fixes #520 #510

PythonActivity = autoclass('org.renpy.android.PythonActivity')

The plyer's Android camera module had an unused and deprecated PythonActivity. Removing it avoids crashing.

@tomgold182

Copy link
Copy Markdown

@franccisco i have checked your fix. it not crushing about the deprecated import anymore,
but now it crashes with this error:
Class not found 'org/jnius/NativeInvocationHandler

@ghost ghost changed the title Fix for Android camera module Remove deprecated PythonActivity from android/camera Jan 23, 2020

@Fak3 Fak3 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jnius.jnius.JavaException: Class not found b'org/renpy/android/PythonActivity' when trying to use the takePicture function

2 participants