Android App - How to call NDK library from Kivy ?

24 views
Skip to first unread message

tamanot...@gmail.com

unread,
May 14, 2018, 5:59:28 AM5/14/18
to Kivy users support
Hello,

Is it possible to call a method written with C++ and stored in the NDK from the kivy (python) code ?

Thank you

Pieter van der Meer

unread,
May 14, 2018, 6:54:12 AM5/14/18
to kivy-...@googlegroups.com
if NDK follows the normal dynamic library way of using binary code.. then, yes, you can use python's "ctypes" for this. otherwise, I wouldn't know. 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Pieter van der Meer
System engineer / Owner
Tasty Chips Electronics
www.tastychips.nl

Alexander Taylor

unread,
May 14, 2018, 12:39:17 PM5/14/18
to Kivy users support
You can use ctypes (or cython, or probably ffi) as normal on Android, as long as you make sure the library you want is compiled and bundled.
Reply all
Reply to author
Forward
0 new messages