You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Migrating s60 (pre-3rd Ed) Icons to 3rd Edition - 2006-06-26, 12:50

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I am trying to migrate one of my application that i developed for series 60 v 7.0 to series 60 3rd edition v 9.1.
I am able to compile my application but not able to see the icon(bmp files) Should i change any code segment for including all the mbm and bmp files.
Thanx in advance.
Bye
Reply With Quote

#2 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-26, 14:29

Join Date: Feb 2006
Posts: 16,442
Location: Zürich, Switzerland
wizard_hu_'s Avatar
wizard_hu_
Offline
Forum Nokia Champion
Start with reading the porting guide...
http://www.forum.nokia.com/info/sw.n..._1_en.pdf.html
Reply With Quote

#3 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-26, 15:15

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I have already gone through porting guide,but i could not find out the location where i have to change to include all my bitmap icons and mbm files in the application.
We have AIF file for 2nd edition but there is no such file in 3rd edition so how should i go with it.
Please do help me out in this.
Thanx in advance.
Bye
Reply With Quote

#4 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-26, 18:54

Join Date: Feb 2006
Posts: 16,442
Location: Zürich, Switzerland
wizard_hu_'s Avatar
wizard_hu_
Offline
Forum Nokia Champion
What is the problem?
You are talking about icons and .mbm-s.
1st version: Where can not you see the icon? Do not you see it in the menu? Can you even see the application itself? Have you prepared the app_reg.rss file?
2nd version: You can start the application but it refuses doing CFbsBitmap::Load. Use AknIconUtils::CreateIconL instead.
Reply With Quote

#5 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-27, 08:57

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I have developed my application on series 60 v 7.0,now i am trying to run it on v9.1,when i am doing so i am able to compile it with out any modifications in RSS files,But i am not able to see my application icon in the menu pane.So what should i do get my application launched.
Is it must that i have to write rss,rls,_loc.rss all these three files seperately .
Thanx in advance,
Bye.
Reply With Quote

#6 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-27, 11:24

Join Date: Feb 2006
Posts: 16,442
Location: Zürich, Switzerland
wizard_hu_'s Avatar
wizard_hu_
Offline
Forum Nokia Champion
Quote:
Originally Posted by kalyanich
But i am not able to see my application icon in the menu pane.
Check the block
Code:
START RESOURCE AppName_reg.rss
TARGETPATH \private\10003a3f\apps
END
in the .mmp of any 3rd ed. example. This resource is mandatory for seeing your app in the menu (10003a3f is the UID of the menu application). You should copy referred resource to your app, and modify it. You will also see, that this _reg.rss refers to a resource in your main resource file, thus you will have to include a LOCALISABLE_APP_INFO resource in your original .rss, check it in any example.
And so on.
Reply With Quote

#7 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-28, 10:51

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I have started modifying but i have one more doubt regarding this icon file appearance in the menu,its like :
In rss file we write caption and icon info,over there we write number of icons and then give name and path of icon file.
In the place of icon name we write it as some ex_aif.mif
The icons that i include r in form of bmp,so how should i convert it to mif format .
Thanx in advance,
Bye
Reply With Quote

#8 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-06-28, 12:07

Join Date: Feb 2006
Posts: 16,442
Location: Zürich, Switzerland
wizard_hu_'s Avatar
wizard_hu_
Offline
Forum Nokia Champion
This is also in the examples: check the .mk file (and its reference in bld.inf) in the group directory (its typical name in the examples: Icons_scalable_dc.mk).
Also search for "AIF Framework" in the SDK Help, and read the docs of AIF Framework, and the hit called Appendices too.
Reply With Quote

#9 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-07-11, 12:17

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I have changed the .mk file and also bld.inf file but i am not able to change my icon.
Is it must that i use svg format for application icon becoz all the ssample applications use svg format

If not needed where all should i make changes to include bmp for application icon.
I have kept my bmp files in aif folder itself and in .mk file in mifconfig i included my bmp instead of svg.
Where all r the other places where i should make changes.

Bye
Reply With Quote

#10 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-07-12, 14:25

Join Date: Sep 2005
Posts: 126
kalyanich
Offline
Regular Contributor
Hi,
I have changed the .mk and bld.inf file in group directory,but even then there is no change in the application icon.it remains as the default icon though i changed the icon file name with some other svg file names.
Please do tell me what is the size of bmp icon in v3 .
If some one has already worked on the same concept please do send some sample code that would guide me out in rectifying my error.
Bye
Reply With Quote

#11 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-08-09, 17:17

Join Date: Mar 2006
Posts: 62
m00gl3
Offline
Regular Contributor
I have the same problem.
I (currently) have no idea how to set the icon for my program to NOT be the default icon...

Any MK files with explicit instructions would be more than welcome.
Reply With Quote

#12 Old Re: Migrating Series 60 1st Edition(v7.0) Application to 3rd Edition(v9.1) - 2006-08-10, 16:48

Join Date: May 2005
Posts: 272
Location: Sweden
ptrmn
Offline
Regular Contributor
As wizard_hu has already pointed out, there are plenty of examples of using SVG icons. There is no specific size for icons in 3rd edition, as the screen resolution is different between different devices. That's why you should use SVG (_scalable_ vector graphics).
Reply With Quote

#13 Old Re: Migrating s60 (pre-3rd Ed) Icons to 3rd Edition - 2006-08-29, 20:26

Join Date: May 2006
Posts: 15
grant_j
Offline
Registered User
I'm fighting some of the same problems, but can share some things I've learned so far: Inkscape will open a bitmap and save it as an .svg. The SVG to SVGT conversion program provided with the SDK will accept the resultant jaggy-looking .svg and compress it into the t(="tiny") svg format preferred by Symbian.

The mifconv utility, supplied and referenced but NOT documented in the latest 3rd edition SDK will accept either bitmap files OR .svg files and will create the requisite .mif file which can be referenced by your <app>_reg.rss. You can create your own "usage" document for mifconv by capturing the "usage" information that is returned when you type "mifconv" on the command line. That much information led me to build the <app>_icon.mk file properly, along the lines of the one laid out in the "S60 Platform: Porting from 2nd to 3rd Edition" document.

The .mbg file (analogous to the .rsg file, apparently, though again, NOT documented !?) can be produced by the mifconv process. I have not yet found any advice as to whether the .mbg is actually required or if it is just available as an option to mifconv for cases where you need a header file with a different name from that of your icon file.

After all this, I'm still getting the dreaded and ALSO undocumented "Menu: System Error (-1)" message when I try to start up my app, but I'm working my way through the .rsc, reg.rsc and other generated files to see what might be different between my app and the samples...
Reply With Quote

#14 Old Exclamation Re: Migrating s60 (pre-3rd Ed) Icons to 3rd Edition - 2006-08-30, 19:55

Join Date: May 2006
Posts: 15
grant_j
Offline
Registered User
First paragraph of yesterday's post has bad info: Inkscape creates an .svg from your .bmp by enclosing a reference to the .bmp file, not by doing any conversion...the resultant .svg is basically useless except for viewing in Inkscape, although SVG2SVGT will indeed do its conversion on it. Best bet: borrow an .svg menu icon from one of the sample apps to use temporarily while you're developing, and draw your own when you have time.

There are conversion apps available that can help you rebuild a .bmp as an .svg, but it will require some painstaking work if your icon/graphic is at all complicated. http://delineate.sourceforge.net has links to the other relevant apps.
Reply With Quote

#15 Old Re: Migrating s60 (pre-3rd Ed) Icons to 3rd Edition - 2006-09-01, 11:17

Join Date: Mar 2003
Posts: 630
Location: Belgium (Lessines, Middelkerke)
Jeepy's Avatar
Jeepy
Offline
Super Contributor
Have you found a solution ?

Tkx,
Domi.


----------------------------------------------------------------------------------
FExplorer is my baby !

you can get the FREE version at www.gosymbian.com
you can get the PROFESSIONAL version at www.sbsh.net
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Python for S60 3rd Edition jplauril Python 82 2008-06-04 05:47
SyncML API and S60 3rd edition? harri_salminen Symbian Tools & SDKs 4 2008-03-20 15:50
S60 2nd OR 3rd edition for new software development patil_ruturaj Symbian Tools & SDKs 1 2006-06-30 10:30
S60 2nd OR 3rd edition for new software development patil_ruturaj Mobile Java Tools & SDKs 3 2006-06-30 09:57
What is going on with Vibration on S60? amd_rikus Mobile Java General 3 2006-06-16 01:29

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2010 Nokia