All Projects → HMS-Core → hms-toolkit-convertor

HMS-Core / hms-toolkit-convertor

Licence: Apache-2.0 License
Convertor is a code conversion tool supporting Java and Kotlin projects. It helps developers to automatically convert GMS APIs called by apps into corresponding HMS APIs, implementing quick conversion and HMS integration.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to hms-toolkit-convertor

hms-location-demo
HUAWEI Location Kit sample code encapsulates APIs of the HUAWEI Location Kit. It provides many sample programs for your reference or usage.
Stars: ✭ 32 (+10.34%)
Mutual labels:  huawei, hms
hms-computer-graphics-demo
This is the demo project of CGKit(Short for computer graphics kit). CGKit is a vulkan-based rendering framework, which is designed to improve performance of vulkan devices, especially for Android platform. This project will show you how to load textures, models, add pbr effects and render with vulkan.
Stars: ✭ 19 (-34.48%)
Mutual labels:  huawei, hms
hms-video-editor-demo
HUAWEI Video Editor Kit provides full video editing functions like video import/export, editing and rendering. This sample code is used to describe how to integrate the Video Editor Kit SDK.
Stars: ✭ 45 (+55.17%)
Mutual labels:  huawei, hms
hms-av-pipeline-demo
HUAWEI AV Pipeline Kit sample code project, which contains the Java sample code to implement functions like video playback, video super-resolution and media asset management. C++ sample code is contained for calling MediaFilter to use the sound event detection plugin.
Stars: ✭ 14 (-51.72%)
Mutual labels:  huawei, hms
hms-3d-modeling-demo
HUAWEI 3D Modeling Kit project contains a sample app. Guided by this demo, you will be able to implement full 3D Modeling Kit capabilities, including 3D object reconstruction and material generation.
Stars: ✭ 45 (+55.17%)
Mutual labels:  huawei, hms
huawei-account-demo
Sample code for quickly integrate Huawei ID. HUAWEI Account Kit provides developers with simple, secure, and quick sign-in and authorization functions.
Stars: ✭ 39 (+34.48%)
Mutual labels:  huawei, hms
map-kit-android
An extensive framework for map development in Android.
Stars: ✭ 44 (+51.72%)
Mutual labels:  huawei, hms
hms-ads-demo-kotlin
HUAWEI Ads Kit Sample code in kotlin version, which provides the banner, native, rewarded, roll, interstitial and splash ad formats for integration
Stars: ✭ 16 (-44.83%)
Mutual labels:  huawei, hms
hms-safetydetect-demo-android
SafetyDetect Sample provides many sample programs for your reference or usage.This example demonstrates how to integrate services provided by Safetydetect Kit, such as APPchecks, URLcheck, Userdetect, Wifidetect.
Stars: ✭ 16 (-44.83%)
Mutual labels:  huawei, hms
hms-react-native-plugin
This repo contains all of React-Native HMS plugins.
Stars: ✭ 167 (+475.86%)
Mutual labels:  huawei, hms
hms-health-demo-kotlin
HMS Health demo code provides demo programs for your reference or usage. Developers can access the Huawei Health Platform and obtain sports & health data by integrating HUAWEI Health.
Stars: ✭ 21 (-27.59%)
Mutual labels:  huawei, hms
hms-scene-demo
HMS Scene kit demo provides an example of integrating HUAWEI Scene Kit with an app. A 3D graphics rendering engine performs more with less. User-friendly rendering APIs for games, AR & VR apps, and other apps bring your users a stunning visual experience.
Stars: ✭ 18 (-37.93%)
Mutual labels:  huawei, hms
hms-health-demo-java
HMS Health demo code provides demo programs for your reference or usage. Developers can access the Huawei Health Platform and obtain sports & health data by integrating HUAWEI Health.
Stars: ✭ 37 (+27.59%)
Mutual labels:  huawei, hms
hms-push-serverdemo-csharp
C# sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs for your reference or usage.
Stars: ✭ 25 (-13.79%)
Mutual labels:  huawei, hms
hms-cordova-plugin
This repo contains all of Cordova HMS plugins.
Stars: ✭ 78 (+168.97%)
Mutual labels:  huawei, hms
hms-iap-clientdemo-android-studio
This demo app provides all 3 types of product to demonstrate the procedure and capability of Huawei IAP.
Stars: ✭ 36 (+24.14%)
Mutual labels:  huawei, hms
hms-push-serverdemo-php
PHP sample code encapsulates APIs of the HUAWEI Push Kit server.It provides many sample PHP programs about quick access to HUAWEI Push Kit for your reference or usage.
Stars: ✭ 21 (-27.59%)
Mutual labels:  huawei, hms
hms-FIDO-demo-java
HMS FIDO demo, including fido2 demo, bioauthn demo and bioauthn-androidx demo.
Stars: ✭ 17 (-41.38%)
Mutual labels:  huawei, hms
hms-iap-serverdemo
IAP server sample encapsulates APIs of the HUAWEI IAP server. It provides many sample programs for your reference or usage. The repository contains 8 branches of java, csharp, golang, nodejs, perl, php, python and ruby demo.
Stars: ✭ 20 (-31.03%)
Mutual labels:  huawei, hms
hms-analytics-demo-android
HmsAnalyticsKitDemo is a app that applying HUAWEI Hianalytics SDK used for showing how to collect user engagement and user preference.
Stars: ✭ 19 (-34.48%)
Mutual labels:  huawei, hms

HMS Toolkit Convertor

License Apache-2.0

English | 中文

Table of Contents

introduction

Convertor is a code conversion tool supporting Java and Kotlin projects. It helps developers to automatically convert GMS APIs called by apps into corresponding HMS APIs, implementing quick conversion and HMS integration. The HMS Convertor provides the following functions:

  • New Conversion: Automatically converts GMS APIs invoked by an app to HMS APIs.

  • Open Last Conversion: Opens the last conversion result.

  • Save All: Save the corrent project and conversion information.

  • Restore Project: Restores a project with the backup file.

Build

Dependencies

Convertor requires:

  • Gradle(>= 5.2.1)
  • JDK(>= 8)

Run the git clone command to download the code, go to the Convertor/src directory, and run the following command:

$ ./gradlew -p IDE/intellij-plugin buildPlugin

After the build is complete, go to the Convertor/src/IDE/intellij-plugin/build/distributions directory to view the plugin package in .zip format.

Install

Start the IDEA or Android Studio and click the menu bar on the upper left, choose File -> Settings -> Plugins -> Install Plugin from Disk

avatar

select the ZIP plugin package generated during the build.

tips:

You can debug the plugin in the sandbox using the following command:

$ ./gradlew -p IDE/intellij-plugin runIde

For more details, please refer to Usage Guide

Run and Debug on IDE

  1. Clone the repo
git clone https://github.com/HMS-Core/hms-toolkit-convertor.git
  1. If you are using IntelliJ, from the Menu bar, go to File>Open.. and open the src folder inside the project.
  2. Open the build.gradle file, find alternativeIdePath property, uncomment it, and set the install path of the intellij IDE that the plugin will be launched on (in this case android studio)
 intellij {

        // [...] 
        
         /**
         * Uncomment this for Debugging the plugin on Android Studio directly from the IDE (launches in a separate window/instance)
         * From the menu bar: Run>Run (launches instances with plugin installed) or Run>Debug (debug mode)
         *
         * In this case, we are setting the android studio install path, another IDE/path can be used as well.
        .*/
        // alternativeIdePath '/C://Program Files/Android/Android Studio'
        
        
        // [...] 
 }

  1. From the gradle side toolwindow, click the "Reload all Gradle Projects" icon.
  2. Now, you can run by choosing Run>Run (launches instance with plugin installed) or Run>Debug (debug mode)

Code Contributions

To make a contribution to Convertor project, follow these steps.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

HMS Toolkit Convertor is licensed under the Apache License version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].