View or Update RTF Metadata Online or Update via Android Apps
Develop powerful android based RTF document metadata management utility application. Code listed for updating RTF file metadata through Java.
View or Update RTF Metadata Online
- Import RTF file by uploading it.
- Do it by clicking inside the drop area via drag and drop of metadata app.
- Depending on the size of RTF file and internet speed wait for few seconds.
- Same page will display metadata.
- Edit the properties as of your choice.
- Save the document.
- Download the file instantly.
Update RTF Properties via Android App
- Add android library reference into project
- Load RTF file using Document class.
- Get all via getCustomDocumentProperties() and getBuiltInDocumentProperties()
- Use the setValue method to update properties
- Save the file with updated metadata using save() method
Code : Update RTF Metadata
Document doc = new Document("SampleProps.docx"); | |
CustomDocumentProperties custProps = doc.getCustomDocumentProperties(); | |
if (custProps.get("Reviewed") != null) { | |
custProps.get("Reviewed By").setValue("Mart"); | |
custProps.get("Reviewed Date").setValue(new java.util.Date()); | |
} | |
BuiltInDocumentProperties documentProperties = doc.getBuiltInDocumentProperties(); | |
documentProperties.get("Pages").setValue(doc.getPageCount()); | |
documentProperties.get("Comments").setValue("Document Comments"); | |
documentProperties.get("Title").setValue("Document Title"); | |
// Save the output file | |
doc.save("Output.docx"); |
Develop RTF Metadata Management Android App
Need to develop a RTF Metadata management app or utility? With
Aspose.Words for Android via Java
a child API of
Aspose.Total for Android via Java
, any android developer can integrate the above API code within its document metadata application. Powerful android library allows programming any document metadata solution. Moreover it can support many popular formats including RTF format.
Android Utility to Manage RTF Metadata
- We host our Java packages in Maven repositories .
- Aspose.Words for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Words for Android via Java.
System Requirements
- Java SE 7 and more recent Java versions are supported.
- Separate package for Java SE 6 in case one is obliged to use outdated JRE.
- Java package is cross-platform and runs on all operating systems with JVM implementation.
- Operating systems include Microsoft Windows, Linux, macOS, Android and iOS.
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/words/java/system-requirements/).