1

I use setIconUri set a online Image URL at MediaDescriptionCompat Builder like this

MediaDescriptionCompat.Builder builder = new MediaDescriptionCompat.Builder();
builder.setMediaId(item.getlistId());
builder.setTitle(item.getlistName());
builder.setIconUri(Uri.parse(item.getlistIconM()));
Bundle bundle = new Bundle();
bundle.putInt(BUNDLE_KEY_MEDIA, R.string.title_theme);

then the Image of MediaItem display perfect at Android Auto, but not at Android Wear, why ? and what should I do fixed this issue ?

Allen Kuo
  • 13
  • 3

1 Answers1

2

Android Wear only loads remote URLs from https - if you are using http URLs, you should switch to https.

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443