I’m facing issues with implementing WebView in Android. I’ve followed all the details provided by various programmers carefully. I’ve even tried implementing the example provided on the Android Developers website but to no avail.
No matter how many times I repeat implementing it, I either get a white screen as the output, or the emulator says that the application exited forcefully (Force Close). In some cases, the .apk never installs in the emulator to pop up the result, and in a few cases, the emulator itself closes.
My code never throws an error. I even enable JavaScript and I make sure that I use the
*<uses-permission android:name="android.permission.INTERNET"/>*
Can anyone provide me with an unambiguous working code? Kindly help.
Thanks in advance.
Use the code as