# How can i use web browser widget in android

**URL:** <https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265>\
**Category:** Mobile\
**Tags:** unreal-engine, web-browser, Android, question\
**Created:** [December 2, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265 "2015-12-02T14:10:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_40c58835a26836bda6a70b136658d460](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_40c58835a26836bda6a70b136658d460](https://forums.unrealengine.com/u/Anonymous_40c58835a26836bda6a70b136658d460)\
**Post date:** [December 2, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265/1 "2015-12-02T14:10:17Z")

</div>

i used ue 4.10 version

i will use web browser widget

in ue4 editor it’s work

but in android app shut down with error log

how can i use web browser widget in android ?

/// below error log

12-02 10:18:14.421: D/UE4(11593): [2015.12.02-01.18.14:420][0]LogBlueprintUserMessages: [Web\_C\_0]  
12-02 10:18:14.423: W/cr.BindingManager(11593): Cannot call determinedVisibility() - never saw a connection for the pid: 11593  
12-02 10:18:14.428: D/AndroidRuntime(11593): Shutting down VM  
12-02 10:18:14.429: E/AndroidRuntime(11593): FATAL EXCEPTION: main  
12-02 10:18:14.429: E/AndroidRuntime(11593): Process: com.YourCompany.MyProject, PID: 11593  
12-02 10:18:14.429: E/AndroidRuntime(11593): java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.view.WindowManager$LayoutParams  
12-02 10:18:14.429: E/AndroidRuntime(11593): at com.epicgames.ue4.WebViewControl$3.run(WebViewControl.java:80)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at android.os.Handler.handleCallback(Handler.java:739)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at android.os.Handler.dispatchMessage(Handler.java:95)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at android.os.Looper.loop(Looper.java:148)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at android.app.ActivityThread.main(ActivityThread.java:5417)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at java.lang.reflect.Method.invoke(Native Method)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  
12-02 10:18:14.429: E/AndroidRuntime(11593): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)  
12-02 10:18:14.430: W/ActivityManager(14968): Force finishing activity com.YourCompany.MyProject/com.epicgames.ue4.GameActivity  
12-02 10:18:14.489: I/OpenGLRenderer(14968): Initialized EGL, version 1.4  
12-02 10:18:14.949: W/ActivityManager(14968): Activity pause timeout for ActivityRecord{c50dc33 u0 com.YourCompany.MyProject/com.epicgames.ue4.GameActivity t88 f}

---

<div class="post-metadata">

**Author:** ![ganbaa\_elmer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ganbaa_elmer/32/476547_2.png) [@ganbaa\_elmer](https://forums.unrealengine.com/u/ganbaa_elmer)\
**Post date:** [September 7, 2022, 1:21pm UTC](https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265/2 "2022-09-07T13:21:19Z")

</div>

now 2022 its not get error but its totally black.  
because on android web browser contents in webbrowser can’t render to world scene screen.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/3/f638f307754fb8621db80dbd90a89e55be7319c3.png)

Epic devs not want to fix this issue over 7 years. sad 😢

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/a/f3a02118773a4f60bc427fec2420252dadbcd1e6.jpeg)

please some one fix:  
Engine\Source\Runtime\Web Browser\Private\Android\Android Web Browser Widget

please fix unreal web browser plugin

---

<div class="post-metadata">

**Author:** ![ChrixBed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrixbed/32/702407_2.png) [@ChrixBed](https://forums.unrealengine.com/u/ChrixBed)\
**Post date:** [January 5, 2023, 7:33pm UTC](https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265/3 "2023-01-05T19:33:56Z")

</div>

Is there anyone who has taken a bite on that issue yet?

The only change I noticed in the file Engine\Source\Runtime\WebBrowser\Private\AndroidAndroidWebBrowserWidget.cpp between 4.27.2 and UE5.1 is related to VideoTexture.

 ![2023-01-05_14-42-36](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/0/fe079d79a9b0a5938d4bb9b6685f22bc5ce5ee97.png)

---

<div class="post-metadata">

**Author:** ![ChrixBed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrixbed/32/702407_2.png) [@ChrixBed](https://forums.unrealengine.com/u/ChrixBed)\
**Post date:** [January 5, 2023, 10:49pm UTC](https://forums.unrealengine.com/t/how-can-i-use-web-browser-widget-in-android/340265/4 "2023-01-05T22:49:53Z")

</div>

Just found that the bug seems to be fixed and will be released for Unreal Engine 5.2 :  
[3D WebViewer shows white screen on Oculus 2](https://issues.unrealengine.com/issue/UE-150021)

Note: I test it on UE5.1 and is still a bug
