1

以下のコードでは、グループを使用して、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);

ドキュメント リーダー アプリのアクティビティを tabcontent 内に配置したいと考えています。
しかし、フルスクリーンではありません。
どうすればいいですか?

4

0 に答える 0