This page has been updated on the 29 March 2011.
In framework 2.4.X, we changed slightly the way the resources works. Now you can attach them to your package.
There is however one restriction: your components have no access to the resources of other components.
They have access to their own data folder plus the global data folder.
So if you upgrade an old graphical project in 2.4.X, reset all your pictures using the SDK.
No, once a DB value is created you cannot delete it.
But you can set it to another value "" or 0 to symbolize the resetting of this value.
You can delete ALL DB variables using “restore db” command, in the advanced console.
You must avoid to use BuffRef.toString() which can truncate binary buffer.
You must use BuffRef.getBytes() to be sure to retrieve complete data buffer.
After this you can create a String with this byte array.
There are several ways to save data :
All this data is saved on the flash memory periodically and on event.
when you try to retrieve a parameter which is empty, the BuffRef is not set and you still have the previous value of the buffer inside.
so before each call of configAccess.get(), use the method BuffRef.clear().
You can have some refresh problem when you want to make a transition between two graphical elements.
With this problem you will see your old screen instead of the new and when touching the screen the new screen suddenly appear.
Typical example are :
To avoid this problem, You must hide the transition behind the current element.
You must avoid going through another graphical element than the current one and the target of transition.
With transition of screen after a popup
With transition of screen after a switch between component
With transition of popup on top of a screen
Since release 2.4, in all your projects you have to specify the debug level when you init the debug class.
Class Debug init public void init(int ena) ena - Enable output level, default level is 'warn' (2). -1 : no debug 0 : all debug (debug, print, warn, error) 1 : debug level (print, warn, error) 2 : warn level (warn, error) 3 : error level (error)
Here is a reminder about the advised user package structure
You can send an e-mail to firstname.lastname@example.org.