Skip to content

Get icon of installed apps on WebOS TV LG kotlin #412

Description

@kun510

I'm making a sample about remote on LG TV using webOS with ConnectSDK. I can remote with some basic command, get the list of installed apps on the TV. The data of each item like this:
{"defaultWindowType":"card","requiredPermissions":["all"],"allowWidget":false,"uiRevision":1,"CPApp":false,"systemApp":true,"version":"1.0.0","enableBackgroundRun":true,"vendor":"LG Electronics, Inc.","enableCBSPolicy":false,"hasPromotion":false,"class":{"hidden":true},"tileSize":"normal","icon":"https://192.168.5.253:3001/resources/222fe81584d0dda9a0b9b7951e9206581c1409d9/AirPlay_Icon-77x77.png","lockable":true,"privilegedJail":false,"useCORSWhitelist":"cors_whitelist.json","checkUpdateOnLaunch":true,"transparent":true,"handlesRelaunch":false,"spinnerOnLaunch":true,"id":"airplay","unmovable":false,"inspectable":false,"mediaExtension":{"mse":{"enableSourceBufferFlush":true,"maxVideoSourceBuffer":150,"disableVideoIntrinsicSize":true,"enableServerSideTrick":true}},"inAppSetting":false,"trustLevel":"trusted","mediumLargeIcon":"AirPlay_Icon-115x115.png","title":"AirPlay","deeplinkingParams":"{"contentTarget" : "$CONTENTID"}","noSplashOnLaunch":true,"visible":false,"accessibility":{"supportsAudioGuidance":true},"folderPath":"/usr/palm/applications/airplay","networkStableTimeout":0,"main":"launch.html","removable":false,"type":"web","disableBackHistoryAPI":true,"installTime":0}
2024-03-29 13:57:47.123 9057-9057

With above data, I have url of icon: https://192.168.5.253:3001//resources//222fe81584d0dda9a0b9b7951e9206581c1409d9//AirPlay_Icon-77x77.png
But I can't get icon from this url
I can't find any document about this.
Can anyone help me?
Thanks a lot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions