public class AndroidPlatform extends Python.Platform
Platform for Chaquopy on Android.
| Constructor and Description | 
|---|
| AndroidPlatform(Context context) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getPath()Returns the value to assign to  PYTHONPATH, ornullto leave it unset. | 
| void | onStart(Python py)Called after Python is started. | 
public AndroidPlatform(Context context)
The given context must be an Activity, Service or Application object from your app. The context is used only for initialization, and does not need to remain valid after Python.start() is called.
public String getPath()
Python.PlatformReturns the value to assign to PYTHONPATH, or null to leave it unset. The default implementation returns null.
getPath in class Python.Platformpublic void onStart(Python py)
Python.PlatformCalled after Python is started. The default implementation does nothing.
onStart in class Python.Platform