android-studiohuawei-mobile-serviceshuawei-developersharmonyosdeveco-studio

How to find the alternative class/method for harmonyOS in androidOs?


I am a fresher who works on HarmonyOS where we have to map android imports to respected to HarmonyOs using an excel sheet, which consists of alternative imports but some are missing in that Excel. where can I find all the alternative methods?


Solution

  • There is no direct substitution or mapping between the methods of HarmonyOS and Android. You need to query the official APIs based on the site requirements to find a method that meets the requirements.

    API reference documents provide you guidance in using the APIs of different programming languages, as well as standards and specifications required for app development with these APIs.

    Java API References

    JS API References