Split PDF Files Online or using Android App
Develop powerful android based PDF document splitter applications. Freely split documents including PDF files online via app with instant download.
Split PDF Files Online
- Upload PDF File to Split.
- Define the Splitting Criteria.
- Click the “Split” Button.
- Select the output format.
- Download splitted files.
Split PDF File via Android App
- Add Java library into your project.
- Load the PDF document using Document class.
- Loop through the pages in the Document.pages collection and on each iteration
- Create new object of Document class and add the Page using getPages().add(Page).
- Save the page into new file using save() method.
Java Code : Split PDF Files Page Wise
Document pdfDocument = new Document(_dataDir + "SplitToPages.pdf"); | |
int pageCount = 1; | |
for(Page pdfPage : pdfDocument.getPages()){ | |
Document newDocument = new Document(); | |
newDocument.getPages().add(pdfPage); | |
newDocument.save(_dataDir + "page_" + pageCount + "_out" + ".pdf"); | |
pageCount++; | |
} |
Develop PDF File Splitter Application Android App
Need to develop android script or utility app to easily Split PDF files? With
Aspose.PDF for Android via Java
, child API of
Aspose.Total for Android via Java
, any android developer can integrate the above API code to program splitter app. Powerful android library for splitting document supports many popular formats including PDF format such as PDF, Microsoft Word documents, Excel spreadsheets and PowerPoint presentations.
Android PDF Splitter Library
- We host our Java packages in Maven repositories .
- Aspose.PDF for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.PDF for Android via Java.
System Requirements
- Android API 31 and 32
- Android 4.0 and above
- Android Studio and SDK tools
For more details about optional package dependencies, such as JogAmp JOGL, Harfbuzz font engine, Java Advanced Imaging JAI please refer to [Product Documentation](https://docs.aspose.com/pdf/java/system-requirements/).