App Ability - Ai Voice - Huawei Developers

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi everyone, in this article, we will talking about the use of Huawei Voice (HiVoice) Assistant with App Ability. Firstly I want to explain;
Who is Celia ?​Celia is the voice assistant of your Huawei phone. Celia on your devices can help you ; make a phone call, set an alarm, send a message, set a reminder, play music, play video and more. Celia is ready on Huawei Phones, Smart TVs, Speakers, Watches.
Currently, you can communicate with AI Voice in English, French, and Spanish in the UK, France, Spain, Chile, Mexico, and Colombia.
To set your country and region, and the system language you want to use, go to Settings > System & updates > Language & input > Language and region . AI Voice can only be woken up if you select one of the above countries.
You can select a language for communicating with AI Voice from the settings menu by touching in full screen in AI Voice. Currently, only English, French, and Spanish are supported.
When Can I Interact With AI Voice?​To wake up AI Voice, press and hold the Power button for 1 second. AI Voice can be in an idle, listening, or thinking state. It only takes commands when it is listening.
· Idle: AI Voice does not take voice commands in this state.
· Listening: AI Voice can communicate with you in this state.
· Thinking: AI Voice is carrying out your commands and doesn’t take new commands in this state.
Note: You cannot wake up AI Voice when your device is in a call and AI Voice with the wakeup word when your device is making an audio or screen recording. However, you can still use the Power button to wake up AI Voice.
Service Introduction​You can use AI Voice in many areas. You can access with deeplinks. Now I will explain the different usage scenarios for you.
News : We should offer title, abstract and hyperlinks of news. And also offer Playing Interface so that voice and video news could be played by Celia. For example, when Celia is launching news App, she would ask the app to start playing.
Search For News : We can perform the search process by specifying the news type, time, the application that the news is published and the content type of the news. If the news we are looking for is in the application loaded on our phone, it shows us the result in the content and can go to the news content when clicked. If the app is not exist on the phone, it directs us to AppGallery.
Play News : We can open the news we want by first saying play and then telling the news tour, time, application name and content. For example ; Jump to BBC news to play the news: If there are more than one content provider, the latest used provider will be selected. If the app is not exist on the phone, it directs us to AppGallery.
Pause News : If there is a news thread running and we call it “stop playing,” Celia detects it and stops the application. If there is no news in the playlist, no news content is playing.
Continue Playing News : If there is a news that is half-finished to listen, when we say “continue playing news”, the news continues to play from where it left off. It is recommended if there is no late news or if there is a channel you listen to regularly.
Next News : If the user wants to go to the next article, they can listen to the next news by saying “next — news type — news”.
Music : We need to songs database of all categories. Provide deeplink or API that allow Celia to search & play music, whether user just want to listen randomly, or by specific artist, album, song name, music genre or combination slots.
Basic Music Play : If people can ask “sing me a song”, “play music” and if the song exist it will be started.
Play by Song Name or Artist : If people can ask “play -song name-” and “play -artist name” jump and play asked song or play by artist.
Play by Album or Music Genre : If people can ask “play -album name-” or “play me something -mood-” , jump and play asked album or play the asked music.
Music Play Control : Previous song, next song, play another song, please , change the song, skip this song ,pause, stop playing by detecting these commands and act as what people asked without app jump or system unlock.
Navigation : We should provide point of Interest information to Huawei, such as street names, building names, etc. to help identify these instances, global map data, multiple countries services and languages we cover content. And we offer deeplink for functions of navigation, route, address, etc. for the interface.
Navigate to Somewhere : If people can ask “navigate to -somewhere-”, “I need to get to nearest gas station”, “take me to the nearest hospital” and Celia told you will go to maps start navigation, jump to the maps and start navigation.
Search for Route to Somewhere : If people can ask “Give me the route to The Times Square by bike”, “Give me the route to go to work”, “4、Tell me how to get from the Brooklyn Bridge to the United Nations” Celia told you will go to maps and show the route and jump to the maps and show the route.
Web Search : For the web search we need to search lists with embedded card in Celia without jumping to Huawei browser and provide API of search function as a interface. We can search content, application, in search engine content. For Example ; People can ask: “search JK Rowling on the web”, show search lists with embedded card and click item jump to detail page
Configuration​If we want to use app ability in our project we need to do some configurations. You can find configuration page here.
To start we click to “Create ability” button on the Smart Service pages on console.
We need to select ability model click this area.
We fill the information of our application in the spaces below and click “Create Button”
We fill the information of our application in the spaces below in our Android Studio Project.
We select in which countries ability will be available
We write properties of ability that will be visible to the user. Or if we had a template we update this.
The next step is configure. In the Configure page wee need to “Add user intent” for App Ability — AI Voice.
In this section, we define how the user will find what he / she will search for. We need to create the fullfilment1 by selecting the intent name, its category, determining how and with which words it will be triggered, how it will be triggered. And we need to define the words trigger in the language of that country in which countries will be publish.
After that we need to configure fulfillment for associate intents with our ability. We need to select fulfillment type. If we redirect to website we choose Web service or if we had a application and want to redirect app we need to choose APK/RPK/FA/H5 link. Or if we had existing fulfillment for same app we can use too.
We add to properties of the application and the deeplink of the page to be redirected. If the application is not published from the same developer account, it will not appear in the App section. Therefore, the application must be live in order to create fulfillment.
When all the steps is finished we need to testing out app.
Final state of running ability after all steps have been successfully completed;
You can find video this link ; Testing App Ability

Related

Huawei Ability Gallery - App Ability

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is Huawei Ability Gallery (HAG)?
Huawei Ability Gallery is a core capability of the HMS Core ecosystem. HAG creates more convenient experience for users and enables more efficient service distribution for developers, achieving a win-win-win situation for users, developers, and Huawei.
What are HAG Abilities?
Abilities link user intent with various service offerings. Developers define abilities in Huawei Ability Gallery, and users can use these abilities on Huawei devices or through other traffic entries.
HAG provides developers three abilities type
App Abilities: App abilities are presented by icon, and developers must provide deep links to the associated apps.
Card Ability: Developers use quick app development technology to develop ability cards (including data processing and display logic), and abilities are displayed as cards. Information can be displayed in card mode.
Content Ability: Huawei Ability Gallery obtains data from developers’ servers through APIs and provides content abilities for Huawei products. Huawei products then present the abilities as defined. Content abilities can be presented by card or voice.
What is App Ability?
App Abilities which are presented by icon are used to redirect user to application. We can use app Ability with APK and RPK. All app abilities are shown at Instant Access panel on Huawei Assistant page.
Global Search: We can search something at there.
Instant Access: Users click the icon or banner and redirect to APP/Quick App.
Smart care: there are smart cards recommended by the system to serve the users.Cards and contents abilities are displayed at here.
Developers can be created app abilities as static or dynamic ;
Static app ability is an icon and it redirects user to related app.
Note : App abilities aren’t displayed without app installed If related app is Native application(APK).If App ability was created to Quick app (RPK) , users don’t need to install app first.
Dynamic app ability can be used to send parameter to application via HiVoice. For example , When the users want to open an application using specific parameter like Hotel name,book name,music name, etc. Dynamic App abilities can be used .They just need to define parameters inside redirect parameters .You can define many parameters inside there.
Also We can launch app using app keyword is used for triggering an app by voice.If your app ability supports multi languages , You can many keywords for all of them. A maximum of 10 keywords can be configured for each language.
Note: HiVoice uses Celia.currently Celia is available in P40 and following languages and regions:
Languages: English (UK), French (France), Spanish (Spain)
Countries / Regions: United Kingdom, France, Spain, Chile, Mexico, Colombia
Detail: You can follow link to get more information for Celia : Link
How can we create an app Ability?
Note : If you want to create ability , you need to have Entertainment Account .You can create app ability inside 1 or 2 days.
While we create an app ability , We must follow specific way.
Firstly, app ability’s icon design should be done. Icon design has many restriction like size , color , icon border type ,etc.
to get more information you can follow this link (Icon Design Rules).
We need to create deeplink to redirect users.Redirection URL in a deep link, please follow the filling rules.
Under this line you can see correct formats for Both APK and RPK solution:
huawei://
com.huawei://
com.huawei://hag
com.huawei://hag/app/ability
com.huawei://hag/ability?type=app&test=1
Note: RPK and APK have different deeplink integrations.
If you want to create deeplink for APK ,you can define them inside activity or Navigation XML files.I want to give an example for it :
On the other hand You want to create deeplinks to Quick app , You should define them inside manifest file of Quick App.We must add path parameter under router tag .Quick apps use it to redirect.
After add path parameter under Router , You can define deeplink like :
hap://app/quickAppPackagename/hello
How can we test deeplinks?
You can test deep-links with adb .If there is no problem , Your Application automatically is opened . You can use CMD to work ADB commands .Also following code helps you for testing deep-link
adb shell am start -a android.intent.action.VIEW -d deepLink
Examples Of Adb Commands :
adb shell am start -a android.intent.action.VIEW -d pettracker://pet-tracker.fi/home
Note: pettracker://pet-tracker.fi/home is our deeplink , It redirects user to specific fragment.
If you want to send parameter with it , you can use following deeplink
adb shell am start -a android.intent.action.VIEW -d pettracker://pet-tracker.fi/track/Fluffy
After These operations finished , We can start integration to related app.If you want to create HAG ability , you must have Entertainment account.otherwise you never see Huawei Ability Gallery panel on console.
While We begin to create app ability , we have to select countries/regions for release the ability.There are three region Europe,Russia and AALA(Asia-Africa-Latin America).
Note: If your ability needs to serve two countries or regions covered by different sites, create it on both sites. For example, if you want to server both Morocco and France, create an ability on Huawei Ability Gallery (AALA) and Huawei Ability Gallery (Europe).
After selecting a site, you will be prompted to sign the Huawei Ability Gallery Service Agreement. Click App ability, set required parameters, and click Create.(Ability Name has to contain app name .For example your App name Pet Tracker , your app Ability name can be Pet Tracker Ability)
Select countries/regions for release.You can also create an ability for each operations region independently.
We must configure an interaction model.Interaction model page includes ability name ,ability category and ability trigger mode.Under this page you determine trigger mode . For example keyword trigger mode. User can search your app in HiSearch on Huawei assistant page .If your user’s intent matches declared keyword your app ability displayed on screen.
We can configure a deep link that redirects a user from an ability icon to an app on Lint settings page. The deep link can be created for APK or RPK .
Finally Click Ability information page. Fill in basic information and ability display information, and click Save. If Ability information supports multi-language presentation, you can click Manage Languages to select and manage languages, and configure the relevant Ability information.
How can we test created App ability?
Huawei provides us test platform for App abilities.Before releasing an app ability, test its functions and content and make sure that all of them pass the test.
Sign in to Huawei Ability Gallery, go to Test > Release for test, and click Release for test.
We need QR code to test app abilities for this reason click Simulation test to obtain a test QR code. The test QR code is displayed on the right.
After Creating QR code , we can scan it with Our Device.We can do this operation using Huawei Ability test tool. Start Huawei Ability test tool select App Ability, and tap Scan QR Code, and scan the QR code then click search.
After the scanning is successful, set Intent category and Keyword, tap SEARCH, and test the functions and content.
Related Links
HAG Web Page : Link
App Ability Web Page : Link
App Ability Configuration Page : Link
App Ability Design Page : https://developer.huawei.com/consumer/en/doc/development/service/5060600
Thanks to Serkan Mutlu for this article.
Original post: https://medium.com/huawei-developers/huawei-ability-gallery-app-ability-5827c30d1360

Huawei Launches Petal Search, Petal Maps, HUAWEI Docs and More

Huawei today announced new developments to Huawei Mobile Services ecosystem at the HUAWEI Mate 40 Series launch event, launching Petal Search, Petal Maps, HUAWEI Docs, levelling up global Huawei users' digital experience with other new updates.
Hardware and software integration enhances digital lifestyle experience
Huawei’s official search engine app, Petal Search now is available in over 170 countries and regions and supports over 50 languages, letting users conveniently and instantly find out the information and services they need.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Petal Search offers search capabilities across more than 20 categories, including apps, news, videos, images, shopping, flights, and local business. It also develops and integrates various tools, such as weather, calculator, rate exchange and even paper query to help user easily obtain daily-used information. With the new update, the search experience is now visually richer. Search results are presented in information cards, as opposed to simple weblinks, to help users get this wealth of useful information instantly with just a few clicks.
Leveraging Huawei devices’ AI capabilities, Petal Search allows users to search by taking photos or images through its visual search function. It recognises a wide range of objects such as people, animals, and landmarks, and will introduce new capabilities such as plants identification. For instance, user can simply take a photo of a dish and Petal Search will provide the recipe. A voice search feature is also integrated in the app, supporting English, Spanish, French, Arabic and more. These features help Petal Search meet the needs of users accustomed to an efficient and mobile-centric lifestyle.
In addition, with the cooperation with global and local partners, Petal Search is vigorously developing local life search services, to provide users a rich location-based and scenario-based search experience. When user look up for local life content, Petal Search provides users with high-quality and popular localized information, such as personalized recommendations or nearby foods, worth visiting local attractions, and shopping discounts.
Petal Maps, meanwhile, is Huawei’s quality and convenient mapping and navigational tool, offering positioning services, immersive map displays, place searches, driving navigation and favorite place lists to users in over 140 countries and regions. Petal Maps supports map displays in multiple languages, with voice notifications in English, French, Spanish, German, Italian, and Mandarin.
Petal Maps is also equipped with cutting-edge functions to give a real-time publish transit updates in some major cities, helping commuters better plan their routes and take the worry off travelling. Utilizing pioneering technologies such as Super GNSS and image recognition algorithms, Petal Maps further heighten the accuracy and present users the most efficient and least congested routes.
Thanks to HUAWEI Mate 40 Series devices’ Gesture Control, drivers are able to switch between the navigation view and map overview by simply using “air press” towards the screen with their palms. These smart interactions significantly enhance the ease of travel, as well as facilitate a safe driving experience.
HUAWEI Docs, available in more than 100 countries and regions, supports document viewing and editing across over 50 formats including PDF, PPT, and DOC. With real-time syncing enabled by cloud capabilities, HUAWEI Docs lets users seamlessly work on the same document on different devices logged into the same HUAWEI ID, enhancing the smart office experience.
Full suite of Huawei Mobile Services apps to complement digital living
Upgrade on Find Device enables users to locate their Huawei devices such as smartphones, watches, earphones, and glasses. Users can either play a ringtone remotely to help locate the devices, or choose to lock and wipe devices information, protecting user privacy.
HUAWEI Themes introduced exclusive theme packs to enable deeper device personalisation. The first batch of packs includes themes of famous artists, classic literature, and the Ingenuity series Huawei selected.
Supported by 2 million global developers, Huawei Mobile Services ecosystem maintains rapid growth. As one of the top 3 app marketplace globally, AppGallery continues to bring together popular global and local apps to over 500 million monthly active users. HUAWEI Quick App also reach a 260% year-on-year increase of monthly active users for its tap-to-use and installation-free experience.
(Note: For accessories supported by Find Device, please visit the official HUAWEI website for more details.)
Media:
Download All
About Huawei Consumer BG
Huawei’s products and services are available in more than 170 countries and are used by a third of the world’s population. Fifteen R&D centres have been set up in the United States, Germany, Sweden, Russia, India and China. Huawei Consumer BG is one of Huawei’s three business units and covers smartphones, PC and tablets, wearables and cloud services, etc. Huawei’s global network is built on almost 30 years of expertise in the telecom industry and is dedicated to delivering the latest technological advances to consumers around the world.
For more information please visit: https://consumer.huawei.com
For regular updates on Huawei Consumer BG, follow us on:
Facebook:https://facebook.com/huaweimobile
Twitter:https://twitter.com/huaweimobile
YouTube:https://youtube.com/huaweimobile
Instagram:https://instagram.com/huaweimobile
Does it supports offline?

More Cool Features in the All-new Petal Search

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Petal Search is a search engine which provides Huawei HMS device users with quick and easy access to millions of apps and a massive amount of information. It's available in more than 170 countries and regions, and supports over 50 languages. Petal Search is powered by all kinds of advanced technologies, including big data, AI, and NLP (Natural Language Processing).
With Petal Search, you can search for apps and information across a wide range of categories, including news, videos, shopping, travel, and images. It also provides you with information about local services, like nearby restaurants and other points of interest (POIs). Your search results are presented in information boxes, rather than large blocks of text, so you can find what you're looking for more easily. You can even monitor the stock market or follow a football match without any hassle. As if this wasn't enough, there are lots more cool features for you to try, such as interface customization, Dark mode, Favorites, and Child mode.
Petal Search's latest version 10.1.6 integrates even more local services for your everyday needs. For instance, if you're in Singapore, you can type "umbrella" into the search bar, and Petal Search will show you the nearest place where you can borrow an umbrella. Or, if you're from the Philippines and you search "lottery", Petal Search will show you the lottery results, and you can filter content by time and category to quickly find the numbers you're looking for.
Petal Search supports voice searches in 16 countries: India, Malaysia, the Philippines, Singapore, Mexico, Colombia, Chile, Spain, Ireland, France, Germany, Italy, South Africa, Saudi Arabia, Egypt, and the United Arab Emirates. You can find a huge range of content, such as weather forecasts, flights, hotels, and restaurants, by simply saying what you're looking for. This is particularly useful in situations when you can't type. You can even book a flight ticket directly in Petal Search.
Petal Search also has a visual search feature. To search by image, just open Petal Search, and tap the camera icon in the main search bar. You can then take a photo with your camera, or choose one from your gallery. When you search for a product – let's say a houseplant – Petal Search picks out details about the plant from the photo you upload, and processes the image data. You can then see how much it costs and where to buy it, and Petal Search will even return images of other plants which look similar.
What's more, Petal Search is capable of searching for and detecting multiple objects in an image at the same time. For instance, when you take a photo of a sofa with a blanket and cushion on it, Petal Search can identify all three items at the same time, and deliver comprehensive search results in a single list. This means you don't have to take tons of photos and search for them individually. Visual search technology makes shopping so much easier!
With Petal Search, you can literally find millions of apps, and a wealth of information, with ease. There's a search bar widget you can set up on your home screen, which saves you the hassle of opening dozens of apps and browser windows before you find what you're looking for. Better yet, Petal Search will tell you in the Downloads section whenever an update is available, so you'll always be running the latest version of your apps.
If you have any questions about how to use Petal Search, you can find answers on the Online support page. If you'd like to tell us anything about the app's content, features, and performance, you can submit your feedback and suggestions on the Feedback page. We can't wait to hear from you!
Petal Search is compliant with GDPR privacy security standards, and has been awarded the ePrivacyseal for keeping your data safe. It also conforms to local privacy and security requirements, so you can relax and enjoy a secure and reliable search experience.
We're always working on improving and expanding the features of the Petal Search app, and making it available in even more countries. In the coming months, we'll be testing and rolling out a range of new features which will enhance the accuracy of the search results and provide you with an even greater searching experience.
Click on this link below to learn more about Petal Search!
Petal Search - HUAWEI Global
Meet Petal Search, an AI-powered mobile search engine that makes it easy to find virtually anything online, from news and nearby services, to great shopping offers, travel deals, and more.
consumer.huawei.com
For details about Huawei developers and HMS, visit the website.
HUAWEI Developer Forum | HUAWEI Developer
forums.developer.huawei.com
I didn't know it but it seems interesting.
Very useful.

Huawei Ability Gallery - App Ability

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​What is Huawei Ability Gallery (HAG)?​Huawei Ability Gallery is a core capability of the HMS Core ecosystem. HAG creates more convenient experience for users and enables more efficient service distribution for developers, achieving a win-win-win situation for users, developers, and Huawei.
What are HAG Abilities?​Abilities link user intent with various service offerings. Developers define abilities in Huawei Ability Gallery, and users can use these abilities on Huawei devices or through other traffic entries.
HAG provides developers three abilities type
App Abilities: App abilities are presented by icon, and developers must provide deep links to the associated apps.
Card Ability: Developers use quick app development technology to develop ability cards (including data processing and display logic), and abilities are displayed as cards. Information can be displayed in card mode.
Content Ability: Huawei Ability Gallery obtains data from developers’ servers through APIs and provides content abilities for Huawei products. Huawei products then present the abilities as defined. Content abilities can be presented by card or voice.
What is App Ability?
App Abilities which are represented by an icon are used to redirect user to application. We can use app Ability with APK and RPK. All app abilities are shown at Instant Access panel inside Huawei Assistant page.
Note : You have to enable Huawei Assistant today to use Assistant Page
We need to open Huawei assistant page to use it. You should follow this way to change state of it : Settings -> Home Screen & Wallpaper ->Home screen settings -> Huawei Assistant today . Huawei Assistant today must be enabled to use related page. After this you can reach related page
First of all you should open first page of Device and then you should try to change screen left to right. If Page opens , Your settings is correct .Unless Page open , You need to check Huawei Assistant Today setting.
Global Search : We can use it to search something .
Instant Access : Users click the icon or banner and redirect to APP/Quick App.
Smart care : there are smart cards recommended by the system to serve the users. Cards and contents abilities are displayed at here.
App abilities can be created as Dynamic or Static ;
Static app abilities are represented by an icon and it redirects user to related app.
Note : If related app is Native application(APK) , App must be installed to use app abilities . If App ability is created for Quick app (RPK) , users don’t need to install app firstly.
Dynamic app ability can be used to send parameter to application via HiVoice. For example , When the users want to open an application using specific parameter like Hotel name, book name, music name, etc. Dynamic App abilities can be used .They just need to define parameters inside redirect parameters .You can define many parameters inside there.
Also We can trigger our app using app keyword with HiVoice . If your app ability supports multi languages , You can define many keywords for different language.
Note : Maximum of 10 keywords can be configured for each language.
Note : HiVoice uses Celia. currently Celia is available in P40 and following languages and regions:
Languages: English (UK), French (France), Spanish (Spain)
Countries / Regions: United Kingdom, France, Spain, Chile, Mexico, Colombia
Detail : You can follow link to get more information for Celia : Link
How can we create an app Ability?​Note : If you want to create ability , you need to have Entertainment Account .You can create app ability inside 1 or 2 days.
While we create an app ability , We must follow specific way.
Firstly, app ability’s icon should be designed. Design operation has many restriction like size , color , icon border type ,etc.
If you need to get more information , you will follow this link (Icon Design Rules).
We need to create deeplink to redirect users. Redirection URL in a deep link,
Under this line you can see correct formats for Both APK and RPK solution:
huawei://
com.huawei://
com.huawei://hag
com.huawei://hag/app/ability
com.huawei://hag/ability?type=app&test=1
Note : RPK and APK have different deeplink integrations.
If you want to create deeplink for APK ,you can define them inside activity or Navigation XML files.I want to give an example for it :
​On the other hand You want to create deeplinks to Quick app , You can use quick app package path.
After add path parameter under Router , You can define deeplink like : hwfastapp://appPackageName
How can we test deeplinks ?​We can test deep-links with adb . If There is no problem on deeplink, Your Application is opened . You can use CMD to work with ADB commands .Also following code helps you for testing deep-link
adb shell am start -a android.intent.action.VIEW -d deepLink
Examples Of Adb Commands :
adb shell am start -a android.intent.action.VIEW -d pettracker://pet-tracker.fi/home
Note : pettracker://pet-tracker.fi/home is our deeplink , It redirects user to related screen.
If you want to send parameter with app ability, you can use following deeplink
adb shell am start -a android.intent.action.VIEW -d pettracker://pet-tracker.fi/track?param=Buddy
After These operations are finished , We can start integration for related app.
While We begin to create app ability , we have to select countries/regions for release the ability. There are three region Europe, Russia and AALA(Asia-Africa-Latin America).
Note : If your ability needs to serve two countries or regions covered by different sites, create it on both sites. For example, if you want to server both Morocco and France, create an ability on Huawei Ability Gallery (AALA) and Huawei Ability Gallery (Europe).
After selecting a site, you will be prompted to sign the Huawei Ability Gallery Service Agreement. Click App ability, set required parameters, and click Create.(Ability Name has to contain app name .For example your App name Pet Tracker , your app Ability name can be Pet Tracker Ability)
Select countries/regions for release. You can also create an ability for each operations region independently.
We must configure an interaction model. Interaction model page includes ability name ,ability category and ability trigger mode. Under this page you determine trigger mode . For example keyword trigger mode. User can search your app in HiSearch on Huawei assistant page .If your user’s intent matches declared keyword your app ability displayed on screen.
We can configure a deep link that redirects a user from an ability icon to an app on Lint settings page. The deep link can be created for APK or RPK .
Finally Click Ability information page. Fill in basic information and ability display information, and click Save. If Ability information supports multi-language presentation, you can click Manage Languages to select and manage languages, and configure the relevant Ability information.
How can we test created App ability ?​Huawei provides us test platform for App abilities.Before releasing an app ability, test its functions and content and make sure that all of them pass the test.
Sign in to Huawei Ability Gallery, go to Test > Release for test, and click Release for test.
We need QR code to test app abilities for this reason click Simulation test to obtain a test QR code. The test QR code is displayed on the right.
After Creating QR code , we can scan it with Our Device.We can do this operation using Huawei Ability test tool. Start Huawei Ability test tool select App Ability, and tap Scan QR Code, and scan the QR code then click search.
After the scanning is successful, set Intent category and Keyword, tap SEARCH, and test the functions and content.
Related Links​HAG Web Page : Link
App Ability Web Page : Link
App Ability Configuration Page : Link
App Ability Design Page : Link

Improve Your E-commerce App’s User Retention and Conversion with Intelligent Search and Recommendation

How do users quickly find what they want when shopping online?
When users launch an e-commerce app and know what they want to buy, they’ll most likely perform a text, voice, or image search of the exact items they want to purchase. However, if the users do not know what they want to buy, they’ll most likely browse through products recommended by the app. Whether users are willing to make a purchase depends on their search experience in the first scenario and how well you know their preferences in the second scenario. This is why intelligent search and recommendation has become a critical feature in helping users quickly find what they want and thereby improving user retention and conversion.
Utilizing Petal Search’s fully open capabilities, HUAWEI Search Kit offers a one-stop solution for e-commerce apps to quickly and accurately recommend what users want, ensure an accurate and efficient mobile app search experience, and provide personalized search services through deep learning of user and product profiles. Search Kit also offers multi-language support for our ecosystem partners.
1. Quickly building an on-site search engine
Search by keyword
Search Kit equips your e-commerce app with capabilities such as popular search, auto suggestion, intelligent sorting, and search by category.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Currently, search by keyword is supported in 32 languages. It is available to e-commerce apps operating both inside and outside the Chinese mainland, and facilitates the deployment of Chinese e-commerce apps outside the Chinese mainland.
Search by image
When a user searches for a product using an image, Search Kit returns accurate and personalized results based on the image and the user's behavior profile.
Images that users use for product search are automatically reviewed and those that contain pornography, terrorism, politics, religion, illegal items, or vulgar content are automatically recognized and filtered out. Search Kit’s image filter function has currently been individually adapted for 30 countries and regions around the world.
Search by voice
Utilizing the automatic speech recognition (ASR) capability, Search Kit features voice input, search by voice, and an in-app voice assistant.
Currently, the following languages are supported: English, Spanish, German, French, Italian, Turkish, Russian, Arabic, Portuguese, and Chinese. Search by voice can also be tailored to local accents.
2. Intelligent on-site recommendation in multiple scenarios
By analyzing user search history and preferences, Search Kit recommends products to users and displays the search results intelligently. Recommended products are displayed on the home page, category page, product details page, and shopping cart page to help boost the order conversion rate.
3. Search solutions for e-commerce apps
Comprehensive hosting service: Offers easy data integration and operation, freeing you from having to invest resources into complicated data processing or deep learning modeling.
AI support: Provides powerful AI modeling support with Huawei's rich experience in intelligent product search and recommendation.
Data value optimization: Optimizes the value of structured data, non-structured data, and user event data.
Multi-scenario recommendation: Recommends products throughout the whole purchase process from browsing products on the home page, placing an order, to viewing the delivery status.
Customizable policies: Allows you to customize the search and recommendation policies by modifying relevant parameters.
Secure data and models: Ensures that the data and models generated for your app are isolated from those of other e-commerce apps and can be deleted anytime.
In summary, Search Kit provides e-commerce apps with end-to-end e-commerce solutions and cloud services, allowing you to quickly roll out your own e-commerce apps and create and configure resources in a matter of minutes.
Click here to learn more about Search Kit
To learn more, please visit:
HUAWEI Developers official website
Development Guide
Reddit to join developer discussions
GitHub or Gitee to download the demo and sample code
Stack Overflow to solve integration problems
Original Source

Categories

Resources