下面的代码我使用 group 在 TabHost 上的 tabcontent 中显示活动:
File file = new File(FilePath);
String mimetype = mime_type(FileName);
Intent it = new Intent(Intent.ACTION_VIEW);
it.setDataAndType(Uri.fromFile(file), mimetype);
it.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
Window w = group.getLocalActivityManager().startActivity("Docaument", it);
View view = w.getDecorView();
group.setContentView(view);
我想让文档阅读器应用程序的活动放置在标签内容中。
但不是全屏。
我该怎么做?