Home How to link python code to android application developed in java?
Reply: 1

How to link python code to android application developed in java?

Jorvis
1#
Jorvis Published in 2018-01-13 06:37:05Z

I have to develop an Android application which makes use of machine learning algorithms at the back end. Now, for developing the Android app, I use Java and for implementing the machine learning algorithms I use Python.

My question is how to link the Python code to an Android app written in Java. That is supposed my Python code generates an output, now how to send this data to an Android application?

MartinsB
2#
MartinsB Reply to 2018-01-13 09:39:45Z

If you have access to python from java android app. You can write python output in file, then in java code read that file. Or if python output is in web, you will need some web service that provides json/xml output, and then in java code you should call that web service.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300116 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO