cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK - low resolution icons

Hi,

I’m trying to use an SAP icon as a default image on an image collection.

The problem is that the icon becomes very pixelated.

The image cell metadata looks like this:

"ImageCell": { "Image": "/mobileapp/Rules/DesignDocuments/GetDesignDocument.js", "OnPress": "/mobileapp/Rules/DesignDocuments/OpenDesignDocument.js", "ImageIsCircular": false, "Title": "{FileName}"},

And the GetDesignDocument.js, if the image is not available, will return "font://". I also tried with the reference to the sap-icon with the same result.

Is there a way to get this image with an higher resolution? In alternative, is there a way to prevent images from becoming bigger than their resolution?

Thank you

Best regards,

Nuno Oliveira

bill_froelich
Product and Topic Expert
Product and Topic Expert

What version of MDK client and on what platform are you testing this out?

0 Kudos

Hi bill.froelich,

We are using version 5.2.4 on Android.

johnmurray
Participant

bill.froelich While I'm not the original poster of this question, I'm having a similar problem. I'm using MDK 6.1.2 and the Android platform. Icons everywhere appear very low resolution for me, not just in Image Collections

Thanks

John

Accepted Solutions (0)

Answers (2)

Answers (2)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

John,

Can you share metadata examples where tou are seeing this?

Bill

johnmurray
Participant
0 Kudos

No problem, here you go bill.froelich. Sorry it is a screenshot of code, the comments box is messing up my code formatting if I try and paste it in. This example page has the problem, with the 3 list items having very low resolution icons on Android, however it is not unique to this page but all the "sap-icon" icons throughout the app.

bill_froelich
Product and Topic Expert
Product and Topic Expert

Thanks. I can work with that. I have found that the code block can't handle formatted text most of the time. I have started making sure my text is always just plan text before pasting into the block. That seems to work best.

johnmurray
Participant

Hi bill.froelich

Did you ever have the opportunity to take a look at this? I was hoping it may have been resolved by 6.2 but unfortunately I'm still experiencing the same problem. Do you have any ideas of what the cause/fix could be?

Thanks,
John

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I have opened in internal issue to investigate this further.

johnmurray
Participant
0 Kudos

Brilliant, thanks bill.froelich . iOS and Web platforms don't appear to be affected, it just seems to be Android.

Thanks
John

miqueias_maia
Participant
0 Kudos

This issue still happening on both platforms.

Until the fix is not being released, do you have a workaround (as icon size or dpi) to indicate?

Thanks.

johnmurray
Participant
0 Kudos

miqueias.maia Unfortunately there is no workaround that I'm aware of. I've currently got an OSS support ticket open with SAP about it, but no resolution so far. Looks like it's luck as to whether it will work on your laptop or not.

michaelhaydock
Participant
0 Kudos
jmurray91

has there been any progress with your ticket?


johnmurray
Participant
0 Kudos

mhaydockvesta

Unfortunately not, SAP don't believe it's their problem which given how infrequently (me, the other person in this thread, and now possibly you too?) this is happening I'd probably agree with to be honest. The problem is I have no idea what to google or look for figuring this one out.

michaelhaydock
Participant
0 Kudos

Yes I see the problem on Android with Bottom navigation icons. When I view the app in iOS it looks fine.

johnmurray
Participant

mhaydockvesta I've just upgraded to MDK 6.3 (including the upgrade of nativescript 8.2.2 -> 8.3.2) and all of my icons are now working properly