Answer the question
In order to leave comments, you need to log in
How to run QPython and pass a script as a parameter?
I want to run scripts on an Android smartphone, well, actually I asked a question.
This is how QPython3 opens
package com.mycompany.myapp;
import android.app.*;
import android.os.*;
import android.content.*;
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.hipipal.qpy3");
Answer the question
In order to leave comments, you need to log in
Just as described in the documentation. Well, actually, I gave the answer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question