Mister M
Mister M

Reputation: 1669

Open external app intent in full screen?

From my app, I can open YouTube app like this

        PackageManager pm = MainActivity.this.getPackageManager();
        Intent intent = pm.getLaunchIntentForPackage("com.google.android.youtube.tv");
        intent.addCategory(Intent.CATEGORY_LAUNCHER);
        MainActivity.this.startActivity(intent);

This works fine (opens youtube app), but there are actionbar and topbar present. I need to open this youtube app from my app in full screen mode (nothing visible besides youtube app). Is it possible to do this programmatically?

Upvotes: 1

Views: 192

Answers (2)

user4571931
user4571931

Reputation:

You cannot open other application by such kind of configuration.

Upvotes: 0

AskNilesh
AskNilesh

Reputation: 69689

I need to open this youtube app from my app in full screen mode (nothing visible besides youtube app).

AFAIK It is not possible

Is it possible to do this programatically?

Simple answer NOT possible You can not control other app from your app

For more information read Interacting with Other Apps

Upvotes: 2

Related Questions