Android open youtube in fullscreen mode
Hi,
I am developing an app for Android using Titanium SDK 1.7.3, and Android 2.2 and 3.0.
I need to show a video in Youtube. Since we cant open the youtube video in the app,like in iOS, I found out how to open it in the youtube app. (If anyone needs that code, I will be happy to help you). I am doing this using an Intent to open the youtube app. Which is all very great!
But the client now wants it in full screen mode in the youtube app - which you can do if you click on the button in the youtube app. But they want the app to launch the app in full screen mode.
Makes sense, so the user doesnt start clicking other links on the youtube app, and go away from our app.
Does anyone know how to do that?
Thanks!
1 Answer
-
Hi,
I am not so sure on this solution but you can try, For this you have to make change in the android manifest file. The activity corresponding to the video intent just add this below line in it.
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
and check that it works or not.
Regards
Nikunj