请问小程序能否直接调用手机端的图片并在相应页面显示?

小程序 文章 2020-08-18 15:01 498 0 全屏看文

AI助手支持GPT4.0

请问小程序能否直接调用手机端的图片并在相应页面显示?Can the applet directly call the picture on the mobile phone and display it on the corresponding page?

请问小程序能否直接调用手机端的图片并在相应页面显示?

具体来说就是在小程序端拍摄了图片,然后将其保存到手机本地端。需要的时候调用手机本地端的图片并予以显示(因为考虑到小程序缓存不足的情况)。请问能否直接调用API去实现呢?

Specifically, the image is taken in the applet side, and then saved to the local side of the mobile phone. When necessary, call the local phone image and display it (because of the insufficient cache of the applet). Can you call API directly to implement it?

回答:

陈宇明:

建议存储在云端,本地容量有限。

悠然~:

不能 小程序不能直接不通过用户操作手机

心平气和:所以如果缓存存不下的话,只能通过云端来实现存储和调用?
stop eating:不懂想干什么
心平气和:本来只想做个前端存储的,但缓存能存的图片太少了,所以想问问能否实现对本地存储的调用.......

-EOF-

AI助手支持GPT4.0