com.xiaopy.python.android.PyApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chaquopy_java Show documentation
Show all versions of chaquopy_java Show documentation
The Python SDK for Android
package com.xiaopy.python.android;
import android.app.Application;
import com.xiaopy.python.*;
/** Application subclass which automatically starts Python. */
public class PyApplication extends Application {
/** Starts Python.
*
* If you override this method you must call through to the superclass
* implementation.
*/
@Override
public void onCreate() {
super.onCreate();
Python.start(new AndroidPlatform(this));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy