Error when opening X Mobile on Android - "Cannot display PDF"

Problem

If you try to open X Mobile on an Android device and you receive the error "Cannot Display PDF (XMobile.jad is of invalid format)," this indicates that Drive PDF Reader has been selected to open the .jad file type, and you will not be able to launch X Mobile. 

This article will describe how to reset the default application for .jad files to the Java Virtual Machine application so that X Mobile will launch correctly. 

The screens on your Android device may look different from the screen shots given here, as each Android device can have its own look and feel. The steps should be the same as listed and you should still have the option to clear defaults. 

If you are seeing this error, it means that Drive PDF Reader has been set as the default application for the .jad file type. This can happen after an Android update, as the update may clear the default settings on your device. If there is no default setting for the .jad file type, the Android device will prompt the user to select an application to open the XMobile.jad file with.

When this prompt comes up, if the user selects the Drive PDF Reader and chooses Always at that time, it will set that as the new default incorrectly. The action you want to take if you are given this prompt is to choose "Foundation Profile-MIDP: MIDlet" and choose Always for that option. That will associate .jad files with the Java Virtual Machine application. 

Solution

On the device, tap Settings, then tap Application Manager and then tap on the Drive app. The icon for Drive looks like this: 

This will take you to the settings for that application. Under the section LAUNCH BY DEFAULT, tap on the Clear Defaults button. You will see the text there change to say "No defaults set." 

Go back to open X Mobile now. When you try to open it, you will be prompted with the "Complete Action Using" choice. Choose Foundation Profile-MIDP: MIDlet and then tap Always. 

The Java Virtual Machine will now be set as the default application to open the XMobile.jad file, and you will see X Mobile launch as you would expect.