Creating an iOS library with Kivy?

81 views
Skip to first unread message

Quang Nguyen

unread,
Jul 7, 2016, 7:53:48 PM7/7/16
to Kivy users support
Hey everyone,

I currently have Python 2.7 code which was developed without any additional modules or dependencies, just some core Python 2.7 modules (sqlite3, itertools, operator). I now want to wrap the functions into a library that I can import into iOS apps. I need to be able to call a function from the iOS app and get the output value of that function. The input and output arguments will be JSON strings and I would need to incorporate an SQLite database file into the library too.

I see that the Kivy-iOS supports applications with a UI but is it possible to wrap the generated code into an iOS library? Preferably an .a file or something else that I can import to an iOS app project.
Message has been deleted

ZenCODE

unread,
Jul 8, 2016, 4:18:40 AM7/8/16
to Kivy users support
Yes, you can use c files and compile them using a recipe (see kivy-ios) or use PyObjus to wrap Objective C calls and libraries...


Hope that helps? Cheers
Reply all
Reply to author
Forward
0 new messages