-
Notifications
You must be signed in to change notification settings - Fork 523
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
Problem with Android API 23 #573
Comments
I am not sure but I don't think 9c will work with API 23. I successfully use API 22 and NDK 10c using python 2. Based on this link sounds like maybe you could get away with 10C or 10e as well. You might give it a try. https://stackoverflow.com/questions/34124668/ndk-for-the-android-6-0-api |
This issue got fixed in python-for-android |
I can access this class using something like this: from jnius import autoclass, cast
from plyer.platforms.android import activity
"..."
print("Testing midi")
MidiManager = autoclass('android.media.midi.MidiManager')
# Context = autoclass('android.app.Application')
Context = autoclass('android.content.Context')
service = activity.getSystemService(Context.MIDI_SERVICE)
m = cast('android.media.midi.MidiManager', service)
print(m.getDevices()) Output is:
But I see no one wrote a wrapper for it. If someone could share it would be wonderful. |
I need to use the package android.media.midi introduced with API Level 23. So I wrote a JAVA class containing the statement:
import android.media.midi.MidiManager
and I added the file to android.add_src in buildozer.spec
android.add_src = ./jlib/MidiOutFacade.java
Furthermore I also changed this section:
It seems reasonable because it still use api 19, but when I changed also androd.api = 23 I've got a more weird error (complete log):
I also tried to set a more recent NDK, but buildozer isn't able to download it.
Did anyone ever try to use api level 23?
The text was updated successfully, but these errors were encountered: