我如何通过某一活动的具体类别名称发起一项 and活动?
1. 通过类别名称开展roid活动
原标题:Launching an android activity via a class name
最佳回答
根据您的基点活动(通过选择菜单点击):
public boolean onOptionsItemSelected(MenuItem item)
{
Intent intent = new Intent (this, NewActivity.class);
startActivityForResult (intent, SOME_ACTIVITY_ID);
}
希望帮助!
问题回答
暂无回答
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding