Article View: alt.comp.sys.palmtops.pilot
Article #216Re: Taking pictures with Sony PEG-NX70
From: Simon YEUNG
Date: Wed, 29 Jan 2003 07:25
Date: Wed, 29 Jan 2003 07:25
51 lines
2669 bytes
2669 bytes
My previous post seems crashed. Hope that this is not an repost.
SonyCapLib is missing in Sony SDK 5.0.
I'd try
1) copy the file SonyCapLib.h from SSDK3 to lib of SSDK5
2) remove #ifndef _BUILD_FOR_PALMOS_5_ and #endif pair in the
Capture-Lib session from SonySystemResources.h
3) use the sample code
static void InitSonyCaptureLib()
{
UInt16 capLibRefNum; /* Library Reference Number */
Err err;
/* Checking if library is loaded and acquiring the number */
err = SysLibFind(sonySysLibNameCapture, &capLibRefNum);
if (err) {
/* If the library is not loaded */
err = SysLibLoad(sonySysFileTCaptureLib,
sonySysFileCCaptureLib, & capLibRefNum);
if (err)
{
/* Capture library does not exist */
FrmAlert (CapLibNotExist);
}
}
}
4) Use CW8 and compile and execute on both Sony Palm OS 5.0 Simulator
and NX70
No luck. Caplib can't be loaded
I believe Sony has a new API, capture both static picture and record
movies as well. Perheps sonySysFileCCaptureLib 'SlCp' was changed to
something else that we can't use to load the lib.
Any idea to load the new lib?
Best,
Simon
"Kai Schr der" <kai.schroder@home.se> wrote in message news:<b15v3r$vt0tp$1@ID-88283.news.dfncis.de>...
> Hello!
>
> Trying to develop a program that automaticliy takes pictures, but there is
> no SDK for the camera part for the PDA mentioned above. Does anyone have a
> idea what to do? I found some SDK for the old PalmOS, but I guess that it
> has to be some reason why these arent included into the new SDK.
>
> All thoughts are welcome!
>
> // Kai
Technical Details
Message-ID:
<d46f91e0.0301282325.198155d@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<b15v3r$vt0tp$1@ID-88283.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112073,5fb6db0d5d3a0902 X-Google-Attributes: gid112073,public X-Google-Thread: 10baa0,5fb6db0d5d3a0902 X-Google-Attributes: gid10baa0,public X-Google-Thread: 11219a,5fb6db0d5d3a0902 X-Google-Attributes: gid11219a,public X-Google-ArrivalTime: 2003-01-28 23:25:08 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: smyeung@eee.hku.hk (Simon YEUNG) Newsgroups: alt.comp.sys.palmtops.pilot,codewarrior.palm,comp.sys.palmtops.pilot Subject: Re: Taking pictures with Sony PEG-NX70 Date: 28 Jan 2003 23:25:07 -0800 Organization: http://groups.google.com/ Lines: 51 Message-ID: <d46f91e0.0301282325.198155d@posting.google.com> References: <b15v3r$vt0tp$1@ID-88283.news.dfncis.de> NNTP-Posting-Host: 147.8.182.141 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043825108 27843 127.0.0.1 (29 Jan 2003 07:25:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Jan 2003 07:25:08 GMT