How to run Python code in Android App?

preview_player
Показать описание


Complete source code and other details/ steps of this video are posted in the below link:

However, the main Java code is copied below also for reference:

public class MainActivity extends AppCompatActivity {

private TextView textViewOutput;

@Override
protected void onCreate(Bundle savedInstanceState) {

return insets;
});
}

public void buttonPythonRun(View view){
.callAttr("add_numbers", 10, 25);
}
}

--
Рекомендации по теме
Комментарии
Автор

at 03:22 you say that just after copy paste the "ndk" part and you "sync" however mine has an error at this point: "Unresolved reference: ndk"

TheRealDrWho
Автор

Thank you so muchhhh
can u also make a video on how to integrate RFID reader info into the app, also text to speech and voice to text

SreeLemiArts
Автор

Is it possible for my existing (Vuforia/Unity) android app, to spawn a python-based application?

My python application would do some data processing, then communicate to my Vuforia apk (using websockets) to display or move the 3d object based on camera/user inputs?

Should I use Flet/Flutter, BeeWare, or Kivy/KivyMd?

bennguyen
Автор

what if i want to install some libraries python

thoaikieu
Автор

Can u share all Gradle Files. I have lots of errors in the program. May be it can help us sir. Ty <3

erseayd
join shbcf.ru