Development Team/Almanac/sugar.activity.activity: Difference between revisions
| 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 = | ||