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

Creating notifications in ASE

Author: racheesingh
Published? false
FormatLanguage: WikiFormat


You need to create a notification using python in Android Scripting Environment


ASE provides notify method to create notifications.


  • Add a new python script in your ASE app. Lets name it notification.py.

  • Lets add in this tiny piece of code to notification.py
import android

droid = android.Android()

droid.notify('My First Notification!', 'Hello World!')

  • Press the menu button and choose 'Save and Run' from the menu.
  • And this is how it looks: