Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Integrating Python Script for Android App
#1
Hello all,

I am trying to integrate a python script into an Android App. I have found there are many ways to go about this. I started with, and am still trying to go with google's Flutter app dev kit. I am using Android Studio v 3.3. I have found a python plugin that will allow me to launch an interactive command line console, and if I put the py script in that folder it will find it and run it. Working with that plugin (called Chaqopy) presents its own challenges and also is in straight Java. I have a good GUI going in flutter and I am thinking of just converting the python script to Java or C++ code to re-use it directly in Android Studio.
The python script uses libraries such as socket. Would I have to convert the library as well?

Does anyone have any idea off the top of their head which would be the best way for me to go? If I can launch it in the Java/Plugin project, maybe I should just start there, does that sound easiest?

Thanks
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Developing Python with OpenCV into an Android App AviationFreak 1 104 Sep-29-2019, 08:55 AM
Last Post: wavic
  Integrating shango app with desktop GUI app Man_from_India 0 281 Aug-09-2019, 01:49 AM
Last Post: Man_from_India
  Where is usually located the python interpreter on android devices? anddontyoucomebacknomore 1 221 Jul-03-2019, 06:32 PM
Last Post: metulburr
  Package python script which has different libraries as a single executable or script tej7gandhi 1 287 May-11-2019, 08:12 PM
Last Post: keames
  Made a simple script for android (really simple) but it is not running anddontyoucomebacknomore 2 346 Mar-06-2019, 12:19 AM
Last Post: anddontyoucomebacknomore
  How to fill a web form integrating with excel praveen_Akepati 0 565 Oct-27-2018, 06:23 AM
Last Post: praveen_Akepati
  integrating ironpython application with normal C# wpf braveYug 2 2,806 Nov-09-2017, 06:38 AM
Last Post: braveYug
  Check Python version from inside script? Run Pythons script in v2 compatibility mode? pstein 2 5,268 Jul-07-2017, 08:59 AM
Last Post: snippsat
  Cant pass corect variables to python script in bash script neradp 3 2,414 Nov-05-2016, 01:26 AM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)