All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 05-01-2005, 11:10 AM
pietini pietini is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
pietini is on a distinguished road
Question Nokia 9500 and OPX

Is there some problem using opx in Nokia 9500 ?

I write program in phone and if I but there, example "INCLUDE system.oxh" it gives error "Local device must be A-Z".

If I don't use opx, everything works great.

I use "9200-OPL-DevPack-2004-02-29".

Last edited by pietini; 05-01-2005 at 11:27 AM.
Reply With Quote

  #2  
Old 14-01-2005, 05:41 AM
Arjen's Avatar
Arjen Arjen is offline
Administrator
 
Join Date: Apr 2004
Location: Netherlands
Posts: 428
Arjen is on a distinguished road
I haven't heard others complain about this, but it's probably an error in the 9500 release.

Can you send me a detailed description of the problem (also mention your phone type and firmware version) at arjenb at sourceforge dot net ? Then I'll include in the bugs database so it can be fixed in a next release.
__________________
This space intentionally left blank.
Reply With Quote
Ads

  #3  
Old 17-01-2005, 11:51 PM
Roberto Roberto is offline
Registered User
 
Join Date: Oct 2002
Posts: 88
Roberto is on a distinguished road
What about typing :

INCLUDE "System.oxh"

instead of

INCLUDE System.oxh

?

My Nokia 9290 Communicator gives the same error message when compiling the above line.
__________________
OPL & C++ programmer - PocketIQ
Reply With Quote

  #4  
Old 18-01-2005, 04:03 PM
pietini pietini is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
pietini is on a distinguished road
Quote:
Originally Posted by Roberto
What about typing :

INCLUDE "System.oxh"

instead of

INCLUDE System.oxh

?

My Nokia 9290 Communicator gives the same error message when compiling the above line.

Thats the solution

I was very stupid, not to see this. In OPL guide there is "INCLUDE file$" and ofcourse that means if don't use string variable you should use example "System.oxh".

Thank you !!!!!
Reply With Quote

  #5  
Old 20-01-2005, 04:05 AM
Arjen's Avatar
Arjen Arjen is offline
Administrator
 
Join Date: Apr 2004
Location: Netherlands
Posts: 428
Arjen is on a distinguished road
@Roberto: thanks for seeing this. I completely overlooked it.

The error message is kind of cryptic though. "Syntax error" would be a better description. I'll check the source code of the translator and see where this comes from. Maybe we can fix this in the next OPL release for the Communicator
__________________
This space intentionally left blank.
Reply With Quote

  #6  
Old 27-01-2005, 01:51 PM
martinharnevie martinharnevie is offline
Registered User
 
Join Date: Jun 2002
Location: SE Asia & Scandinavia
Posts: 368
martinharnevie is on a distinguished road
Arjen,

However, as noted in Soundforge, there *are* problems with System.opx in S80 v2, for instance related to functions such as GetHAL and GetMachineUID.

cheers
Martin
__________________
Martin Harnevie
http://www.free2move.us (Bluetooth, RFID, ZigBee ...)
Reply With Quote

  #7  
Old 31-01-2005, 09:12 AM
Arjen's Avatar
Arjen Arjen is offline
Administrator
 
Join Date: Apr 2004
Location: Netherlands
Posts: 428
Arjen is on a distinguished road
Quote:
Originally Posted by martinharnevie
Arjen,

However, as noted in Soundforge, there *are* problems with System.opx in S80 v2, for instance related to functions such as GetHAL and GetMachineUID.

cheers
Martin
As soon as I get the 9500 SDK installed I'm going to have a look and try to fix them. Should get some results be before the end of the week.

cheers, Arjen
__________________
This space intentionally left blank.
Reply With Quote

  #8  
Old 08-10-2010, 10:00 AM
SwapOne SwapOne is offline
Registered User
 
Join Date: Oct 2010
Posts: 3
SwapOne is on a distinguished road
hi

Does anyone know how to use KSyGetHAL function from system.oxh ? i don't understand how to write it .... it requires something like SyGetHAL&:(attribute&,BYREF value&) , i guess the values are from "HAL valuses" specified at the beginning of the oxh, but what is the atribute ? are the constants from attribute properties ?..... please help

PS i use a 9500 device to compile my applications
Reply With Quote

  #9  
Old 08-10-2010, 10:26 AM
martinharnevie martinharnevie is offline
Registered User
 
Join Date: Jun 2002
Location: SE Asia & Scandinavia
Posts: 368
martinharnevie is on a distinguished road
Sadly I've lost my 9300i.

The only OPL development I do now is on the ER5 Emulator.

But if I recall correctly; the list of HAL values is for the attribute parameter. The value returned by reference (BYREF) is the result.

I also recall that the GetHAL command was very buggy and largely incomplete.
__________________
Martin Harnevie
http://www.free2move.us (Bluetooth, RFID, ZigBee ...)
Reply With Quote

  #10  
Old 08-10-2010, 11:10 PM
SwapOne SwapOne is offline
Registered User
 
Join Date: Oct 2010
Posts: 3
SwapOne is on a distinguished road
thx martinharnevie for the fast reply, i understand the GetHAL function now... :P
Reply With Quote

  #11  
Old 09-10-2010, 10:29 AM
SwapOne SwapOne is offline
Registered User
 
Join Date: Oct 2010
Posts: 3
SwapOne is on a distinguished road
dose any one know how can i get the virtual cursor (mouse on comunicator...) x and y position ???
Reply With Quote

  #12  
Old 10-10-2010, 03:59 AM
martinharnevie martinharnevie is offline
Registered User
 
Join Date: Jun 2002
Location: SE Asia & Scandinavia
Posts: 368
martinharnevie is on a distinguished road
I think that cursor is application specific, not accessible from the OS.

I would suggest you do your own using GETEVENT32.
__________________
Martin Harnevie
http://www.free2move.us (Bluetooth, RFID, ZigBee ...)
Reply With Quote
Reply

Bookmarks

Tags
9500, nokia, opx

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OPL Runtime for 9500 Released Ewan Series 80 1 29-11-2004 01:05 AM



All times are GMT. The time now is 12:08 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy