PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

EDGELIB - Problems with sony p990i. Swapping screen modes

On softkey style i can´t see the sis applications. Only i can see the sis applications on pen style.
If i launch the application on pen style and the i change to softkey style the application crash
Hi Aku,

Can you tell me which icon sizes you're using? It seems that certain sizes (such as 18x18 pixels) can make the phone unstable.

Also, are you building with the EDGELIB builder?
Hi EDGE,

The icon size that I´m using is 48x48. The same sis has no problem with the sony w950i. That device only has one pen style mode (240x320). The problems occurs with the sony p990i in softkey style (240x256).

I´m using the EDGELIB Builder.
Hi Aku,

Perhaps you can try another icon format, try 32x32 pixels.

I think it's also a good idea to look up recommended icon sizes for this device. Search your SDK documentation or the UIQ developer forums for more information.
Hi Edge,

i´m using the icon size that sony recommends. I don´t think that the icon size is the problem. As i mentioned in the first post if i launch the game in pen style and then i swap to softkey style the application run in background or crash.
In the sony documents (about UIQ 3.0) i´ve readed that the applications must re-scale automatic to the new screen resolution.
Hi Aku,

To add the application icon to penstyle mode, please try the following. Edit the symbianrss.ini in the Edge Builder/templates folder and paste the following code:

Code:

$% File Start %$
NAME EIDE

#include <eikon.rh>
#include <qikon.hrh>
#include <appinfo.rh>

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO{ }

RESOURCE LOCALISABLE_APP_INFO exe_localisable_app_info
{
short_caption = "%caption%";
caption_and_icon = CAPTION_AND_ICON_INFO
{
caption = "%caption%";
number_of_icons = %numicons%;
icon_file = "\\resource\\apps\\%binname%_%appuid%.mbm";
};
view_list =
{
VIEW_DATA
{
uid = 0x00000001;
screen_mode = 0;
caption_and_icon = CAPTION_AND_ICON_INFO{};
},
VIEW_DATA
{
uid = 0x00000001;
screen_mode = EQikScreenModeSmallPortrait;
caption_and_icon = CAPTION_AND_ICON_INFO{};
}
};
}


If you succeed in getting the icon to appear in penstyle mode, could you try starting the helloworld sample? Does it crash as well?
Hi Edge,
I put the code. Now I can see the application name but no the icon on softkey style. The application doesn´t launch in that mode. The only way of launch the application is in pen style. If i return to softkey style the application pass to run in background.
Hi Aku,

Alright, that sounds a bit better. At least it doesn't crash like it did before. I think the icon isn't shown in softkey style because it is too large. Perhaps adding a smaller icon will help?

We will investigate how to make the application run fullscreen in softkey style. Could you help by running a number of tests on your device? Please contact us at info (at) edgelib (dot) com.
i´ve used an icon of size 32x32, but the icon is not visible. I can help you if you want.