String ACTION_AIRPLANE_MODE_CHANGED Broadcast Action: The user has switched the phone into or out of Airplane Mode. String ACTION_ALL_APPS Activity Action: List all available applications Input: Nothing. String ACTION_ANSWER Activity Action: Handle a…
1.从google搜索内容 Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH);intent.putExtra(SearchManager.QUERY,”searchString”)startActivity(intent); 2.浏览网页 Uri uri = Uri.parse(“http://www.baidu.com”);Intent it = new Intent(Intent.ACTION_V…
七.Action动作类(一般用**Action结尾) 1.编写动作类的三种方式 动作类不实现.也不继承任何的接口和类.即动作类是一个非常普通的JavaBean. public class HelloAction1{ } b.动作类实现com.opensymphony.xwork2.Action接口.可以使用常量 Action接口: public static final String SUCCESS = "success"; 成功时转向的视图 public static final…