2020年11月4日 星期三

Use the ActivityStarter action component

 Example:

1. Start the Camera

Action: android.intent.action.MAIN ActivityPackage: com.google.android.camera ActivityClass: com.android.camera.Camera


2. Launch a Web search

To query, such as "hokkaidocamping"


Action: android.intent.action.WEB_SEARCH ExtraKey: query ExtraValue: hokkaidocamping ActivityPackage: com.google.android.providers.enhancedgooglesearch ActivityClass: com.google.android.providers.enhancedgooglesearch.Launcher


3. Open the browser to a Web page

Action: android.intent.action.VIEW DataUri: http://news.google.com


Resources:   https://appinventor.mit.edu/explore/ai2/activity-starter.html


沒有留言: