Skip to content

Touchscreen input with SDL2 bootstrap #516

@JonAnCla

Description

@JonAnCla

Is this meant to work? I can get my app to start and it renders as expected, but then I can't interact with it...

See app startup log below.

If there is something I can contribute to help wire this up let me know (and please point to where to start if possible!)

Thanks

I/python  ( 2177): Android kivy bootstrap done. __name__ is __main__
I/python  ( 2177): AND: Ran string
I/python  ( 2177): Run user program, change dir and execute main.py
I/python  ( 2177): [INFO              ] [Logger      ] Record log in /data/data/org.hottwaj.testapp/files/.kivy/logs/kivy_15-12-09_1.txt
I/python  ( 2177): [INFO              ] [Kivy        ] v1.9.1-dev
I/python  ( 2177): [INFO              ] [Python      ] v2.7.2 (default, Dec  9 2015, 20:46:03) 
I/python  ( 2177): [GCC 4.8]
I/python  ( 2177): [INFO              ] [Factory     ] 179 symbols loaded
I/python  ( 2177): [INFO              ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
I/python  ( 2177): [INFO              ] [Text        ] Provider: sdl2
I/python  ( 2177): [INFO              ] [OSC         ] using <thread> for socket
I/python  ( 2177): [ERROR             ] [Input       ] AndroidJoystick is not supported by your version of linux
I/python  ( 2177): Traceback (most recent call last):
I/python  ( 2177):   File "/data/data/org.hottwaj.testapp/files/lib/python2.7/site-packages/kivy/input/providers/__init__.py", line 57, in <module>
I/python  ( 2177):     import kivy.input.providers.androidjoystick
I/python  ( 2177):   File "/data/data/org.hottwaj.testapp/files/lib/python2.7/site-packages/kivy/input/providers/androidjoystick.py", line 20, in <module>
I/python  ( 2177):     raise Exception('android lib not found.')
I/python  ( 2177): Exception: android lib not found.
I/python  ( 2177): [INFO              ] [Window      ] Provider: sdl2
I/python  ( 2177): [INFO              ] [GL          ] OpenGL version <OpenGL ES 3.0 V@100.0 AU@05.00.02.031.018 SKARAJGA_AU_LINUX_ANDROID_LA.BR.1.1.2_RB1.05.00.02.031.018+PATCH[ES]_msm8916_32_refs/tags/AU_LINUX_ANDROID_LA.BR.1.1.2_RB1.05.00.02.031.018__release_ENGG (GIT@I856e09677e)>
I/python  ( 2177): [INFO              ] [GL          ] OpenGL vendor <Qualcomm>
I/python  ( 2177): [INFO              ] [GL          ] OpenGL renderer <Adreno (TM) 306>
I/python  ( 2177): [INFO              ] [GL          ] OpenGL parsed version: 3, 0
I/python  ( 2177): [INFO              ] [GL          ] Texture max size <4096>
I/python  ( 2177): [INFO              ] [GL          ] Texture max units <16>
I/python  ( 2177): [INFO              ] [Window      ] auto add sdl2 input provider
I/python  ( 2177): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
I/python  ( 2177): [INFO              ] [GL          ] NPOT texture support is available
I/python  ( 2177): [WARNING           ] [Base        ] Unknown <android> provider
I/python  ( 2177): [INFO              ] [Base        ] Start application main loop

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions