【问题标题】:ImageDownloadService.createImageToStorage codename one not workingImageDownloadService.createImageToStorage 代号之一不起作用
【发布时间】:2015-03-27 00:25:25
【问题描述】:
ImageDownloadService.createImageToStorage(PhotoUrl, 
                                          mb.getIconComponent(),
                                          "News_" + (String)entry.get("Id")+".png", 
                                          new Dimension(imageWidth,imageHeight));

在我的 createEntry 函数中返回 MultiButton,但它不起作用!我的按钮没有图标,我的代码有什么问题?

【问题讨论】:

    标签: codenameone


    【解决方案1】:

    你打开网络管理器看看发生了什么?

    您可以使用 URLImage,因为您已经知道图像的尺寸及其技术优势http://www.codenameone.com/3/post/2014/03/image-from-url-made-easy.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-20
      • 2019-08-22
      • 2017-04-17
      • 2017-01-13
      • 1970-01-01
      • 2017-12-05
      • 2023-04-04
      相关资源
      最近更新 更多