Feed on Posts or Comments

Category ArchiveDeveloppment



Softwares & Palm News & Developpment khertan on 20 Aug 2007

Palm software developpment suspended !

Hi,

Some week ago, My Palm TX's digitizer screen has died sudently. And i'ven't replaced it with an other palm in the hope that Palm launch an other pda under Palm OS 2 (The Palm OS that ll be powered by an linux engine). So all my Palm related developpment has been supended because i can't anymore dev for Palm OS on board.

At this time, many of my Palm OS software need more improvement like the unfinished kLauncher 2.

Furthermore, i don't have many time to dev, maintain my blog and make wordpress update.And i'm tired too to delete spam and retrieve from backup because a script kiddies use a poor script to hack unpatched old version of WordPress. So i'm studying to change my web site. I'm looking for a simple secure blog/cms to post news, softwares, and a bug tracker, but can't found one.

Developpment khertan on 17 Apr 2007

ACCESS Garnet VM Compatibility Kit

Access (the company wich has bought PalmSource) has just silently release the Acces Garnet VM Compatibility Kit to all developpers.

This is an Palm OS 5 Emulator running under Linux available here : Access Garnet VM Compatibility Kit

The good news is this emulator will run 68k and ARM PNO code.

Tha bad one is this is a binary release for x86, no source code, so compilation possible for Mac OS X, Linux PPC, or other plateforms.

Developpment khertan on 13 Apr 2007

Reactivating DIA in Bird 1.12

Hi,
DIA Feature in Bird 1.12 seems to be desactivated before the release.
To reactivate it, uncomment the call to setDIA function in Builder2.pas. And replace the setDIA function by this one : <
em> p
rocedure SetDia(frm:FormPtr;resize:Boolean); v
ar
e : Err;
ver : UInt32;
h : WinHandle;
r : RectangleType;
v : UInt16; b
egin
RctSetRectangle(r,0,0,160,160);
// get current form
frm:=FrmGetActiveForm;
e:=FtrGet(ord('p')shl 24+ord('i') shl 16+ord('n') shl 8+ord('s'),1,ver);
if e=0 then
if ver>0 then
if GetDiaState<>2 then
begin
h:=FrmGetWindowHandle(frm);
WinSetConstraintsSize(h,240,240,240,240,160,160);
FrmSetDIAPolicyAttr(frm,1);
//SetDiaState(1);
PinSetInputTriggerState(1);
//r.extent.x:=240;
//r.extent.y:=240;
end;
if resize then
begin
h:=FrmGetWindowHandle(frm);
//WinSetBounds(h,r);
end; e
nd;
The patched .pas : builder2.pas

Developpment khertan on 28 Feb 2007

Using jpg with PP

Reading and displaying jpeg is really easy with PP, when we know there is a free library named pnojpeglib to do it.

You can found it at : http://www.bin-people.de/pnoJpegLib/index.html
You just need to convert the c header to pascal to use it ...

Just an example of the header i use to help you to use this great library under pp.

const
 pnojpeglibCreator=$616A4C69; //'ajLi';

 pnojpeglibType=$6C696272; //'libr';

//--------------------------------

function pnoJpegOpen(refNum:UInt16):Err;
 inline($4E4F,$A801);
function pnoJpegClose(refNum:UInt16):Err;
 inline($4E4F,$A802);
function pnoJpeg2LoadFromVFS(refNum:UInt16; data:Pointer;volRefNum:UInt16;var filePath:String):Err;
 inline($4E4F,$A800+16);
function pnoJpeg2Free(refNum:UInt16;var data:Pointer):Err;
 inline($4E4F,$A800+24);

function pnoJpeg2Create(refNum:UInt16;var data:Pointer):Err;
 inline($4E4F,$A800+14);
 
function pnoJpeg2Read(refNum:UInt16; data:Pointer;var bmpPtr:BitmapPtr):Err;
 inline($4E4F,$A800+23);//23

function pnoJpeg2Bmp2DoubleDensity(refNum:UInt16;inBmp:BitmapPtr;var outBmp:BitmapPtrV3):Err;
 inline($4E4F,$A800+28);

Developpment khertan on 07 Feb 2007

WP Forum Fix

Hi 

 Today i've see a bug in wp-forum ... it's not really a bug but the author of Wp-forum use a php5 function in php4 code... so many web host distinct php4 and php5 with the extension and doesn't mix it.

So to correct it you can add this little code snippet to the wp-forum function :

if (!is_callable(&quot;stripos&quot;)) {<br />
&nbsp;&nbsp;&nbsp; function stripos($str, $needle, $offset = 0) {<br />
&nbsp;&nbsp;&nbsp; return strpos(strtolower($str), strtolower($needle), $offset);<br />
&nbsp;&nbsp;&nbsp; }<br />
}

Next Page »