I have tried to run sample code available at following path, with my trial license:
https://github.com/asposeslides/Aspose_Slides_Android/tree/master/QuickStart/HelloWorldApp
I am getting File not found exception in presentation.write line.
I have also tried to put PPTX file with same name, then it is giving me Access permission denied. I have verified the directory in SDCARD have read and write access.
Can you please guide me to run the sample? I am using aspose.slides-1.1.0.jar library.
Do you any running sample ready or have any updated version?
Regards
Sarva Daman Singh
Hi Sarva Daman Singh,
Thanks for your interest in Aspose.Slides.
I have worked with the sample application on my end by using Galaxy Nexus as virtual devise. I have used the following path on my end for storing the generated presentation.
static String path = Environment.getExternalStorageDirectory().getPath()+"/";
This path maps to “/sdcard/storage/” on my virtual devise and I am able save the presentation on that without any issue. I suggest you to please try using the suggested path as it is working fine on my end. Please note that I am using default security settings and have not set or reset the write or read access for storage.
Many Thanks,