If your algorithms don't have too-complex dependencies, you can build them for Android using python-for-android by writing a recipe for them (
http://python-for-android.readthedocs.io/en/latest/recipes/). You can then take the built python distribution and add it to a python app (in practice: copy some libs and java code), or even more easily use a Service with the service_only bootstrap, which creates all the java code needed to run your Python code via a service.