>Is it possible for an app to update the network preferences (in the preferences >panel) ? I've been trying to write a little app that adds a new network service >but can't find any way to write to the Network Database. <SNIP/> >I've also tried to see how to do it by just writing directly to the database >but I can't see how to get the id of the NetworkDB. > >Maybe the OS just doesn't allow updates to these settings directly ? > >Can anyone help ? >
I answered an almost identical question to this yesterday... but here goes again... Palm used to provide an API for doing this - based on hacking the NetworkDB directly. It only works with OS3.1 thru OS4 - but if that's all you need it did the job (if rather slowly). The API has a header file that defines the NetworkDB format, and gives details of type/creator - useful if you're trying to hack it yourself. The API is no longer available, but I can send you a copy if you want, or you can get it from: http://groups.yahoo.com/group/palm-dev-forum/files/NetServiceAPI.zip (in the Yahoo! Groups files section for palm-dev-forum archives) Cheers Russell -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
