I have a number of tablets in the field that I use for data collection and they are all currently the Samsung TAB S6. Each tablet has a variety of different apps pinned as shortcuts to the home screen depending on the station/environment that tablet is in
Recently, I decided to upgrade a couple tables to the newer Samsung Tab S7+ and I’m running across an issue when trying to pin application shortcut icons to the homescreen. The error that is generated is:
Attempt to invoke virtual method ‘int android.graphics.Bitmap.getWidth()’ on a null object reference
I’m curious if anyone else has come across this issue and if there is a simple fix that I’m not seeing.
Thanks,
-Nieko
Solved! Go to Solution.
FYI, just to follow up on this issue and for others that might run across this problem.
Problem - Application Icon was being saved as a .SVG file format.
Solution - Converted the .SVG icon to .PNG
Thanks,
-Nieko
Please contact support@appsheet.com for help with this.
FYI, just to follow up on this issue and for others that might run across this problem.
Problem - Application Icon was being saved as a .SVG file format.
Solution - Converted the .SVG icon to .PNG
Thanks,
-Nieko
My image is a .jpg so I’m not sure what to check now?
This has occured on two seperate android devices. One is an Oppo phone the other a Samsung galaxy s7.
I’ve got this app on ~30 other employees phones with no issues.
Even though the image was a .jpg it does seem to require a .png file.
This is the first section of the file linked for the icon:
“https://www.appsheet.com:443/fsimage.png?appid=”
.png makes me think it’s only expecting a .png file.
It does seem to work now but one device is having further and I believe completely seperate issues.
User | Count |
---|---|
17 | |
14 | |
8 | |
7 | |
4 |