如何知道android应用是否为混合应用? [英] How to know if an android app is a hybrid app?

查看:112
本文介绍了如何知道android应用是否为混合应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有办法弄清楚特定的Android应用程序是如何构建的?(使用流星,离子,自然反应,cordova/phonegap或纯自然反应的框架)

Is there a way to figure out how a specific Android application was built? (using frameworks like meteor, ionic, react native, cordova/phonegap or just pure native)

有没有办法告诉仅查看应用程序",还是需要反编译apk?如果是这样,您怎么知道?

Are there ways to tell "by just looking at the app", or would one need to decompile the apk? If so, how would you know?

(很明显,总是可以问作者,但这不好玩!)

(obviously, one can always ask the author, but that's not fun!)

推荐答案

通过查看APK文件的内容(实际上没有反编译任何内容),很容易找出来.

By looking to the contents of the APK file (not actually decompiling anything) it's quite easy to figure out.

一个网络应用程序将包含许多HTML文件和javascript文件,例如 cordova.js .

A web app will contain a lot of HTML files and javascript files like cordova.js.

Xamarin应用程序将包含Mono本机库和一个包含DLL文件的程序集"文件夹.

A Xamarin app will contain Mono native libraries and an "assemblies" folder containing DLL files.

在设备上直观地观察到,如果您注意到缺少标准小部件,具有非标准尺寸的UI元素,非标准行为(例如没有波纹效果或处于按下状态),通常可以判断应用程序是否未使用本机组件不需要其他代码即可获得这些小部件,没有进度条的块"中缓慢加载屏幕,缓慢的应用启动等.但这不是一门精确的科学,某些框架使用了本机组件.

Visually on the device, you can usually tell if an app is not using native components if you notice a lack of standard widgets, UI elements with non-standard sizes, non-standard behavior like absence of ripple effects or pressed states in widgets that require no additional code to get those, slow loading of screens in "chunks" with no progress bars, slow app startup, etc. But it's not exact science and some frameworks make use of native components.

这篇关于如何知道android应用是否为混合应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆