applibgroup / HarmonyOS-Knowledgebase

This repository contains code samples of HarmonyOS Training
Apache License 2.0
15 stars 6 forks source link

How to test the working of loadLocalImage function in FrescoImageView library #48

Open cs1180369 opened 3 years ago

cs1180369 commented 3 years ago

Describe the query

I am building a HarmonyOS library FrescoImageView and In process of testing various functions, I am unable to test this loadLocalImage function.

loadLocalImage is a function that loads images from the emulator/phone gallery.

I have sent files to the emulator using hdc file send, Suggest a method to test this function with a gallery image, camera image, internal image etc.

Additional information

Developer Platform: Windows DevEco Studio version: 2.1.0.303 SDK API version: 5 SDK version: 2.1.1.21 Device: Not Required Device OS version: Not Required

Regards, Jaswanth Ram.

kanaksony commented 3 years ago

@sharathks84 Can you provide insights on above?