Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
This article gives you an idea of getting started with Aspose.Words for Android via Java. It will demonstrate how to set up a new Android project from scratch, add a reference to the Aspose.Words JAR and create a new document which is saved to disk in DOCX format. This example uses Android Studio for development and the application is run on the Android Emulator. To get started with Aspose.Words for Android via Java, please follow this step-by-step tutorial to create an app which uses Aspose.Words for Android via Java:
import java.io.File;
import com.aspose.words.Document;
import com.aspose.words.DocumentBuilder;
import android.os.Environment;
try
{
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.writeln("Hello World!");
String sdCardPath = Environment.getExternalStorageDirectory().getPath() + File.separator;
doc.save(sdCardPath + "Document Out.docx");
}
catch (Exception e)
{
e.printStackTrace();
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.