05-14-2009 02:34 AM
I am using a JDE4.5.0 and Pearl 8310 for testing. I have used event injection in my application.
I install the app on the device and click to edit configuration, device throws an error Symbol ‘EventInjector $KeyCodeEvent.<init>’ not found.
I have ensured,
1. The code is signed.
2. App is given appropriate permissions before invoking it.
3. The .csl file has an entry "52525400=RIM Runtime API".
Everything works fine in the simulator but no good on device. Please can someone pass a clue as to what must have been wrong?
05-14-2009 04:24 AM - edited 05-14-2009 04:25 AM
Seems that JDE version is newer than your actual device OS software version number.
Check JDE version via menu: Help - About
On device go to Options - About
Now compare device OS version and JDE (RIM API) version.
device OS version has to be equal or bigger than JDE version you used to compile the application.
05-14-2009 04:26 AM
The error occured because there is an unresolved reference to a class/method in actual device OS.
Your application contains a reference to a class/method, but this reference cannot be resolved by actual device OS.
The reason I described in previous post.
05-14-2009 05:08 AM
I had learnt what you are suggesting from this page:
In my case the,
188.8.131.52 is the JDE version and
184.108.40.206 is the Device version.
So thanks but the issue seems to be somewhere else.
05-14-2009 05:15 AM - edited 05-14-2009 05:18 AM
The problem is as I described.
You have to have at least 220.127.116.11 or bigger version of your device software to run code compiled on JDE 18.104.22.168
22.214.171.124 is older than 126.96.36.199
and therefore you get error message.
05-14-2009 05:19 AM
05-14-2009 05:24 AM
I'm failing to understand something here.
How can 188.8.131.52 be older than 184.108.40.206? Does RIM name the versions number backwards? With that analogy is 4.5.0 older than 4.4.0?
05-14-2009 05:34 AM - edited 05-14-2009 05:35 AM
220.127.116.11 semantically is the same as 18.104.22.168
Just add zero to align the number.
22.214.171.124 (126.96.36.199) is newer than 188.8.131.52
05-14-2009 05:39 AM - edited 05-14-2009 05:40 AM
I agree that RIM provides very strange approach in version numbering without number alignment.
From logical point of view 0.44 is less than 0.7
and therefore 0.7 is bigger (newer) than 0.44 version.