在Android上打开tabcontent中的文档
下面是我使用group在TabHost上的tabcontent中显示活动的代码:在Android上打开tabcontent中的文档,android,android-tabhost,Android,Android Tabhost,下面是我使用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);
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);
我想让文档阅读器应用程序的活动放在选项卡内容中。但不是全屏。
我怎么做