# 移动应用开发

**移动应用开发**是创建在智能手机和平板电脑等移动设备上运行的应用程序的软件工程活动。移动应用可以定义为“一种可在移动平台上执行（运行）的软件应用（即手持式商用现成计算平台，带或不带无线连接），或一种为移动平台量身定制但在服务器上执行的基于Web的软件应用。”<sup>[1](https://www.sciencedirect.com/science/article/pii/S0164121218301638)</sup> 该领域涵盖设计、编码、测试、安全和通过应用商店分发，并受到使其区别于桌面软件的种种约束的塑造：设备和平台碎片化、有限的硬件资源，以及由商店管控的发布流程。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup><sup> • </sup><sup>[3](https://arxiv.org/abs/1801.06267)</sup>

| 关键事实 | 详情 |
|---|---|
| 应用类别 | 原生应用在设备的操作系统上运行；基于Web的应用在设备的浏览器中运行；混合应用是“原生封装”的Web应用。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup> |
| 跨平台方法 | 框架涵盖模型驱动、混合、解释型和交叉编译等方法，性能研究中每种方法都与原生开发进行了对比。<sup>[4](https://link.springer.com/article/10.1007/s10664-020-09827-6)</sup> |
| 混合机制 | 联系人列表、蓝牙、GPS和网络连接等设备功能通过JavaScript API暴露，这些API充当WebView组件与Java或Objective-C等底层原生代码之间的外部函数接口。<sup>[4](https://link.springer.com/article/10.1007/s10664-020-09827-6)</sup> |
| 主要挑战 | 多平台开发、缺乏健壮的监控和测试工具，以及运行缓慢或功能贫乏的模拟器，是从业者报告的主要挑战。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup> |
| 发布约束 | 应用商店审核给发布带来滞后和不确定性，因此Facebook和Netflix等大型组织投资于定制的移动发布策略，而非他们对Web应用采用的持续交付。<sup>[5](https://arxiv.org/abs/1910.08876)</sup> |
| 平台工具链 | Apple开发以Xcode和Swift为中心，通过TestFlight和App Store分发；Android开发通过带版本的平台发布（如Android 16，其行为变更与targetSdkVersion挂钩）进行记录。<sup>[6](https://developer.apple.com/documentation/TechnologyOverviews/tools-and-distribution)</sup><sup> • </sup><sup>[7](https://developer.android.com/about/versions/16/summary?hl=en)</sup> |

## 历史

最早的移动应用可追溯到20世纪90年代中期，受限于简陋的处理器和用户界面。摩托罗拉DynaTac 8000X于1983年作为首款商用移动电话首次上市，通话时间约30分钟，零售价约4，000美元；它可拨打电话并包含一个简单的联系人应用。早期应用专注于街机游戏、铃声编辑器、计算器和日历等基本功能，软件功能由原始设备制造商设计。<sup>[8](https://ops.fhwa.dot.gov/publications/fhwahop16023/ch2.htm)</sup>

随着硬件进步，制造商转向互联网来提供定制内容，同时限制第三方对专有软件和硬件的访问。由于早期移动技术在屏幕尺寸、带宽和处理能力方面的限制而无法与互联网直接兼容，制造商开发了[无线应用协议](https://www.edgepedia.org/zh/wireless-application-protocol)（WAP）。一项后续梳理区分了智能手机应用发展的五个阶段：基础应用、无线应用协议、专有平台的出现、平台战争，以及高级多平台功能的出现。<sup>[8](https://ops.fhwa.dot.gov/publications/fhwahop16023/ch2.htm)</sup>

现代应用经济随着iPhone和App Store的出现而初具规模，两者确立了手持设备不必在功能上僵化的理念。初代iPhone起售价500美元，而首款运行Android的手机T-Mobile G1两年合约价为150美元。<sup>[9](https://time.com/4837176/iphone-10th-anniversary/)</sup> 到2013年，Apple的App Store上架约80万款应用，Android Market约65万款，此外还有规模较小的Windows Marketplace和BlackBerry AppWorld目录。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup>

## 开发方法

**原生开发**使用[Android SDK](https://www.edgepedia.org/zh/android-sdk)或Apple工具等平台专属工具包为每个平台构建单独的应用。在Apple平台上，开发从集成开发环境Xcode开始，代码用Swift、Objective-C、C++或其他语言编写；构建在真实或模拟设备上运行，并通过TestFlight或App Store分发。<sup>[6](https://developer.apple.com/documentation/TechnologyOverviews/tools-and-distribution)</sup><sup> • </sup><sup>[10](https://developer.apple.com/documentation/Xcode)</sup> 一项针对开发者的调查发现，他们主要对构建原生应用感兴趣，因为原生代码可以使用相机、传感器、加速度计和地理定位等设备功能。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup>

**跨平台开发**让一个代码库服务于多个平台，避免为每个生态系统从头重新开发同一应用。实证工作比较了用模型驱动、混合、解释型、交叉编译和原生框架构建的产物，衡量了每种方法相对于原生代码引入的性能开销。<sup>[4](https://link.springer.com/article/10.1007/s10664-020-09827-6)</sup> 混合应用本质上是将Web视图包装到容器中，使其看起来像普通应用；2023年的一项调查指出，此类基于HTML5的应用在不同用户之间可能表现不同，因为它们的行为可能被大幅改变。<sup>[11](https://arxiv.org/abs/2301.00602)</sup> 比较研究还报告了工具和输出大小方面的差异；一项研究发现，在所比较的方法中，原生应用的二进制包最大，而Flutter和Xamarin被评为Windows上较为用户友好的IDE之一。<sup>[12](https://citrenz.org.nz/citrenz/conferences/2021/pdf/5.%20CITRENZ%202021%20Paper%20by%20Dongliang%20You.pdf)</sup>

**模型驱动开发（MDD）**从抽象模型生成应用。一项涵盖1，042篇同行评审论文的系统综述分析了用于移动应用的MDD技术、工具和评估方案，并识别了其优势、局限和空白。<sup>[13](https://www.sciencedirect.com/science/article/pii/S0950584921001488)</sup>

## 流程与方法论

通用软件工程过程模型不能原封不动地移植到移动领域。一项关于过程模型的系统文献综述发现，移动应用开发模型的研究未能与实践同步推进，并呼吁开展工作以解决移动特有的约束，如在多个平台上测试应用、用户参与发布规划以及持续部署。<sup>[1](https://www.sciencedirect.com/science/article/pii/S0164121218301638)</sup> 一项映射研究得出了类似结论：尽管已提出若干方法论，但大多数不适合移动应用生命周期，因此需要对现有方法论进行调整和合并。<sup>[14](https://ieeexplore.ieee.org/document/7836006/)</sup>

作为回应，已有专门的方法论被提出。MethApp4Mob是一种移动应用开发的方法论方法，包含8个阶段：协商；规划；设计；实现与Alpha测试；Beta测试与反馈分析；推广；应用发布；以及发布与维护，连同优化[软件开发过程](https://www.edgepedia.org/zh/software-development-process)的机制。<sup>[15](https://www.sciencedirect.com/science/article/pii/S0167642323000680)</sup> 在设计方面，Apple的应用设计指南描述了一个发现、原型、验证和迭代的循环，其中原型是应用的简单、可测试版本，通常无需编写代码即可创建。<sup>[16](https://developer.apple.com/tutorials/develop-in-swift/explore-the-app-design-cycle)</sup>

## 测试与质量

测试是该领域的一项决定性难题。移动应用开发涉及设备碎片化和快速演进的平台，这使得测试变得困难；研究人员提出了围绕持续、演进和大规模（CEL）三项原则组织的框架，用于自动化移动应用测试。<sup>[3](https://arxiv.org/abs/1801.06267)</sup> 在一项基于对来自9家公司的12名资深移动开发者访谈和对188名受访者调查的扎根理论研究中，测试成为一个重大挑战：当前框架在不同平台上未能提供同等水平的支持，测试工具不支持移动性、位置服务、传感器或不同的手势和输入。开发者还分别对待同一应用的每个平台版本，并手动检查功能在跨平台间是否得以保留。<sup>[2](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)</sup> 基于扩展有限状态机的[基于模型的测试](https://www.edgepedia.org/zh/model-based-testing)已在一项针对QuizUp Android应用的实证研究中被证明能够有效且高效地测试移动应用。<sup>[17](https://arxiv.org/abs/1606.00503)</sup>

## 安全

移动应用的安全指南集中于可移植软件本身，而非服务器后端或设备配置。荷兰国家网络安全中心（NCSC）发布了《移动应用IT安全指南》，涵盖传输加密、证书固定、应用加固、对其他应用的[最小权限原则](https://www.edgepedia.org/zh/principle-of-least-privilege)、输入标准化和验证以及保持应用更新等措施；该指南按高、中、低优先级分类进行加权。<sup>[18](https://english.ncsc.nl/binaries/ncsc-en/documenten/publications/2019/juni/01/whitepaper-it-security-guidelines-for-mobile-apps/Whitepaper_IT_Security_Guidelines_for_Mobile_Apps.pdf)</sup> 具体措施包括通过移除不必要的接口和访问权限来限制应用的攻击面，尽可能将加密密钥存储在移动设备之外，以及检查第三方库和应用是否存在漏洞和隐藏功能。<sup>[18](https://english.ncsc.nl/binaries/ncsc-en/documenten/publications/2019/juni/01/whitepaper-it-security-guidelines-for-mobile-apps/Whitepaper_IT_Security_Guidelines_for_Mobile_Apps.pdf)</sup>

特定领域的应用提出了额外要求。在移动健康（mHealth）领域，一项针对开发者的实证研究识别了构建安全应用的8项关键挑战、最佳实践的分类法，以及影响安全开发的6项激励因素，其中应用产生和消费的健康关键数据的安全是核心关切。<sup>[19](https://arxiv.org/abs/2008.03034)</sup> 平台发布还增加了开发者必须适应的安全控制；例如，[Android 16](https://www.edgepedia.org/zh/android-16)引入了针对Intent重定向攻击的默认加固、针对以该版本为目标的应用的更安全的intent解析，以及访问本地网络所需的权限。<sup>[7](https://developer.android.com/about/versions/16/summary?hl=en)</sup>

## 分发

分发通过平台管控的商店进行。在Apple平台上，构建必须准备好所需信息，如唯一的包ID、构建字符串、应用图标和启动屏幕，然后才能上传到App Store Connect，而这些信息中的大部分在通过TestFlight或App Store分发后不可编辑。<sup>[20](https://developer.apple.com/documentation/Xcode/preparing-your-app-for-distribution?changes=l_4%2Cl_4%2Cl_4%2Cl_4)</sup> 需要加入Apple开发者计划才能通过TestFlight或App Store分发给Beta测试者。<sup>[21](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases)</sup> 在Android上，Google已宣布，从2026年9月起，经过认证的Android设备的用户将只能安装注册在已通过身份验证的开发者名下的应用。<sup>[22](https://developer.android.com/developer-verification/assets/pdfs/updates-to-play-console-for-android-developer-verification.pdf)</sup>

商店审核流程塑造了发布工程。那些使用持续交付每天或每小时发布Web应用的大型软件组织不得不为其移动应用大量投资于定制发布策略，因为审核带来滞后和不确定性，而应用的发布策略是影响其持续成功的因素之一。<sup>[5](https://arxiv.org/abs/1910.08876)</sup>

## 无障碍与当前趋势

无障碍指南将既有的Web标准应用于应用：香港的《移动应用无障碍手册》以[万维网联盟](https://www.edgepedia.org/zh/world-wide-web-consortium)颁布的《Web内容无障碍指南2.2》（WCAG 2.2）为基础提出其要求，并结合当地残障团体的反馈，且区分在设备浏览器中启动的Web应用与已安装的应用。<sup>[23](https://www.digitalpolicy.gov.hk/en/our_work/digital_government/digital_inclusion/accessibility/promulgating_resources/maahandbook/doc/mobile_app_handbook.pdf)</sup>

工具正转向AI辅助。Gartner的2025年应用开发市场份额分析报告称，AI驱动的平台通过生命周期整合和自动化编码跑赢了市场，而提供自主测试和自修复的AI原生平台在2025年成为关键机遇。<sup>[24](https://www.gartner.com/en/documents/7827317)</sup> 在硬件方面，形态继续多样化：折叠屏手机约在2019年开始出现，并从2021年起获得显著发展势头，需要平台做出适配，如折叠与展开状态之间的应用连续性以及在大内屏上增强的多任务处理。<sup>[25](https://www.androidcentral.com/apps-software/android-os/the-evolution-of-android-decades-of-transformation)</sup>

## References

1. [Software engineering process models for mobile app development: A systematic literature review, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0164121218301638)
2. [Real Challenges in Mobile App Development (Erfani Joorabchi, Mesbah, Kruchten, University of British Columbia)](https://people.ece.ubc.ca/amesbah/resources/papers/mona-esem13.pdf)
3. [Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mobile App Testing, arXiv](https://arxiv.org/abs/1801.06267)
4. [An empirical investigation of performance overhead in cross-platform mobile development frameworks, Empirical Software Engineering](https://link.springer.com/article/10.1007/s10664-020-09827-6)
5. [Release Practices for Mobile Apps: What do Users and Developers Think?, arXiv](https://arxiv.org/abs/1910.08876)
6. [Tools and distribution, Apple Developer Documentation](https://developer.apple.com/documentation/TechnologyOverviews/tools-and-distribution)
7. [Android 16 features and changes list, Android Developers](https://developer.android.com/about/versions/16/summary?hl=en)
8. [Smartphone Applications to Influence Travel Choices: Chapter 2, Federal Highway Administration](https://ops.fhwa.dot.gov/publications/fhwahop16023/ch2.htm)
9. [This Is Why the iPhone Upended the Tech Industry, TIME](https://time.com/4837176/iphone-10th-anniversary/)
10. [Xcode, Apple Developer Documentation](https://developer.apple.com/documentation/Xcode)
11. [Software engineering for mobile applications, a survey on challenges and solutions, arXiv](https://arxiv.org/abs/2301.00602)
12. [A Comparative Study of Cross-platform Mobile (You, CITRENZ 2021)](https://citrenz.org.nz/citrenz/conferences/2021/pdf/5.%20CITRENZ%202021%20Paper%20by%20Dongliang%20You.pdf)
13. [Developing Mobile Applications Via Model Driven Development: A Systematic Literature Review, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0950584921001488)
14. [Mobile application development approaches: A systematic mapping study, IEEE Xplore](https://ieeexplore.ieee.org/document/7836006/)
15. [A methodological approach for mobile applications development: MethApp4Mob, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0167642323000680)
16. [Explore the app design cycle, Apple Developer Documentation](https://developer.apple.com/tutorials/develop-in-swift/explore-the-app-design-cycle)
17. [Model-based Testing of Mobile Systems: An Empirical Study on QuizUp Android App, arXiv](https://arxiv.org/abs/1606.00503)
18. [IT Security Guidelines for Mobile Apps, Netherlands National Cyber Security Centre](https://english.ncsc.nl/binaries/ncsc-en/documenten/publications/2019/juni/01/whitepaper-it-security-guidelines-for-mobile-apps/Whitepaper_IT_Security_Guidelines_for_Mobile_Apps.pdf)
19. [An Empirical Study on Developing Secure Mobile Health Apps: The Developer's Perspective, arXiv](https://arxiv.org/abs/2008.03034)
20. [Preparing your app for distribution, Apple Developer Documentation](https://developer.apple.com/documentation/Xcode/preparing-your-app-for-distribution?changes=l_4%2Cl_4%2Cl_4%2Cl_4)
21. [Distributing your app for beta testing and releases, Apple Developer Documentation](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases)
22. [Updates to Play Console for Android developer verification, Android Developers](https://developer.android.com/developer-verification/assets/pdfs/updates-to-play-console-for-android-developer-verification.pdf)
23. [Mobile Application Accessibility Handbook, Digital Policy Office of Hong Kong](https://www.digitalpolicy.gov.hk/en/our_work/digital_government/digital_inclusion/accessibility/promulgating_resources/maahandbook/doc/mobile_app_handbook.pdf)
24. [Market Share: Application Development, Worldwide, 2025, Gartner](https://www.gartner.com/en/documents/7827317)
25. [The evolution of Android: Decades of transformation, Android Central](https://www.androidcentral.com/apps-software/android-os/the-evolution-of-android-decades-of-transformation)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Development methodologies and project management

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/mobile-app-development

English original: https://www.edgepedia.org/mobile-app-development
