Hi All,
I've been trying for a while to utilize the voice memo button on the
Tungsten line to no avail.
I've found a post from Phil Lachmann on the archive which I think I could
use.. However, I can't get his email from eScribe and the post is not on my
local machien and thus I can't pull it off of this news server.
Here is what he says
______
For anyone looking for this in the future here is the solution. The
preference for the application launched by the Voice Memo button is not
stored like the other button assignments.
You need to get preference #1 for app id 'bttn'. This preference structure
is 6 bytes long. I don't know what the first 2 bytes are for, so I advise
you to read them in and just maintain their current state. The last 4 bytes
are the creator id of the application that you would like to assign to the
Voice Memo button. Modify this section of the preference and write it back
out. The voice memo button is now reassigned.
I assume this is one of those things that is subject to change so use this
with caution.
Phil Lachmann.
_______
Does anyone know what "Pref" functions he is referring to?
I've tried this but it does not seem to be correct:
// attempt to get the voice memo prefs as described above.
PrefGetAppPreferences('bttn',1,&voiceBtnApp,&voiceBtnPrefSize,true);
// asign new creator id here
// set the new voice butotn prefs.
PrefSetAppPreferences ('bttn', 1, 1, &voiceBtnApp,voiceBtnPrefSize,true);
Has anyone dealt with the voice button the T's? Or is Phil listening in..?
Thanks
Jim
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/