Changes

Jump to navigation Jump to search
Line 40: Line 40:  
         #print out the name of this activity
 
         #print out the name of this activity
 
         print activity.get_bundle_name()
 
         print activity.get_bundle_name()
 +
 +
=== How do I get the version number of my activity? ===
 +
 +
        #print out the version number of this activity
 +
        print os.environ['SUGAR_BUNDLE_VERSION']
    
= Class: Activity =
 
= Class: Activity =

Navigation menu