![]() ![]() So to make sure nothing is going to influence what I am doing, I created a sample scenario which recreates the conditions in the app I am working: Press me This is the time when the user presses the button: window. The user can close and come back to the initial page.The contents of the initial page in the webview are not lost.The second approach seems more reasonable. The first one is not feasible in our case: the URL would be a local url with file:// protocol pointing inside the application package itself and it wouldn’t be accessible from the outside world, or at least without implementing a webserver of some sort in our application. Constraint the Button to all 4 sides of the ConstraintLayout. ![]() Delete the Hello World TextView from activitymain.xml. Inside a new window in the same webview. Create a new Android project with the default Empty Activity.Problem: inside the webview we have a piece of code that calls window.open to make a popup containing some information. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |