- Posts: 20
- 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
SaveAs method always returns False.
9 years 5 months ago #11246
by sbettal
SaveAs method always returns False. was created by sbettal
Hi,
public boolean SaveAs(String path, boolean rem_sec) {
return saveAs(hand_val, path, rem_sec);
}
The above method of Document class always returns false. So i am unable to save the pdf to new location. I stuck here.
public boolean SaveAs(String path, boolean rem_sec) {
return saveAs(hand_val, path, rem_sec);
}
The above method of Document class always returns false. So i am unable to save the pdf to new location. I stuck here.
9 years 5 months ago #11247
by support
Replied by support on topic SaveAs method always returns False.
Some check:
- are you activating a Premium license?
- are you using an absolute path?
- are you sure the destination path writable?
May you show the code you're using?
- are you activating a Premium license?
- are you using an absolute path?
- are you sure the destination path writable?
May you show the code you're using?
9 years 5 months ago #11248
by sbettal
Replied by sbettal on topic SaveAs method always returns False.
Yes activated Premium license.
yes using absolute path. And the same code is working fine in other build.
public boolean pdfSaveAs(String path) {
return m_doc.SaveAs(path, true);
}
And destination path is writable.
yes using absolute path. And the same code is working fine in other build.
public boolean pdfSaveAs(String path) {
return m_doc.SaveAs(path, true);
}
And destination path is writable.
9 years 5 months ago #11249
by support
Replied by support on topic SaveAs method always returns False.
Are you running it on a 6.0 environment/device?
Have you provided full writing grant using 6.x style permissions?
Have you provided full writing grant using 6.x style permissions?
9 years 5 months ago #11250
by sbettal
Replied by sbettal on topic SaveAs method always returns False.
Yes and i have given permission write and read.
9 years 5 months ago #11251
by support
Replied by support on topic SaveAs method always returns False.
Are you asking for permission within the code like
developer.android.com/training/permissions/requesting.html
.
And may you confirm: are you on Android 6.x+?
Sorry if I insist, I'm trying to retrive as much information as possible.
And may you confirm: are you on Android 6.x+?
Sorry if I insist, I'm trying to retrive as much information as possible.
Time to create page: 0.373 seconds