<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: HarmonyOS Developers</title>
    <description>The latest articles on Forem by HarmonyOS Developers (@hmosdevelopers).</description>
    <link>https://forem.com/hmosdevelopers</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F4977%2F0ef964d0-bd6e-4867-9acf-8c1fcf3355ea.png</url>
      <title>Forem: HarmonyOS Developers</title>
      <link>https://forem.com/hmosdevelopers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/hmosdevelopers"/>
    <language>en</language>
    <item>
      <title>Create Your First ArkTS Application</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Tue, 01 Jul 2025 02:03:39 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/create-your-first-arkts-application-2naf</link>
      <guid>https://forem.com/hmosdevelopers/create-your-first-arkts-application-2naf</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to Create Your First ArkTS Application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comprises the following four sections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Preparations,&lt;/li&gt;
&lt;li&gt; Create a new ArkTS Project,&lt;/li&gt;
&lt;li&gt; Write the code,&lt;/li&gt;
&lt;li&gt; Build and run the hap in your device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740621090778877?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740621090778877?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9l1007zupzggme39cy3f.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyosnext</category>
      <category>arkts</category>
    </item>
    <item>
      <title>Migrating Projects To HarmonyOS NEXT</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Mon, 30 Jun 2025 02:37:39 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/migrating-projects-to-harmonyos-next-3keh</link>
      <guid>https://forem.com/hmosdevelopers/migrating-projects-to-harmonyos-next-3keh</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;p&gt;Migrating Projects To HarmonyOS NEXT.&lt;/p&gt;

&lt;p&gt;Comprises the following six sections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Prerequisites,&lt;/li&gt;
&lt;li&gt; Create Project,&lt;/li&gt;
&lt;li&gt; Start Migration,&lt;/li&gt;
&lt;li&gt; Code Modification Case,&lt;/li&gt;
&lt;li&gt; Verification,&lt;/li&gt;
&lt;li&gt; and Summary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740621044091581?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740621044091581?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4vyoj92finl680j3qe4.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyosnext</category>
      <category>wearable</category>
    </item>
    <item>
      <title>HarmonyOS Security Architecture and Key Technologies</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Fri, 27 Jun 2025 07:40:51 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/harmonyos-security-architecture-and-key-technologies-2olh</link>
      <guid>https://forem.com/hmosdevelopers/harmonyos-security-architecture-and-key-technologies-2olh</guid>
      <description>&lt;p&gt;About this course：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HarmonyOS Security Architecture and Key Technologies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comprises the following three sections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HarmonyOS Security Design and Architecture;&lt;/li&gt;
&lt;li&gt;Key Technologies for App Security Development;&lt;/li&gt;
&lt;li&gt;HarmonyOS Privacy Protection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620989260850?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620989260850?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd7yn39aaferuboyu96i1.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyos</category>
      <category>appsecuritydevelopment</category>
      <category>privacyprotection</category>
    </item>
    <item>
      <title>Health Service Kit Integration and Development</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Thu, 26 Jun 2025 02:22:37 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/health-service-kit-integration-and-development-2g4j</link>
      <guid>https://forem.com/hmosdevelopers/health-service-kit-integration-and-development-2g4j</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;p&gt;Health Service Kit Integration and Development. &lt;/p&gt;

&lt;p&gt;Comprises the following four sections:&lt;br&gt;
 About Health Service Kit,&lt;br&gt;
 Getting Started,&lt;br&gt;
 Developing Your App,&lt;br&gt;
 and Summary.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620944366975?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620944366975?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffjj3qaa6rbg39jfkkbn9.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>healthservicekit</category>
      <category>harmonyos</category>
    </item>
    <item>
      <title>Wear Engine Development</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Wed, 25 Jun 2025 02:54:09 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/wear-engine-development-3b75</link>
      <guid>https://forem.com/hmosdevelopers/wear-engine-development-3b75</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wear Engine Integration and Development.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comprises the following four sections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; About Wear Engine,&lt;/li&gt;
&lt;li&gt; Phone App Development,&lt;/li&gt;
&lt;li&gt; HarmonyOS Wearable App Development,&lt;/li&gt;
&lt;li&gt; and Summary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620893919974?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620893919974?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fesnjepfosr18qbhezwrz.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyos</category>
      <category>wearengine</category>
    </item>
    <item>
      <title>ArkUI Development Practice (HarmonyOS World)</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Tue, 24 Jun 2025 08:29:09 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/arkui-development-practice-harmonyos-world-48p4</link>
      <guid>https://forem.com/hmosdevelopers/arkui-development-practice-harmonyos-world-48p4</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ArkUI Development Practice (HarmonyOS World).
Comprises the following four sections:  Objectives, Concepts, Hands-on Training, and Summary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620756207849?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620756207849?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd0qhfldumlodk44mnjuf.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyos</category>
      <category>arkui</category>
    </item>
    <item>
      <title>Basic ArkTS Syntax</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Mon, 23 Jun 2025 09:38:37 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/basic-arkts-syntax-3d4e</link>
      <guid>https://forem.com/hmosdevelopers/basic-arkts-syntax-3d4e</guid>
      <description>&lt;p&gt;About this course:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic ArkTS Syntax.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620697641580?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620697641580?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzuo6hoatt7w8yxpw0oc9.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>arkts</category>
    </item>
    <item>
      <title>HUAWEI DevEco Kit Features</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Fri, 20 Jun 2025 09:07:52 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/huawei-deveco-kit-features-3m3l</link>
      <guid>https://forem.com/hmosdevelopers/huawei-deveco-kit-features-3m3l</guid>
      <description>&lt;p&gt;About this course：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HUAWEI DevEco Kit Features.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620631522973?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/C101740620631522973?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Felz1dymjssqaghglkszc.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>deveco</category>
    </item>
    <item>
      <title>💻What is HarmonyOS Next? How is it Different from Android?</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Tue, 17 Jun 2025 07:51:32 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/what-is-harmonyos-next-how-is-it-different-from-android-3bj6</link>
      <guid>https://forem.com/hmosdevelopers/what-is-harmonyos-next-how-is-it-different-from-android-3bj6</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnx5xtisuwwwmqeluquus.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnx5xtisuwwwmqeluquus.webp" alt="Image description" width="800" height="508"&gt;&lt;/a&gt;&lt;code&gt;What is HarmonyOS Next?&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;The platforms that support mobile continue to change along with the mobile ecosystem. Huawei’s next-generation operating system, HarmonyOS NEXT, was formally introduced in 2023. It was developed from the ground up and is not dependent on the Android Open Source Project (AOSP). Although HarmonyOS NEXT expands upon the original HarmonyOS idea, it represents a significant strategic and technological change.&lt;br&gt;
This article will cover what HarmonyOS Next is and how it is different from Android.&lt;/p&gt;

&lt;h2&gt;
  
  
  🌐 What is HarmonyOS NEXT?
&lt;/h2&gt;

&lt;p&gt;Smartphones, wearables, tablets, smart TVs, and Internet of Things devices can all enjoy a smooth experience with Huawei’s entirely independent operating system, HarmonyOS NEXT.&lt;br&gt;
HarmonyOS NEXT is not based on Android like earlier HarmonyOS versions, which still maintained some compatibility with Android apps. It brings with it a new programming language, a new app runtime, and an ecosystem that is completely exclusive to Huawei services and hardware.&lt;br&gt;
🔍 Let’s see the key differences between HarmonyOS Next and Android on the table;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuzgg932n6aygj5w30rjd.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuzgg932n6aygj5w30rjd.webp" alt="Image description" width="800" height="398"&gt;&lt;/a&gt;&lt;code&gt;HarmonyOS Next — Android&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Was HarmonyOS NEXT Created?
&lt;/h2&gt;

&lt;p&gt;In response to geopolitical limitations and technological aspirations, Huawei has developed HarmonyOS NEXT. The corporation wants to create an ecosystem that is completely under its control, highly connected, and secure.&lt;br&gt;
Technically, HarmonyOS NEXT makes it possible for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Avoiding Android’s compatibility layers improved performance.&lt;/li&gt;
&lt;li&gt;Improved privacy and security with Huawei’s in-house services and APIs&lt;/li&gt;
&lt;li&gt;Features that are distributed, such as cross-device app flows (phone ↔ watch ↔ tablet)
Through the eyes of developers;
For developers, especially those with an Android background, HarmonyOS NEXT offers a fresh yet familiar experience. Its modular architecture, declarative UI style, and use of ViewModel and state management will feel intuitive. At the same time, it introduces new concepts like ArkTS (a TypeScript-based language), ArkUI (a built-in stateful UI framework), and updated models for navigation, permissions, and distributed interactions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What About Android?
&lt;/h2&gt;

&lt;p&gt;Android is a widely used platform globally, known for its flexibility, power, and large developer community. HarmonyOS NEXT represents a different approach that focuses on Huawei’s ecosystem and aims to provide a more controlled, integrated, and seamless digital experience. As a developer, embracing both platforms can expand your career opportunities, help you adapt to regional market needs, and ensure you’re prepared for a future with increasingly diverse mobile ecosystems.&lt;/p&gt;

&lt;h2&gt;
  
  
  App Distribution and Ecosystem
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;HarmonyOS NEXT apps are distributed through Huawei AppGallery, which has grown significantly in markets where Huawei devices dominate.&lt;/li&gt;
&lt;li&gt;Huawei provides extensive development support via:&lt;/li&gt;
&lt;li&gt;DevEco Studio (IDE similar to Android Studio)&lt;/li&gt;
&lt;li&gt;Distributed Dev Kits&lt;/li&gt;
&lt;li&gt;Comprehensive Documentation in English and Chinese&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;HarmonyOS NEXT is Huawei’s bold move to create a standalone, next-generation operating system with its vision for connected experiences. It presents both an opportunity and a challenge for Android developers, allowing them to use their existing skills while learning new concepts.&lt;br&gt;
References&lt;/p&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/HarmonyOS_NEXT?source=post_page-----e5ea3fc50acc---------------------------------------" rel="noopener noreferrer"&gt;HarmonyOS NEXT - Wikipedia&lt;br&gt;
Edit description&lt;br&gt;
en.wikipedia.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/cn/?source=post_page-----e5ea3fc50acc---------------------------------------" rel="noopener noreferrer"&gt;华为开发者联盟-HarmonyOS开发者官网，共建鸿蒙生态&lt;br&gt;
华为开发者联盟是华为面向生态伙伴的开放合作平台，致力于从开发、测试、推广、变现等环节助力开发者，聚合了HarmonyOS鸿蒙、HMS Core、AGC等开放能力，方便开发者一站式获取，轻松完成应用开发。&lt;br&gt;
developer.huawei.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keywords: Android、Huawei、Harmonyos、Mobile App Development、App Gallery&lt;/p&gt;

</description>
      <category>android</category>
      <category>huawei</category>
      <category>harmonyos</category>
    </item>
    <item>
      <title>HarmonyOS Overview - 01 What Is HarmonyOS</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Fri, 13 Jun 2025 08:20:38 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/harmonyos-overview-01-what-is-harmonyos-2jkm</link>
      <guid>https://forem.com/hmosdevelopers/harmonyos-overview-01-what-is-harmonyos-2jkm</guid>
      <description>&lt;p&gt;&lt;strong&gt;HarmonyOS Overview - 01 What Is HarmonyOS&lt;/strong&gt;&lt;br&gt;
About this course：HarmonyOS in a minute.&lt;br&gt;
&lt;a href="https://developer.huawei.com/consumer/en/training/course/video/101615349133316008?ha_source=dev-shequ&amp;amp;ha_sourceId=89000192" rel="noopener noreferrer"&gt;Read the original article: &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fco7duggj6p9kzs6ch7ll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fco7duggj6p9kzs6ch7ll.png" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harmonyos</category>
    </item>
    <item>
      <title>HMS Core Release News — HMS Core 6.6.0</title>
      <dc:creator>HarmonyOS Developers</dc:creator>
      <pubDate>Fri, 12 Aug 2022 09:43:00 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/hms-core-660-release-news-24-new-features-32nm</link>
      <guid>https://forem.com/hmosdevelopers/hms-core-660-release-news-24-new-features-32nm</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jdeurv3bate5s7ll22e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jdeurv3bate5s7ll22e.png" alt="Image description" width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8wsl9bv04knaidhv3ms.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8wsl9bv04knaidhv3ms.png" alt="Image description" width="800" height="67"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ciy5my9b86ahbnpwt3f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ciy5my9b86ahbnpwt3f.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Released the function of saving churned users as an audience to the retention analysis function. This function enables multi-dimensional examination on churned users, thus contributing to making targeted measures for winning back such users.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Changed &lt;strong&gt;Audience analysis&lt;/strong&gt; to &lt;strong&gt;Audience insight&lt;/strong&gt; that has two submenus: &lt;strong&gt;User grouping&lt;/strong&gt; and &lt;strong&gt;User profiling&lt;/strong&gt;. User grouping allows for segmenting users into different audiences according to different dimensions, and user profiling provides audience features like profiles and attributes to facilitate in-depth user analysis.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the &lt;strong&gt;Page access in each time segment&lt;/strong&gt; report to &lt;strong&gt;Page analysis&lt;/strong&gt;. The report compares the numbers of access times and users in different time segments. Such vital information gives you access to your users' product usage preferences and thus helps you seize operations opportunities.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the Page access in each time segment report to Page analysis. The report compares the numbers of access times and users in different time segments. Such vital information gives you access to your users' product usage preferences and thus helps you seize operations opportunities.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/release-notes-0000001051065102?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feouf4qu0eagly2z76uwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feouf4qu0eagly2z76uwk.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Debuted the auto rigging capability. Auto rigging can load a preset motion to a 3D model of a biped humanoid, by using the skeleton points on the model. In this way, the capability automatically rigs and animates such a biped humanoid model, lowering the threshold of 3D animation creation and making 3D models appear more interesting.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the AR-based real-time guide mode. This mode accurately locates an object, provides real-time image collection guide, and detects key frames. Offering a series of steps for modeling, the mode delivers a fresh, interactive modeling experience.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/doc/development/graphics-Guides/version-change-history-0000001142921837?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fid87z9raytp6wcxdeb39.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fid87z9raytp6wcxdeb39.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Offered the auto-smile capability in the fundamental capability SDK. This capability detects faces in the input image and then lightens up the faces with a smile (closed-mouth or open-mouth).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Supplemented the fundamental capability SDK with the object segmentation capability. This AI algorithm-dependent capability separates the selected object from a video, to facilitate operations like background removal and replacement.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://developer.huawei.com/consumer/en/doc/development/Media-Guides/version-change-history-0000001101468384?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzb0zeurzrefzc77l1l0w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzb0zeurzrefzc77l1l0w.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Released the interactive biometric verification service. It captures faces in real time and determines whether a face is of a real person or a face attack (like a face recapture image, face recapture video, or a face mask), by checking whether the specified actions are detected on the face. This service delivers a high-level of security, making it ideal in face recognition-based payment scenarios.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Improved the on-device translation service by supporting 12 more languages, including Croatian, Macedonian, and Urdu. Note that the following languages are not yet supported by on-device language detection: Maltese, Bosnian, Icelandic, and Georgian.&lt;br&gt;
​​​​​​​&lt;br&gt;
&lt;a href="https://developer.huawei.com/consumer/en/doc/development/hiai-Guides/version-changehistory-0000001050040023?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F58puznjq5nnrw3msbaq5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F58puznjq5nnrw3msbaq5.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Added the on-cloud REST APIs for the AI dubbing capability, which makes the capability accessible on more types of devices.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the asynchronous API for the audio source separation capability. On top of this, a query API was added to maintain an audio source separation task via &lt;strong&gt;taskId&lt;/strong&gt;. This serves as the solution to the issue that in some scenarios, a user failed to find their previous audio source separation task when they exited and re-opened the app, because of the long time taken by an audio source separation task to complete.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enriched on-device audio source separation with the following newly supported sound types: accompaniment, bass sound, stringed instrument sound, brass stringed instrument sound, drum sound, accompaniment with the backing vocal voice, and lead vocalist voice.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;​​​​​​​&lt;a href="https://developer.huawei.com/consumer/en/doc/development/Media-Guides/version-change-history-0000001107305246?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hnvabdf7eq48gjwg9lc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hnvabdf7eq48gjwg9lc.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Added two activity record data types: apnea training and apnea testing in diving, and supported the free diving record data type on the cloud-side service, giving access to the records of more activity types.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the sampling data type of the maximum oxygen uptake to the device-side service. Each data record indicates the maximum oxygen uptake in a period. This sampling data type can be used as an indicator of aerobic capacity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the open atomic sampling statistical data type of location to the cloud-side service. This type of data records the GPS location of a user at a certain time point, which is ideal for recording data of an outdoor sport like mountain hiking and running.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Opened the activity record segment statistical data type on the cloud-side service. Activity records now can be collected by time segment, to better satisfy requirements on analysis of activity records.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the subscription of scenario-based events and supported the subscription of total step goal events. These fresh features help users set their running/walking goals and receive push messages notifying them of their goals.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;​​​​​​​&lt;a href="https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/version-change-history-0000001057072287?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74j25zb0c9mhvc193loh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74j25zb0c9mhvc193loh.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Released the HDR Vivid SDK that provides video processing features like opto-electronic transfer function (OETF), tone mapping, and HDR2SDR. This SDK helps you immerse your users with high-definition videos that get rid of overexposure and have clear details even in dark parts of video frames.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the capability for killing the WisePlayer process. This capability frees resources occupied by WisePlayer after the video playback ends, to prevent WisePlayer from occupying resources for too long.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the capability to obtain the list of video source thumbnails that cover each frame of the video source — frame by frame, time point by time point — when a user slowly drags the video progress bar, to improve video watching experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the capability to accurately play video via dragging on the progress bar. This capability can locate the time point on the progress bar, to avoid the inaccurate location issue caused by using the key frame for playback location.&lt;br&gt;
​​​​​​​&lt;br&gt;
&lt;a href="https://developer.huawei.com/consumer/en/doc/development/Media-Guides/version-change-history-0000001050199403?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqiy198fwvyzzlug9dbwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqiy198fwvyzzlug9dbwk.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Added the 3D fluid simulation component. This component allows you to set the boundaries and volume of fluid (VOF), to create interactive liquid sloshing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Introduced the dynamic diffuse global illumination (DDGI) plugin. This plugin can create diffuse global illumination in real time when the object position or light source in the scene changes. In this way, the plugin delivers a more natural-looking rendering effect.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;​​​​​​​&lt;a href="https://developer.huawei.com/consumer/en/doc/development/graphics-Guides/version-change-history-0000001050138514?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more&amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqdvq4ez2ws5hjy44yqs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqdvq4ez2ws5hjy44yqs.png" alt="Image description" width="800" height="71"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4118vgs2425zmo57std.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4118vgs2425zmo57std.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;For the &lt;strong&gt;hms-mapkit-demo&lt;/strong&gt; sample code: Added the &lt;strong&gt;MapsInitializer.initialize&lt;/strong&gt; API that is used to initialize the Map SDK before it can be used.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Added the public layer (precipitation map) in the enhanced SDK.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/HMS-Core/hms-mapkit-demo" rel="noopener noreferrer"&gt;Go to GitHub &amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj5x632vt8i2qcxzcfc0g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj5x632vt8i2qcxzcfc0g.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For the &lt;strong&gt;hms-sitekit-demo&lt;/strong&gt; sample code: Updated the Gson version to 2.9.0 and optimized the internal memory.
​​​​​​​
&lt;a href="https://github.com/HMS-Core/hms-sitekit-demo" rel="noopener noreferrer"&gt;Go to GitHub &amp;gt;&amp;gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fecmomgmlyhtva7b8qtv9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fecmomgmlyhtva7b8qtv9.png" alt="Image description" width="800" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For the &lt;strong&gt;hms-game-demo&lt;/strong&gt; sample code: Added the configuration of removing the dependency installation boost of HMS Core (APK), and supported HUAWEI Vision.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;​​​​​​​&lt;a href="https://github.com/HMS-Core/hms-game-demo" rel="noopener noreferrer"&gt;Go to GitHub &amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Made necessary updates to other kits. &lt;a href="https://developer.huawei.com/consumer/en/doc/development/hmscore-common-Guides/hmssdk-kit-0000001050042513?ha_source=hms3" rel="noopener noreferrer"&gt;Learn more &amp;gt;&amp;gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fswa2ys879td4ro8vn4i1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fswa2ys879td4ro8vn4i1.png" alt="Image description" width="800" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>hmscore</category>
      <category>news</category>
      <category>huawei</category>
      <category>hms</category>
    </item>
    <item>
      <title>How I Created a Smart Video Clip Extractor</title>
      <dc:creator>Jackson</dc:creator>
      <pubDate>Fri, 12 Aug 2022 02:20:43 +0000</pubDate>
      <link>https://forem.com/hmosdevelopers/how-i-created-a-smart-video-clip-extractor-2516</link>
      <guid>https://forem.com/hmosdevelopers/how-i-created-a-smart-video-clip-extractor-2516</guid>
      <description>&lt;p&gt;Travel and life vlogs are popular among app users: Those videos are telling, covering all the most attractive parts in a journey or a day. To create such a video first requires great editing efforts to cut out the trivial and meaningless segments in the original video, which used to be a thing of video editing pros.&lt;/p&gt;

&lt;p&gt;This is no longer the case. Now we have an array of intelligent mobile apps that can help us automatically extract highlights from a video, so we can focus more on spicing up the video by adding special effects, for example. I opted to use the &lt;a href="https://developer.huawei.com/consumer/en/doc/development/Media-Guides/ai_algorithm_integration-0000001166552824#section15938131182814?ha_source=hms3" rel="noopener noreferrer"&gt;highlight capability&lt;/a&gt; from Video Editor Kit to create my own vlog editor.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;This capability assesses how appealing video frames are and then extracts the most suitable ones. To this end, it is said that the capability takes into consideration the video properties most concerned by users, a conclusion that is drawn from survey and experience assessment from users. On the basis of this, the highlight capability develops a comprehensive frame assessment scheme that covers various aspects. For example:&lt;/p&gt;

&lt;p&gt;Aesthetics evaluation. This aspect is a data set built upon composition, lighting, color, and more, which is the essential part of the capability.&lt;/p&gt;

&lt;p&gt;Tags and facial expressions. They represent the frames that are detected and likely to be extracted by the highlight capability, such as frames that contain people, animals, and laughter.&lt;/p&gt;

&lt;p&gt;Frame quality and camera movement mode. The capability discards low-quality frames that are blurry, out-of-focus, overexposed, or shaky, to ensure such frames will not impact the quality of the finished video. Amazingly, despite all of these, the highlight capability is able to complete the extraction process in just 2 seconds.&lt;/p&gt;

&lt;p&gt;See for yourself how the finished video by the highlight capability compares with the original video.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2rxmzqoop559al57owta.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2rxmzqoop559al57owta.gif" alt="Image description" width="315" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Backing Technology
&lt;/h2&gt;

&lt;p&gt;The highlight capability stands out from the crowd by adopting models and a frame assessment scheme that are iteratively optimized. Technically and specifically speaking:&lt;/p&gt;

&lt;p&gt;The capability introduces &lt;strong&gt;AMediaCodec&lt;/strong&gt; for hardware decoding and Open Graphics Library (OpenGL) for rendering frames and automatically adjusting the frame dimensions according to the screen dimensions. The capability algorithm uses multiple neural network models. In this way, the capability checks the device model where it runs and then automatically chooses to run on NPU, CPU, or GPU. Consequently, the capability delivers a higher running performance.&lt;/p&gt;

&lt;p&gt;To provide the extraction result more quickly, the highlight capability uses the two-stage algorithm of sparse sampling to dense sampling, checks how content distributed among numerous videos, and adopts the frame buffer. All these contribute to a higher efficiency of determining the most attractive video frames. To ensure high performance of the algorithm, the capability adopts the thread pool scheduling and producer-consumer model, to ensure that the video decoder and models can run at the same time.&lt;/p&gt;

&lt;p&gt;During the sparse sampling stage, the capability decodes and processes some (up to 15) key frames in a video. The interval between the key frames is no less than 2 seconds. During the dense sampling stage, the algorithm picks out the best key frame and then extracts frames before and after to further analyze the highlighted part of the video.&lt;/p&gt;

&lt;p&gt;The extraction result is closely related to the key frame position. The processing result of the highlight capability will not be ideal when the sampling points are not dense enough because, for example, the video does not have enough key frames or the duration is too long (greater than 1 minute). For the capability to deliver optimal performance, it recommends that the duration of the input video be less than 60 seconds.&lt;/p&gt;

&lt;p&gt;Let's now move on to how this capability can be integrated.&lt;/p&gt;

&lt;h2&gt;
  
  
  Integration Process
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Preparations
&lt;/h3&gt;

&lt;p&gt;Make necessary preparations before moving on to the next part. Required steps include:&lt;/p&gt;

&lt;p&gt;i. Configure the app information in AppGallery Connect.&lt;/p&gt;

&lt;p&gt;ii. Integrate the SDK of HMS Core.&lt;/p&gt;

&lt;p&gt;iii. Configure obfuscation scripts.&lt;/p&gt;

&lt;p&gt;iv. Declare necessary permissions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting up the Video Editing Project
&lt;/h3&gt;

&lt;p&gt;i. Configure the app authentication information by using either an access token or API key.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Method 1: Call &lt;strong&gt;setAccessToken&lt;/strong&gt; to set an access token, which is required only once during app startup.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MediaApplication.getInstance().setAccessToken("your access token");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Method 2: Call &lt;strong&gt;setApiKey&lt;/strong&gt; to set an API key, which is required only once during app startup.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MediaApplication.getInstance().setApiKey("your ApiKey");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ii. Set a License ID.&lt;/p&gt;

&lt;p&gt;This ID is used to manage the usage quotas of Video Editor Kit and must be unique.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MediaApplication.getInstance().setLicenseId("License ID");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Initialize the runtime environment of &lt;strong&gt;HuaweiVideoEditor&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When creating a video editing project, we first need to create an instance of &lt;strong&gt;HuaweiVideoEditor&lt;/strong&gt; and initialize its runtime environment. When you exit the project, the instance shall be released.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an instance of &lt;strong&gt;HuaweiVideoEditor&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HuaweiVideoEditor editor = HuaweiVideoEditor.create(getApplicationContext());
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Determine the layout of the preview area.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Such an area renders video images, and this is implemented by &lt;strong&gt;SurfaceView&lt;/strong&gt; within the fundamental capability SDK. Before the area is created, we need to specify its layout.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;LinearLayout    
    android:id="@+id/video_content_layout"    
    android:layout_width="0dp"    
    android:layout_height="0dp"    
    android:background="@color/video_edit_main_bg_color"    
    android:gravity="center"    
    android:orientation="vertical" /&amp;gt;
// Specify a preview area.
LinearLayout mSdkPreviewContainer = view.findViewById(R.id.video_content_layout);

// Design the layout of the area.
editor.setDisplay(mSdkPreviewContainer);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Initialize the runtime environment. If the license verification fails, &lt;strong&gt;LicenseException&lt;/strong&gt; will be thrown.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;​​​​​​​After the &lt;strong&gt;HuaweiVideoEditor&lt;/strong&gt; instance is created, it will not use any system resources, and we need to manually set the initialization time for the runtime environment. Then, the fundamental capability SDK will internally create necessary threads and timers.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;try {
        editor.initEnvironment();
   } catch (LicenseException error) { 
        SmartLog.e(TAG, "initEnvironment failed: " + error.getErrorMsg());    
        finish();
        return;
   }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Integrating the Highlight Capability
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Create an object that will be processed by the highlight capability.
HVEVideoSelection hveVideoSelection = new HVEVideoSelection();
// Initialize the engine of the highlight capability.
hveVideoSelection.initVideoSelectionEngine(new HVEAIInitialCallback() {
        @Override
        public void onProgress(int progress) {
        // Callback when the initialization progress is received.
        }
        @Override
        public void onSuccess() {
            // Callback when the initialization is successful.
        }

        @Override
        public void onError(int errorCode, String errorMessage) {
            // Callback when the initialization failed.
        }
});

// After the initialization is successful, extract the highlighted video. filePath indicates the video file path, and duration indicates the desired duration for the highlighted video.
hveVideoSelection.getHighLight(filePath, duration, new HVEVideoSelectionCallback() {
        @Override
        public void onResult(long start) {
            // The highlighted video is successfully extracted.
        }
});

// Release the highlight engine.
hveVideoSelection.releaseVideoSelectionEngine();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The vlog has been playing a vital part in this we-media era since its appearance. In the past, there were just a handful of people who could create a vlog, because the process of picking out the most interesting part from the original video could be so demanding.&lt;/p&gt;

&lt;p&gt;Thanks to smart mobile app technology, even video editing amateurs can now create a vlog because much of the process can be completed automatically by an app with the function of highlighted video extraction.&lt;/p&gt;

&lt;p&gt;The highlight capability from the Video Editor Kit is one such function. This capability introduces a set of features to deliver incredible results, such as &lt;strong&gt;AMediaCodec&lt;/strong&gt;, OpenGL, neural networks, a two-stage algorithm (sparse sampling to dense sampling), and more. This capability can help create either a highlighted video extractor or build a highlighted video extraction feature in an app.&lt;/p&gt;

</description>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
