问题
I would like to know how any mobile app is native or html5. Is there any software or website that tells that. How can i detect if an app is native or html5?
回答1:
You can unzip the .apk with any tool like winzip or winrar. If it's an html5-based app, you will see .html, .js and .css files in the /res/assets folder.
To get the .apk, pull it from your phone with adb. You might need root for this though.
回答2:
Native apps often use web views for rendering purposes - these are termed hybrid apps. The use Java to figure out what to display (cf a web server) and then use a web view to render the display. Thus the presence of HTML/CSS/JS files cannot be used to definitely determine that its an html5 app.
As @Tim says - unless you dig very, very deeply you can't be 100% sure. Probably not even then.
来源:https://stackoverflow.com/questions/10017341/how-to-determine-if-an-app-is-native-or-html5