- Posts: 15
- 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
Document.NewImage always return true
IP: 89.190.191.227
7 years 1 day ago #14559
by Righetti
Document.NewImage always return true was created by Righetti
I I m testing your library with demo license key "premium license", I change my app id like "com.radaee.reader" but when I try to insert an image in document the API "NewImage" always return true and the setCache always return false too.
I can write on the app file system, my code write some files ok I don't think that's problem is for security permission.
I need to test this functionality for decide to buy the license for developing a project.
Can You help me?
Thanks in advance
I can write on the app file system, my code write some files ok I don't think that's problem is for security permission.
I need to test this functionality for decide to buy the license for developing a project.
Can You help me?
Thanks in advance
IP: 111.196.247.207
7 years 1 day ago - 7 years 1 day ago #14561
by radaee
Replied by radaee on topic Document.NewImage always return true
current version, no need setCache before NewImage call.
if no setCache called, it generate compress data in memory.
but we still recommand that you call this method, because memory size is limited.
if setCache always return false the possible reason is:
1.it maybe setCache already invoked.
2.path is invalid or file can't be written.
if no setCache called, it generate compress data in memory.
but we still recommand that you call this method, because memory size is limited.
if setCache always return false the possible reason is:
1.it maybe setCache already invoked.
2.path is invalid or file can't be written.
Last edit: 7 years 1 day ago by radaee.
IP: 89.190.191.227
6 years 11 months ago #14567
by Righetti
Replied by Righetti on topic Document.NewImage always return true
The problem is not the api "setCache" or "newImage" I found that all the API that request to modify or save PDF always return "false" or NULL.
I know that for use some API I have to set my package ID as "com.radaee.reader", I do that, (my license type is set to "2" 'premium license') but the result is the same!!!
I need to test this functionality before decide to buy a regular license.
Please help me.
Thanks in advance.
Tommaso.
I know that for use some API I have to set my package ID as "com.radaee.reader", I do that, (my license type is set to "2" 'premium license') but the result is the same!!!
I need to test this functionality before decide to buy a regular license.
Please help me.
Thanks in advance.
Tommaso.
IP: 37.183.44.177
6 years 11 months ago #14568
by support
Replied by support on topic Document.NewImage always return true
May you paste your code?
Have you looked at www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=27 ?
or www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=28 ?
Have you looked at www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=27 ?
or www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=28 ?
IP: 111.196.247.207
6 years 11 months ago #14569
by radaee
Replied by radaee on topic Document.NewImage always return true
if save always return false, mean the file can't be written.
no access right to sdcard? or using Document.OpenStream() with readonly stream object?
no access right to sdcard? or using Document.OpenStream() with readonly stream object?
IP: 37.183.44.177
6 years 11 months ago #14570
by support
Replied by support on topic Document.NewImage always return true
Yes, I confirm: save api fails when the document is not writable.
Some double check (I know you already provided such details... but better to recap):
- are you asking for explicit (not only in the manifest) r/w access to storage?
- are you able to run the demo project, add an annotation and save it on the file?
- which kind of file access are you using? memory blob, stream, direct file system access?
- which device/operating system are you using?
Some double check (I know you already provided such details... but better to recap):
- are you asking for explicit (not only in the manifest) r/w access to storage?
- are you able to run the demo project, add an annotation and save it on the file?
- which kind of file access are you using? memory blob, stream, direct file system access?
- which device/operating system are you using?
Time to create page: 0.584 seconds