We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can not use Aspose.Words for Android v1.12

I use Aspose.Words for Android v1.12 on trial. But I can not run it successfully. The attachment is my demo. Could you please have a look about it?

Hi there,

Thanks for your inquiry. I have tested the scenario and have not found any issue with DocumentViewer code example. Please download the code example from here and import it again into your workspace.

We have now divided the library into following two archives. For example:

  • aspose-words-1.12-android-jdk15.jar: The first one includes public API and its auxiliary methods.
  • aspose-words-1.12-libs-android-jdk15.apk: The second one includes third party jars, basic classes and resources.

To
include Aspose.Words for Android into the project you should place
“aspose-words-1.12-android-jdk15.jar” in the folder “libs” of your
project, and the archive “aspose-words-1.12-libs-android-jdk15.apk” into
the folder “assets”. After that you need to indicate in
“AndroidManifest.xml” file that you are going to use AsposeWords
application as the basic one. Please see the following markup:

…
…
<application 
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:name="com.aspose.words.AsposeWordsApplication"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
…
…

Moreover, I suggest you please increase the heap size of Android device. Hope this helps you.