Comment on page
A component that can launch an activity using the
Activities that can be launched include:
- Starting another AppyBuilder app. To do so, first find out the class of the other application by downloading the source code and using a file explorer or unzip utility to find a file named "youngandroidproject/project.properties".The first line of the file will start with "main=" and be followed by the class name; for example,
main=com.appybuilder.pmathijssen.MaterialDesignColorPalette.Screen1.To make your
ActivityStarterlaunch this application, set the following properties:
ActivityPackageto the class name, dropping the last component (for example,
ActivityClassto the entire class name (for example,
- Starting the camera application by setting the following properties:
- Performing web search. Assuming the term you want to search for is "vampire" (feel free to substitute your own choice), set the properties to:
- Opening a browser to a specified web page. Assuming the page you want to go to is "www.facebook.com" (feel free to substitute your own choice), set the properties to:
Returns the extra key that will be passed to the activity. DEPRECATED: New code should use Extras property instead.
Returns the extra value that will be passed to the activity. DEPRECATED: New code should use Extras property instead.
Event raised if this ActivityStarter returns because the activity was canceled.
Event raised after this ActivityStarter returns.
Returns the name of the activity that corresponds to this ActivityStarter, or an empty string if no corresponding activity can be found.
Start the activity corresponding to this ActivityStarter.