Drawable d =
Drawable.createFromPath("e:\\Config\\$NetRadioCovers\\Other\\96.7
Ashbourne Radio.jpg");
This returns null, even though the path is correct.
Any ideas on how to do it?
I am not familiar with the Android API, but I would try reading the
JPG in several utilities to see if any complain it is not quite
kosher. Load/Save sometimes cleans out weirdnesses.
Try converting to png. If it works, I am correct.
JPG is an old format and more abused.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Capitalism has spurred the competition that makes CPUs faster and
faster each year, but the focus on money makes software manufacturers
do some peculiar things like deliberately leaving bugs and deficiencies
in the software so they can soak the customers for upgrades later.
Whether software is easy to use, or never loses data, when the company
has a near monopoly, is almost irrelevant to profits, and therefore
ignored. The manufacturer focuses on cheap gimicks like dancing paper
clips to dazzle naive first-time buyers. The needs of existing
experienced users are almost irrelevant. I see software rental as the
best remedy.