Posts in "Android" category

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 4

 Jan. 20, 2017    0 comments 

This is the 4th article in my series about building and using binary Python modules in Kodi on Android. In the previous article I described how to import a binary Python module in Kodi for Android. In this article I will briefly cover 2 C++ libraries used for writing binary Python modules: Boost.Python and Pybind11. (...)

Read post

 AndroidBoostC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 3

 Nov. 18, 2016    0 comments 

This is the 3rd article in my series about building and using binary Python modules in Kodi on Android. In theĀ previous article I described how to build a simple "Hello World!" binary module. In this article I will tell you how to use binary Python/C extension modules in Kodi for Android. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 2

 Nov. 17, 2016    0 comments 

This is the 2nd article in my series about building and using binary Python modules in Kodi on Android. In the previous article I described prerequisites for building such modules. In this article I will cover building a simple Python/C extension module for Python in Kodi for Android. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 1

 Nov. 12, 2016    0 comments 

Important WARNING!

On recent Android 7 firmwares for some devices, including my Samsung Galaxy Tab A 10.1, the magic workaround that allows to load binary Python modules from Kodi addons no longer works. This means that currently there is no known way to import binary modules in Python addons on such devices. Because of this the following series of articles now has only historical value since there is a strong chance that you won't be able to use your compiled binary Python module(s).


This is the 1st article in my series about building and using binary Python modules in Kodi on Android. In this article I will cover prerequisites needed to build a Python/C extension module for Python in Kodi for Android. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Introduction

 Nov. 11, 2016    0 comments 

This is an introduction to my series of articles that describe how to build binary Python modules for Kodi addons on Android platform.

Kodi mediacenter includes a full-featured (well, almost smile) CPython interpreter for creating plugins. CPython, which is the reference Python implementation, in its turn provides the Python/C API that allows to create a binary Python extension modules in C language. These module are used, for example, to speed-up some CPU-intensive tasks, because Python, being an interpreted language, is relatively slow. (...)

Read post

 AndroidCC++KodiPluginPython