[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Answer and Questions - and a solution



Hi all,

Yes I know I am reply to my own post, but thought people would be
interested in my progess - and the outcome.

After some advice from a couple of people off list (thanks Alex Tronin &
Brian Johnson), some patches (which turned out to be uneeded) and a lot
of yelling at my boxes, I have worked it out.

Very simple in the end.  $HEADERS{'PDA-Snum'} and
$HEADERS{'PDA-Username'} hold the values I require.  They are available
to all conduits.  This is all I need.

Thanks to those who tried to help.

Back to hacking,

Cheers

Dave

Dave Hall <dave.hall@mbox.com.au> wrote:

> Hi again,
> 
> I posted a few questions a couple of weeks ago regarding using single
> conduit file set for multiple users.  Anyway I have sorted most of 
> it out.
> 
> FYI I came across this -
> http://lovecraft.die.udec.cl/prog_lang/PalmOS/SystemFeatures.html#940296
> - it explains saved and unsaved prefs.  I did like the finding god
> explanation tho :)
> 
> Now for my questions :)
> 
> Other than writing a 'sync' conduit, which i understand is hard 
> work, is
> there anyway to extract the palm username and serial number in a
> conduit?  I really need this data for my conduit to work as it 
> needs to
> authenticate against a webservice.  I currently have it working on 
> a 1
> user setup, but i don't really want to store a set of conduits per 
> user.
> The only idea i have had so far is to run a simple sync conduit first
> and write a temp file to hold this data, but then i have the 
> problem of
> knowing which file to look for - back to square 1.
> 
> Thanks in Advance
> 
> Dave
> 
> 
begin:vcard
n:Hall;Dave
fn:Dave Hall
tel;fax:+61 3 8610 0029
tel;work:+61 3 96 871 871
org:Dave Hall Consulting;
adr:;;;;;;AUSTRALIA
version:2.1
email;internet:dave.hall@mbox.com.au
end:vcard