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

  #1  
Old 07-01-2004, 04:19 PM
anh3xao
Guest
 
Posts: n/a
Indicator Area how?

Symbian 6.0 i mean. Include the Symbian 6.0, there's an emulator
like Nokia 9210 to test my application. And, in my application, i want to put an icon at the Indicator Area, how to do that?
thank.
P.S:
is "com.symbian.epoc.awt.EikStatusPane" ?

  #2  
Old 19-01-2004, 01:56 PM
Alain
Guest
 
Posts: n/a
Smile

Hi,

Here are the steps to add icons in the application area of the Nokia 9210.

1- choice an icon for your application.
2- Create with it 4 bmp files :
64 x 50 pixels in 256 colours (normal mode)
64 x 50 pixels in black & white (mask mode)
25 x 20 pixels in 256 colours (list mode)
25 x 20 pixels in black & white (mask mode)
3- Compile them with Bmconv.exe in a mbm file (see syntax below) :
bmconv.exe demoicon.mbm /c16IconNormal.bmp IconNormalMask.bmp /c16IconList.bmp IconListMask.bmp
4- Add in your code (OPL for example), just between INCLUDE sequence and LOCAL sequence the following lines :

APP AppName,AppID
ICON"demoicon.mbm"
FLAGS 1
ENDA

Note : AppName is the name of your application (i.e TextView), AppID is an identifiant allowing by symbian (to have it, see on the symbian website)

Now, your application is available in the extra display, with icon and name.

Magic !!!!

Regards,

Alain
Ads

  #3  
Old 12-02-2004, 09:19 AM
anh3xao
Guest
 
Posts: n/a
klypeste

Quote:
Originally posted by Alain
Hi,

Here are the steps to add icons in the application area of the Nokia 9210.

1- choice an icon for your application.
2- Create with it 4 bmp files :
64 x 50 pixels in 256 colours (normal mode)
64 x 50 pixels in black & white (mask mode)
25 x 20 pixels in 256 colours (list mode)
25 x 20 pixels in black & white (mask mode)
3- Compile them with Bmconv.exe in a mbm file (see syntax below) :
bmconv.exe demoicon.mbm /c16IconNormal.bmp IconNormalMask.bmp /c16IconList.bmp IconListMask.bmp
4- Add in your code (OPL for example), just between INCLUDE sequence and LOCAL sequence the following lines :

APP AppName,AppID
ICON"demoicon.mbm"
FLAGS 1
ENDA

Note : AppName is the name of your application (i.e TextView), AppID is an identifiant allowing by symbian (to have it, see on the symbian website)

Now, your application is available in the extra display, with icon and name.

Magic !!!!

Regards,

Alain
hi Alain, first of all, thank you very much, but i am using Java language to write my app (^_^). How to do this in Java, Thank.

  #4  
Old 24-02-2004, 12:49 PM
Alain Alain is offline
Registered User
 
Join Date: Jan 2004
Location: France
Posts: 6
Alain is on a distinguished road
Wink

Hi, anh3xao !

I don't know the Java language so I can't help you anymore. I think you could find some help in the documentation included in the SDK package.

But for the point 2, just use a software like PaintShopPro to get a bmp file in 256 colors at the required size.

For the point 3, this software (bmconv.exe) is distributed with the SDK simulator (..\symbian\6.0\shared\epoc32\tools). It runs under DOS !

Best regards,

Alain
 

Bookmarks

Tags
area, indicator

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 Off
HTML code is Off

Forum Jump



All times are GMT. The time now is 12:07 PM.


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