View Full Version : Event Core - OPL Skeleton App for UIQ Coding


Ewan
07-03-2004, 05:55 AM
Ewan Spence and FreEPOC (http://www.freepoc.org/) (and the whole OPL Development team (http://opl-dev.sourceforge.net/)!) announce the availability of Event Core for UIQ OPL (http://www.freepoc.org/viewapp.php?id=10). Event Core is a program that does absolutely nothing! It's strength lies in the fact that packed in the zip file is the OPL source code that illustrates how everything works.

Roberto
07-03-2004, 06:13 PM
Thanks Ewan and everybody that has helped to create EventCore on UIQ.

Running EventCore on the UIQ emulator, I have got :

Error in Core\Init
Invalid arguments

The culprit is the line 147 of "Core.opl" (I created "Core.OPL" by importing "Core.TPL") :

gSETWIN 0,0,0,0

a simple workaround is to use

gSETWIN 0,0,1,1

I suppose gSETWIN does not like to have a lot of zeros ;-)

Maybe this problem does not arise on a real UIQ phone.

Roberto

Ewan
08-03-2004, 07:20 AM
gSETWIN 0,0,0,0 fine on the phone, must be somethign in the Emulator. Good fix there Roberto

Love60
08-03-2004, 06:11 PM
Why can I only activate the menu with the wheel ? Is it not possible to activate by stick ??? Have I to edit somewhere i the code ?

Ewan
08-03-2004, 08:57 PM
Have a read of the Menu text file in the Docs folder. The menu handling is not fully working under UIQ. There is a workaround with the push in button.