Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Making a Toast in Python (Using Android Scripting Environment)

In Chapter: Other Programming Languages
Author: Rachee Singh ('racheesingh')
Published? false
FormatLanguage: WikiFormat


You need to make a Toast using python (Using ASE)


By importing the android library on the python interpreter, we can access the makeToast method


  • The python interpreter is running now. Type the following lines of python code on the interpreter, one by one:
<source lang='python'>
import android
droid = android.Android()
droid.makeToast("Hello, Android!")