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.

More
9 years 5 months ago #11246 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.
More
9 years 5 months ago #11247 by support
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?
More
9 years 5 months ago #11248 by sbettal
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.
More
9 years 5 months ago #11249 by support
Are you running it on a 6.0 environment/device?
Have you provided full writing grant using 6.x style permissions?
More
9 years 5 months ago #11250 by sbettal
Yes and i have given permission write and read.
More
9 years 5 months ago #11251 by support
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.
Time to create page: 0.373 seconds
Powered by Kunena Forum