2020 HDC,HarmonyOS 2.0終於揭開神秘面紗,咱的自主操作系統又往前邁了一大步,可喜可賀!
值此激動人心的時刻,相信很多有基礎的、沒基礎的開發者小伙伴早已經躍躍欲試,想對HarmonyOS一探究竟了,包括小編我在內!於是,勤勞的小編按捺不住激動到顫抖的手手,迫不及待整理了HarmonyOS應用開發的學習路線,伙伴們速來圍觀啦!
-
認識HarmonyOS
HarmonyOS這款“面向未來”的操作系統到底是什么、能帶來什么、有什么特征,看這里:
HarmonyOS 概述:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/harmonyos-overview-0000000000011903 -
了解HarmonyOS應用開發基礎知識
HarmonyOS的應用結構、配置文件、資源文件、數據管理、權限隱私管理等應用開發基礎知識,看這里:
開發基礎知識:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/basic-fundamentals-0000000000041611
這里要特別提醒大家,把Ability這個東東好好看看,是HarmonyOS應用的重要概念:
- 構建首個HarmonyOS應用
編寫一個簡單的HarmonyOS應用,快速體驗應用開發流程,看這里:
快速入門:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/start-overview-0000000000029602
在入門應用里,我們會使用到HUAWEI DevEco Studio這款IDE,它有從“環境搭建-工程管理-代碼編輯-編譯構建-應用運行-應用調試”的端到端指導,可以掃描一遍,會對HarmonyOS應用開發的整體流程有一個完整認識:
HUAWEI DevEco Studio使用指南:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/tools_overview-0000001053582387
- 設計開發一個屬於自己的HarmonyOS應用
當完成了入門,熟悉了IDE,我們可以試着設計開發一款自己的應用啦。智能穿戴?智慧屏?雖然現在支持的設備還不多,但已經可以試着玩起來啦:
智能穿戴:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/wearable-overview-0000001052065839
智慧屏:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/tv-overview-0000001051074836
車機:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ivi-overview-0000000000030225
還有一些具體主題的開發指導,大家可以按需翻閱,舉例如下,就不一一列舉啦:
UI:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ui-java-overview-0000000000500404
圖像:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/media-image-overview-0000000000031765
位置:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/device-location-overview-0000000000031896
好啦,目前小編就搜羅到這么多,等有新資源小編再來這里更新,希望對小伙伴們有幫助啊。有更多資源的小伙伴歡迎跟帖補充哈:)
HarmonyOS官方開發者論壇:
https://developer.huawei.com/consumer/cn/forum/blockdisplay?fid=0101303901040230869
原作者:kelly
