1

是否可以从选项卡小部件打开 Android 的默认通讯录或拨号器?

相关代码(目前不工作):

intent = new Intent(Intent.ACTION_DIAL);

// Initialize a TabSpec for each tab and add it to the TabHost
spec = tabHost.newTabSpec("artists").setIndicator("Dialler",
                  null)
              .setContent(intent);
tabHost.addTab(spec);
4

0 回答 0