Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Bitmap Annotations does not show image

More
11 years 1 month ago #9403 by Haktic
I am parsing the bitmap by following method,
private Bitmap linkIcon = BitmapFactory.decodeResource(getResources(), R.drawable.linkhighlight);
While linkhighlight is a png image in my res folder in sdk.
More
11 years 1 month ago - 11 years 1 month ago #9404 by Davide
Do you have a Premium License?

The Bitmap you create is not null?
For more info about NewImage method check this: www.radaeepdf.com/documentation/javadocs...cument.html#NewImage (Bitmap, boolean)
Last edit: 11 years 1 month ago by Davide.
More
11 years 1 month ago - 11 years 1 month ago #9405 by Haktic
Yes I have Premium license and its approved,
As I have mentioned Image first loads perfect, it makes problem when once closed the pdf and opened again. So there must be a problem in my code.
Have tried your suggested code, corrected the bitmap format but now Page.ResImage rimage = page.AddResImage(docimage);
is returning null,
Last edit: 11 years 1 month ago by Haktic.
More
11 years 1 month ago #9406 by Davide
In your code try to remove the last page.ObjsStart();
More
11 years 1 month ago #9409 by Haktic
I have tried removing this as well, this cause more problems, now the pdf got stucks, My Image Caching is OK, It Display's the image bitmap annotation perfectly for the first time, but now its making the blue overlay darker and darker, once i open pdf again after closing it.

The code link you have mentioned didn't work, it returns null pointer on the line i have mentioned. Please suggest any solution thanks.
More
11 years 1 month ago #9414 by Haktic
Hi I have Professional Active license not the Premium Licensee. can that work of image annotations ?
Time to create page: 0.380 seconds
Powered by Kunena Forum