<acronym id="s8ci2"><small id="s8ci2"></small></acronym>
<rt id="s8ci2"></rt><rt id="s8ci2"><optgroup id="s8ci2"></optgroup></rt>
<acronym id="s8ci2"></acronym>
<acronym id="s8ci2"><center id="s8ci2"></center></acronym>
0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

鴻蒙開發(Harmonyos兼容與Harmonyos適配)

jf_46214456 ? 來源:jf_46214456 ? 作者:jf_46214456 ? 2024-01-26 17:49 ? 次閱讀

布局的實現

Layout_ability_main.xml布局:

< ?xml version="1.0" encoding="utf-8"? >
< DirectionalLayout
    xmlns:ohos="http://schemas.huawei.com/res/ohos"
    ohos:height="match_parent"
    ohos:width="match_parent"
    ohos:alignment="center"
    ohos:orientation="vertical" >

    < TextField
        ohos:id="$+id:content"
        ohos:height="0vp"
        ohos:weight="1"
        ohos:width="match_parent"
        ohos:enabled="false"
        ohos:padding="20vp"
        ohos:text="0"
        ohos:text_alignment="center"
        ohos:text_size="30"/ >

    < ScrollView
        ohos:height="0vp"
        ohos:weight="1.8"
        ohos:width="match_parent" >

        < DirectionalLayout
            ohos:height="match_content"
            ohos:width="match_parent"
            ohos:alignment="horizontal_center"
            ohos:orientation="vertical" >

            < DirectionalLayout
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:orientation="horizontal" >

                

                

                

                

            < /DirectionalLayout >

            < DirectionalLayout
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:orientation="horizontal" >

                

                

                

                

            < /DirectionalLayout >

            < DirectionalLayout
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:orientation="horizontal" >

                

                

                

                

            < /DirectionalLayout >

            < DirectionalLayout
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:orientation="horizontal" >

                

                

                

                

            < /DirectionalLayout >

            < DirectionalLayout
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:orientation="horizontal" >


                

                

                

            < /DirectionalLayout >

        < /DirectionalLayout >
    < /ScrollView >
< /DirectionalLayout >
< /DirectionalLayout >
< /DirectionalLayout >

background_button1.xml背景樣式:

< ?xml version="1.0" encoding="utf-8"? >
< shape
    xmlns:ohos="http://schemas.huawei.com/res/ohos"
    ohos:shape="rectangle" >
    < solid ohos:color="#CCF1F1F1"/ >
    < corners ohos:radius="20vp"/ >
< /shape >
< /shape >
< /shape >

background_button2.xml背景樣式:

< shape
    xmlns:ohos="http://schemas.huawei.com/res/ohos"
    ohos:shape="rectangle" >
    < solid ohos:color="#FFE4F2FE"/ >
    < corners ohos:radius="20vp"/ >
< /shape >
< /shape >
< /shape >

background_button3.xml背景樣式:

< ?xml version="1.0" encoding="utf-8"? >
< shape
    xmlns:ohos="http://schemas.huawei.com/res/ohos"
    ohos:shape="rectangle" >
    < solid ohos:color="#FF007CFD"/ >
    < corners ohos:radius="20vp"/ >
< /shape >
< /shape >
< /shape >

嗯,編寫布局頁面不難、稍微難點的是電視、車載設備、Pad、手機、手表五個端的屏幕適配。

界面編寫完,發現各個端的屏幕高度還沒有做適配,一開始認為AndroidHarmonyOSJava語言都可以編寫,HarmonyOS也可以使用Android的相關框架,便想著如何在HarmonyOS上去使用Android的屏幕適配方案,在用了今日頭條的屏幕適配方案開刀后,發現壓根行不通,今日頭條的屏幕適配方案用的單位是dp,這個單位在HarmonyOS上并沒有,只有類似的vp,看來還是我太天真了。

Android屏幕單位有dp、in、mm、pt、px、sp,HarmonOS屏幕單位有fp、px、vp。

其中兩者相同的單位是px,Android的dp與HarmonOS的vp都是為各自設備量身打造的單位,若想要搞一個兩者都可以用的屏幕適配框架,也許,只能從px找突破口。今日頭條的屏幕適配方案用的單位雖然是HarmonyOS所沒有的dp,但其實它最終都是要拿dp來轉換成px的喔~

Java代碼邏輯

繼承AbilitySlice的MainAbilitySlice類:

public class MainAbilitySlice extends AbilitySlice implements Component.ClickedListener {
    private Utils utils = Utils.getInstance();
    private TextField content;
    private String formula = "";

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent(ResourceTable.Layout_ability_main);
        initView();
        highlyAdaptive();
    }

    /**
     * 各個按鈕點擊事件
     * @param component
     */
    @Override
    public void onClick(Component component) {
        switch (component.getId()) {
            case ResourceTable.Id_one:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "1");
                else formula = "1";
                break;
            case ResourceTable.Id_two:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "2");
                else formula = "2";
                break;
            case ResourceTable.Id_three:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "3");
                else formula = "3";
                break;
            case ResourceTable.Id_four:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "4");
                else formula = "4";
                break;
            case ResourceTable.Id_five:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "5");
                else formula = "5";
                break;
            case ResourceTable.Id_six:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "6");
                else formula = "6";
                break;
            case ResourceTable.Id_seven:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "7");
                else formula = "7";
                break;
            case ResourceTable.Id_eight:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "8");
                else formula = "8";
                break;
            case ResourceTable.Id_nine:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "9");
                else formula = "9";
                break;
            case ResourceTable.Id_zero:
                if (utils.isNumStart(formula)) formula = utils.isZero(formula, "0");
                else formula = "0";
                break;
            case ResourceTable.Id_reset:
                formula = "0";
                break;
            case ResourceTable.Id_except:
                if (utils.isNumEnd(formula)) formula += "÷";
                else if (!formula.substring(formula.length() - 1, formula.length()).equals("."))
                    formula = formula.substring(0, formula.length() - 1) + "÷";
                break;
            case ResourceTable.Id_ride:
                formula = utils.isNum(formula, "x");
                break;
            case ResourceTable.Id_percentage:
                formula = utils.isNum(formula, "%");
                break;
            case ResourceTable.Id_decimal_point:
                if (utils.isNumEnd(formula) && !utils.isDecimals(formula)) formula += ".";
                break;
            case ResourceTable.Id_delete:
                if (!formula.equals("") && !formula.equals("0")) {
                    formula = formula.substring(0, formula.length() - 1);
                    if (formula.equals("")) formula = "0";
                }
                break;
            case ResourceTable.Id_reduce:
                if (utils.isNumEnd(formula)) formula += "-";
                else formula = formula.substring(0, formula.length() - 1) + "-";
                break;
            case ResourceTable.Id_add:
                if (utils.isNumEnd(formula)) formula += "+";
                else formula =
                        formula.substring(0, formula.length() - 1) + "+";
                break;
            case ResourceTable.Id_equal:
                equal();
                break;
            default:
                break;
        }
        if (component.getId() != ResourceTable.Id_equal) {
            content.setText(formula);
        }
    }

    private void equal() {
        if (formula.equals("")) {
            // 如果沒有輸入公式
            utils.toast(this, "還沒輸入公式呢");
            return;
        } else if (!utils.isNumEnd(formula)) {
            // 如果公式的最后一位數非數字
            utils.toast(this, "計算器表示沒見過這樣的數學公式,運算不出來");
            return;
        }
        String[] split;
        if (!utils.isContains(formula, ".")) {
            // 計算整數
            if (utils.isContains(formula, "-")) {
                // 減法
                split = formula.split("-");
                if (split.length > 1)
                    result((Integer.parseInt(split[0]) + Integer.parseInt(split[1])) + "");
            } else if (utils.isContains(formula, "+")) {
                // 加法
                split = formula.split("+");
                if (split.length > 1)
                    result((Integer.parseInt(split[0]) + Integer.parseInt(split[1])) + "");
            } else if (utils.isContains(formula, "x")) {
                // 乘法
                split = formula.split("x");
                if (split.length > 1)
                    result((Integer.parseInt(split[0]) + Integer.parseInt(split[1])) + "");
            } else if (utils.isContains(formula, "÷")) {
                // 除法
                split = formula.split("÷");
                if (split.length > 1)
                    result((Integer.parseInt(split[0]) + Integer.parseInt(split[1])) + "");
            } else if (utils.isContains(formula, "%")) {
                // 取余
                split = formula.split("%");
                if (split.length > 1)
                    result((Integer.parseInt(split[0]) + Integer.parseInt(split[1])) + "");
            }
        } else {
            // 計算小數
            if (utils.isContains(formula, "-")) {
                // 減法
                split = formula.split("-");
                if (split.length > 1)
                    result((Double.parseDouble(split[0]) - Double.parseDouble(split[1])) + "");
            } else if (utils.isContains(formula, "+")) {
                // 加法
                split = formula.split("+");
                if (split.length > 1)
                    result((Double.parseDouble(split[0]) - Double.parseDouble(split[1])) + "");
            } else if (utils.isContains(formula, "x")) {
                // 乘法
                split = formula.split("x");
                if (split.length > 1)
                    result((Double.parseDouble(split[0]) - Double.parseDouble(split[1])) + "");
            } else if (utils.isContains(formula, "÷")) {
                // 除法`
                split = formula.split("÷");
                if (split.length > 1)
                    result((Double.parseDouble(split[0]) - Double.parseDouble(split[1])) + "");
            } else if (utils.isContains(formula, "%")) {
                // 取余
                split = formula.split("%");
                if (split.length > 1)
                    result((Double.parseDouble(split[0]) - Double.parseDouble(split[1])) + "");
            }
        }
    }

    private void result(String value) {
        formula = value;
        content.setText(value);
    }

    /**
     * 根據不同設備調整高度
     */
    private void highlyAdaptive() {
        if (DeviceInfo.getDeviceType().equals("phone")) {
            // 手機設備
            ComponentContainer.LayoutConfig layoutConfig = new ComponentContainer.LayoutConfig();
            layoutConfig.height = 1100;
            content.setLayoutConfig(layoutConfig);
        } else if (DeviceInfo.getDeviceType().equals("tablet")) {
            // 平板設備
            ComponentContainer.LayoutConfig layoutConfig = new ComponentContainer.LayoutConfig();
            layoutConfig.height = 1200;
            content.setLayoutConfig(layoutConfig);
        } else if (DeviceInfo.getDeviceType().equals("tv")) {
            // TV設備
            ComponentContainer.LayoutConfig layoutConfig = new ComponentContainer.LayoutConfig();
            layoutConfig.height = 160;
            content.setLayoutConfig(layoutConfig);
        } else if (DeviceInfo.getDeviceType().equals("wearable")) {
            // 可穿戴設備
            ComponentContainer.LayoutConfig layoutConfig = new ComponentContainer.LayoutConfig();
            layoutConfig.height = 150;
            content.setLayoutConfig(layoutConfig);
        } else if (DeviceInfo.getDeviceType().equals("car")) {
            // 車載設備
            ComponentContainer.LayoutConfig layoutConfig = new ComponentContainer.LayoutConfig();
            layoutConfig.height = 500;
            content.setLayoutConfig(layoutConfig);
        }
    }

    /**
     * 初始化xml布局控件
     */
    private void initView() {
        content = (TextField) findComponentById(ResourceTable.Id_content);
        ((Button) findComponentById(ResourceTable.Id_one)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_two)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_three)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_four)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_five)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_six)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_seven)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_eight)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_nine)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_zero)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_reset)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_except)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_ride)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_delete)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_reduce)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_add)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_equal)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_decimal_point)).setClickedListener(this);
        ((Button) findComponentById(ResourceTable.Id_percentage)).setClickedListener(this);
    }
}
}
}

由于在編寫xml UI時屏幕適配只能做到寬度適配或高度適配,沒辦法在一個xml界面同時適配寬度與高度,為此寫了一個highlyAdaptive方法處理xml沒能完成的高度適配,方法通過DeviceInfo.getDeviceType()來得到設備的類型,根據不同的設備去修改它的高度,也算是實現了高度適配。

Utils類:

public class Utils {
    private static Utils utils = new Utils();
    private static ToastDialog toastDialog;
    private String[] symbol = new String[]{"+", "-", "x", "÷", "%"};

    public static Utils getInstance() {
        return utils;
    }

    public void toast(Context context, String text) {
        if (toastDialog == null) {
            toastDialog = new ToastDialog(context);
        }
        toastDialog.setAlignment(LayoutAlignment.CENTER);
        toastDialog.setText(text);
        toastDialog.show();
    }

    /**
     * 判斷最后一位是否數字
     * @param content
     */
    public boolean isNumber(String content){
        char[] chars = content.substring(content.length() - 1, content.length()).toCharArray();
        return Character.isDigit(chars[0]);
    }

    /**
     * 判斷是否是小數
     */
    public boolean isDecimals(String str) {
        if (isDecimal(str)) {
            for (String s : symbol) {
                if (isContains(str, s)) {
                    String[] split = str.split(s);
                    if (split != null){
                        if (!isDecimal(split[split.length - 1])) {
                            return false;
                        } else {
                            return true;
                        }
                    }
                }
            }
            return true;
        }
        return false;
    }

    /**
     * 判斷一位數是否是小數
     */
    public boolean isDecimal(String str) {
        if (isContains(str, "."))
            return true;
        else
            return false;
    }

    /**
     * 是否包含某一個運算符
     */
    public boolean isContains(String value, String contain) {
        if (value.indexOf(contain) == -1)
            return false;
        else
            return true;
    }

    /**
     * 最后一個值是數字就加符號,不是數字則替換它
     * @param str 符號
     */
    public String isNum(String content,String str) {
        if (isNumEnd(content)) content += str;
        else content = content.substring(0, content.length() - 1) + str;
        return content;
    }

    /**
     * 第一個值是0,輸入整數則替換掉
     */
    public String isZero(String content,String str) {
        if (content.equals("0")) {
            content = str;
        } else {
            content += str;
        }
        return content;
    }

    /**
     * 得到第一個值是否是數字
     */
    public boolean isNumStart(String str) {
        if (str.startsWith("+") || str.startsWith("x") || str.startsWith("÷") || str.startsWith("%") || str.equals("")) {
            return false;
        }
        return true;
    }

    /**
     * 得到最后一個值是否是數字
     */
    public boolean isNumEnd(String str) {
        char[] chars = str.substring(str.length() - 1, str.length()).toCharArray();
        if (!Character.isDigit(chars[chars.length - 1])) {
            return false;
        }
        return true;
    }
}
}
}

GIF演示實現效果

  • Phone 設備實現效果
  • Pad 設備實現效果
  • TV 設備實現效果
  • Wearable 設備實現效果
    目前所有設備中,Wearable是幾個設備中最不好適配、最難適配的設備,但,想實現也并非不可能。
    如果繼續適配Wearable,目前能想到Wearable屏幕適配的方法有三種:
    1、需要將背景換成一個圓,按鈕都放進一個自動換行的組件。只是,這個想法不是很現實,Android的RecycleView組件也只是一行固定多少個才會換行,HarmonyOS的ListContainer組件能否實現效果還是個未知數。
    2、使用他人開源的屏幕適配框架。不過,這個很遺憾,截止至發稿,還未能了解到有相關的適配框架。
    3、另外寫一個適配Wearable的布局。在onState方法執行super.setUIContent前更換專門為Wearable而寫的xml,如:
@Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        // wearable設備換一個布局
        if (DeviceInfo.getDeviceType().equals("wearable")){
            super.setUIContent(Wearable布局);
        }else{
            super.setUIContent(ResourceTable.Layout_ability_main);
        }
    }
    }
}

Car 實現效果

截止至發稿,Car還沒有開放對應的機型,沒能使用遠程真機進行測試查看最終效果。這個效果圖也只是點擊Previewer進行查看的樣式及效果。

Previewer注意事項:

1、點擊Previewer查看xml,偶爾點擊xml的一些樣式并不會有響應,需要關閉Previewer并重新打開。

2、Previewer展示的樣式不會顯示ToastDialog等對話框、不會打印日志、不能點擊Debug進行測試,還是使用真機測試真機測試香。

此次是我自HarmonyOS的DevEco Studio開發工具發布以來第一次開發的APP,身為一個Android開發工程師,做起HarmonyOS開發并不是很難,其中有很多東西都類似。DevEco Studio的遠程真機測試與Previewer,效果杠杠的,要知道網上很多遠程真機測試可都是收費制,且按使用時間收費,這一功能的出現可降低了不少開發費用。

審核編輯 黃宇

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網站授權轉載。文章觀點僅代表作者本人,不代表電子發燒友網立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規問題,請聯系本站處理。 舉報投訴
  • 測試
    +關注

    關注

    8

    文章

    4561

    瀏覽量

    125272
  • 開發
    +關注

    關注

    0

    文章

    351

    瀏覽量

    40646
  • 鴻蒙
    +關注

    關注

    55

    文章

    1866

    瀏覽量

    42180
  • HarmonyOS
    +關注

    關注

    79

    文章

    1912

    瀏覽量

    29398
收藏 人收藏

    評論

    相關推薦

    MobTech袤博科技旗下核心SDK產品已全面適配HarmonyOS NEXT鴻蒙星河版

    日前,華為在鴻蒙生態春季溝通會上宣布,目前已有超4000個應用加入鴻蒙生態,鴻蒙生態再次迎來新的里程碑。作為應用開發的重要組件,MobTech袤博科技旗下核心SDK產品已全面完成
    的頭像 發表于 05-14 17:41 ?157次閱讀

    HarmonyOS攜手庫洛游戲推動《戰雙帕彌什》鴻蒙原生應用開發

    4 月 22 日,華為宣布庫洛游戲的《戰雙帕彌什》正式啟動鴻蒙原生應用開發項目,與 HarmonyOS NEXT 鴻蒙星河版的方舟引擎展開深度合作,旨在提升游戲的運行流暢度,為玩家提供
    的頭像 發表于 04-22 15:21 ?167次閱讀

    拓維信息及旗下開鴻智谷同獲華為HarmonyOS開發服務商認證

    近日,拓維信息及旗下開鴻智谷雙雙通過華為HarmonyOS開發服務商認證,成為華為“鴻蒙服務商先鋒計劃”認證級伙伴。秉持共同發展、共創價值的合作理念,拓維信息、開鴻智谷將攜手華為打造
    的頭像 發表于 03-29 08:13 ?137次閱讀
    拓維信息及旗下開鴻智谷同獲華為<b class='flag-5'>HarmonyOS</b><b class='flag-5'>開發</b>服務商認證

    鴻蒙新篇章,領航新征程 I 軟通動力榮膺首批“HarmonyOS開發服務商”

    HarmonyOS開發服務商”,成為華為該領域首批認證服務商。 軟通動力高級副總裁石蓉(右),華為終端云開發者服務與平臺部總裁望岳(左) HarmonyOS
    的頭像 發表于 03-14 17:19 ?229次閱讀
    <b class='flag-5'>鴻蒙</b>新篇章,領航新征程 I 軟通動力榮膺首批“<b class='flag-5'>HarmonyOS</b><b class='flag-5'>開發</b>服務商”

    2024款鴻蒙OS 最新HarmonyOS Next_HarmonyOS4.0系列教程分享

    鴻蒙的出現,標志著中國科技的崛起。HarmonyOS就是我們說的華為鴻蒙系統,截止到2023年8月4日已有超過7億臺設備搭載了鴻蒙OS系統。據多家媒體報道,2024年國內有21所985
    發表于 02-28 10:29

    華為宣布HarmonyOS NEXT鴻蒙星河版開發者預覽面向開發者開放申請

    華為宣布HarmonyOS NEXT鴻蒙星河版開發者預覽面向開發者開放申請,這意味著鴻蒙生態進入第二階段,將加速千行百業的應用
    的頭像 發表于 01-29 16:42 ?868次閱讀
    華為宣布<b class='flag-5'>HarmonyOS</b> NEXT<b class='flag-5'>鴻蒙</b>星河版<b class='flag-5'>開發</b>者預覽面向<b class='flag-5'>開發</b>者開放申請

    淘寶與華為合作將基于HarmonyOS NEXT啟動鴻蒙原生應用開發

    1月25日,淘寶與華為舉辦鴻蒙合作簽約儀式,宣布將基于HarmonyOS NEXT啟動鴻蒙原生應用開發。
    的頭像 發表于 01-26 16:14 ?605次閱讀

    今日看點丨華為 HarmonyOS NEXT 鴻蒙星河版第四季度商用;博世計劃2026年底前裁員1200人

    開發者預覽版 Beta 招募,當前支持華為 Mate 60、Mate 60 Pro、Mate X5 機型報名。HarmonyOS NEXT 開發者預覽版將不再兼容安卓開源應用,僅支持
    發表于 01-19 10:47 ?914次閱讀

    免費學習鴻蒙HarmonyOS開發,一些地址分享

    國內一流高校。通過鴻蒙班的設立,高??梢詾閷W生提供專業的鴻蒙OS學習環境和豐富的實踐機會,培養出更多的鴻蒙開發人才,為鴻蒙OS系統的生態建設
    發表于 01-12 20:48

    HarmonyOS鴻蒙原生應用開發設計- HarmonyOS Sans 字體

    HarmonyOS設計文檔中,為大家提供了獨特的字體,開發者可以根據需要直接引用。 開發者直接使用官方提供的字體內容,既可以符合HarmonyOS原生應用的
    發表于 10-23 16:12

    HarmonyOS資料下載專題

    HarmonyOS資料下載專題:從鴻蒙出世到現在,對于鴻蒙資料查詢下載,大家是否有點迷茫-不知去何處查找。為此,本專題匯集了HarmonyOS從入門到精通的各種
    發表于 10-08 14:23
    <b class='flag-5'>HarmonyOS</b>資料下載專題

    鴻蒙HarmonyOS 4升級進展公開,多款機型將得到適配

    9 月 13 日消息,在 8 月 4 日的華為開發者大會 2023 上,華為正式發布新一代鴻蒙 OS 4(HarmonyOS 4)操作系統,當天開啟首批機型公測。 經過這一個多月的公測和適配
    的頭像 發表于 09-13 15:32 ?1036次閱讀

    HarmonyOS NEXT新能力,一站式高效開發HarmonyOS應用

    的應用呈現在消費者面前。 為了幫助開發者更好地實現HarmonyOS應用的開發,華為面向開發者推出了由賦能套件,鴻蒙系統特征能力,設計資源套
    發表于 08-14 15:08

    當華為WATCH 4系列遇上HarmonyOS 4,更精彩的腕上鴻蒙世界

    8月4日下午,在華為HDC 2023暨HarmonyOS 4發布會上,華為常務董事、終端BG CEO余承東宣布,全新HarmonyOS 4正式發布。在會上,華為宣布截至目前鴻蒙生態設備已達
    的頭像 發表于 08-07 09:28 ?1191次閱讀

    HarmonyOS開發:舒爾特方格游戲

    為豐富 HarmonyOS 對云端開發的支持、實現 HarmonyOS 生態端云聯動,DevEco Studio 推出了云開發功能,開發者在
    的頭像 發表于 06-19 15:05 ?539次閱讀
    <b class='flag-5'>HarmonyOS</b>云<b class='flag-5'>開發</b>:舒爾特方格游戲
    亚洲欧美日韩精品久久_久久精品AⅤ无码中文_日本中文字幕有码在线播放_亚洲视频高清不卡在线观看
    <acronym id="s8ci2"><small id="s8ci2"></small></acronym>
    <rt id="s8ci2"></rt><rt id="s8ci2"><optgroup id="s8ci2"></optgroup></rt>
    <acronym id="s8ci2"></acronym>
    <acronym id="s8ci2"><center id="s8ci2"></center></acronym>