Hi,I'm a beginner in android development and I would appreciate anyone's help with my issue.
I have been trying to convert a progressive web app to android app,
I have tried doing so by using frameworks like cordova,phonegap,ionic,...but I couldn't handle server side code and got no results!
after I got familiar with WebView class in android,I used that class and pass my web app url to getUrl() method in it and used other methods to handle scrollbar and back button.the app works properly but it takes some time to load data.
but the problem is: I have to add three tabs to the bottom of my layout and even when I have set the width and height of the webview to wrap_content,it fills all the parent layout's height and width
and overlaps with the tabs,which is not very user friendly.
Can anyone please tell me whether this is a good idea to use webview for converting web app to native app or I should try those frameworks again?
Is it possible to have all native features in an app which has used webview class?
thanks for your answer,that was helpful.
but I have some difficulties with webView
the speed of data loading is really awful,I have searched for this problem in many sites,and did try all the possible answers ,but I got no results!
it still takes too much time to load the web pages inside my app
The Webview is mostly the engine that's behind the Chrome browser - if Chrome is significantly faster than webview, that would be something to look into. If they're about the same, you might need to speed up your web site in general.