Calling PDF viewer on Palm Pre

Previous topic - Next topic

MrTAToad

The following only works on the Palm Pre, which calls the default PDF viewer :

Code (glbasic) Select
FUNCTION openPDF%:
?IFDEF WEBOS
INLINE
PDL_ServiceCall("palm://com.palm.applicationManager/open", "{\"target\":\"file:///media/cryptofs/apps/usr/palm/applications/com.unmap.glbrefguide/Media/GLBasic Programmers Reference Guide.pdf\"}");
ENDINLINE
?ENDIF
ENDFUNCTION


Apparently, as I've been informed by HP today, this doesn't work on the Tablet :

Quotehe PDF is not compatible with the PDF Viewer on the TouchPad. When I launch the application it sublaunches the PDF Viewer and I receive the following error: "Quickoffice has encountered and error with this file."

It seems most likely some of the pathing has changed...

Kitty Hello

use PLATFORMINFO$("DOCUMETNS")

MrTAToad

Yes, it looks like the file will have to be copied there...