At 08:43 AM 3/19/2004, you wrote:
Hello all,

I am trying to get the webbrowser working in palm 5 (btw, is a form of
this workable in palm 4?), but I am having a problem.

I took the function directly from the palm webbrowser 2.0 documentation
called "Creating Web-Enables Apps.pdf".

the function is

Err WebBrowserCommand(Boolean subLaunch, UInt16 launchFlags, UInt16
command, Char *parameterP, UInt32 *resultP)

in there there is a call to:

error = DmGetNextDatabaseByTypeCreator(true, &searchState,
sysFileTApplication, WebBrowserCreator, true, &cardNo, &dbID);

For me, this returns an error.  I am unclear where to proceed from here.
Is this telling me I don't have a web browser installed?  I am not even
sure my parameters to "DmGetNextDatabaseByTypeCreater" are correct, but
here is what I am sending to it:

Yes, this probably is telling you that. There are a lot of browsers on Palm OS, and they don't all have the same creator ID or respond to the same launch codes. I'm actually working on a Knowledge Base article about detecting and using web browsers. Mail me directly and I'll send you my current sample code.


-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to