- Posts: 16
- Thank you received: 0
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
11 years 1 month ago #9403
by Haktic
Replied by Haktic on topic Bitmap Annotations does not show image
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.
private Bitmap linkIcon = BitmapFactory.decodeResource(getResources(), R.drawable.linkhighlight);
While linkhighlight is a png image in my res folder in sdk.
11 years 1 month ago - 11 years 1 month ago #9404
by Davide
Replied by Davide on topic Bitmap Annotations does not show image
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)
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.
11 years 1 month ago - 11 years 1 month ago #9405
by Haktic
Replied by Haktic on topic Bitmap Annotations does not show image
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,
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.
11 years 1 month ago #9406
by Davide
Replied by Davide on topic Bitmap Annotations does not show image
In your code try to remove the last page.ObjsStart();
11 years 1 month ago #9409
by Haktic
Replied by Haktic on topic Bitmap Annotations does not show image
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.
The code link you have mentioned didn't work, it returns null pointer on the line i have mentioned. Please suggest any solution thanks.
Time to create page: 0.380 seconds