[Q] How do you add WebView with web kit engine to an existing application.

I am developing an android application and wanted to add a Web View with the Web kit engine inside the application. I get errors when I add a new package inside the app activity folder, i.e. (package remote.mobile.droidapp; existing package name.
(package lewisham.ac.uk) new package I added for web view....... It gives me an option to move the existing app package to the new package with the url link I'm trying to create for web view. The code I added is:

WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();

I also got an error with (R.id.webview), id within this area of the code. Its giving me an option to Create field 'id' in type 'R' or Create constant 'id' in type 'R'. I am truly grateful for any help, thanks.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by maddison31
2 hours ago
Last post by arnaldo.bode
4 hours ago
Last post by virgie.wolf
2 hours ago
Last post by wiza.cleo
1 hour ago
Last post by jarrett85
4 hours ago