Hmm. I don't know if you really need to do this, as you could slap
together a class that holds your phone number, the service code, whatever,
and maybe a few specialized dialing member functions, then write it out
as a database. Use the Modem Manager functions to deal with
dialing and hanging up. For the network prefs, you should check out
NetMgr.h.
As for the second, you could possibly try to overwrite or delete their
creator ID, or free up the heap memory? Maybe delete the application
database?. I'm not sure on this one, I tend to stay away from deleting
an external application from behind the scenes (I can see where it'd
be useful for a demo time limit though...)
Maybe someone else on here knows the answer to this one?
// Rus Daniel Nesse
>-----Original Message-----
>From: Jason Zhan [mailto:[EMAIL PROTECTED]]
>Sent: Monday, May 22, 2000 8:08 PM
>To: Palm Developer Forum
>Subject: Re: How can I change the prefs with coding?
>
>
>Thank you very much for your help!
>If I want to setup the Network prefs that include service and telephone
>number with code, what can I do?
>The second, I want to delete some appl or other files from
>palm device with
>code, what can I do?
>
>Thanks
>
>Jason
>"Nesse, Rustin" <[EMAIL PROTECTED]> wrote in message
>news:12081@palm-dev-forum...
>>
>> Easy. PrefSetPreference( <preference>, <value> ) will do the trick
>> for one preference at a time, and you can do the entire pref data
>> structure with PrefSetPreferences.
>> Look in Preferences.h for a listing of all the preference values.
>> Second, you can get TRGPro and customize your flash ROM...but those
>> PIM's (memo pad, datebook, et al) are located in your ROM, so
>> essentially you'd need to customize your flash somehow.
>>
>> file://* Rus Daniel Nesse
>> file://* Application Development
>> file://* Avnet Convergent Technologies
>>
>> >-----Original Message-----
>> >From: Jason Zhan [mailto:[EMAIL PROTECTED]]
>> >Sent: Friday, May 19, 2000 1:18 AM
>> >To: Palm Developer Forum
>> >Subject: How can I change the prefs with coding?
>> >
>> >
>> >Hello everyone:
>> >Who can tell me how I can change the prefs with coding?
>> >The second how can I hide the icon of some applications that
>> >comes with OS?
>> >Thanks
>> >
>> >Jason
>> >
>> >
>> >
>> >--
>> >For information on using the Palm Developer Forums, or to
>> >unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
> >
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/