From: "Patrick Ouellet" <[EMAIL PROTECTED]>
Subject: How to change Apps Name
> Ok I created an apps with Code Warrior, and now its name is Starter
> I found how to change it to TestCheck.prc but once installed the name is
> still Starter. How can I changer that name?
There are several places you need to replace the word "starter" with
"TestCheck":
1. It's not required, but you might want to rename starter.c as TestCheck.c.
If you do that, then you will have to add TestCheck.c to your project.
Highlight Source in the project window, then click menu items Project, then
Add Files... to add TestCheck.c to your project. Then you should delete
starter.c from the project by selecting it and pressing the delete key.
2. You should change all of the following settings for the starter project.
Select Edit, then Starter Settings from the menu, then:
a) Under Target Name, change the name from "Starter" to "TestCheck".
b) Under 68K Target, change the file name from "Starter.tmp" to
"TestCheck.tmp".
c) Under PalmRez Post Linker, change the output file from "Starter.prc" to
"TestCheck.prc".
d) Also under PalmRezPostLinker, change the Mac Resource Files from
"Starter.tmp" to "TestCheck.tmp". This file name must be the same as the
file name in step b.
e) click the Save button to save the project settings.
3. Finally, you need to change the name the launcher uses for your app. To
do this, open starter.rsrc from the project window. Change the Application
Icon Name from "Starter" to "TestCheck". (You might also want to change
the name of the resource file. If you are using windows, that is slightly
painful because the file is stored in two parts: \Rsc\Starter.rsrc and
\Rsc\Resource.frk\starter.rsrc. So you have to rename both files, then add
TestCheck.rsrc to your project.
4. One other thing you might want to rename is the header file generated by
constructor, StarterRsc.h. To do that, open Constructor, rename
"StarterRsc.h" to "TestCheckRsc.h", and save the resource. Then you have to
open TestCheck.c (formerly Starter.c) and change the line '#include
"StarterRsc.h"' to '#include "TestCheckRsc.h"'.
5. And, amazingly, I just thought of one other place... You probably should
rename Starter.mcp to TestCheck.mcp The easiest way to do that is with
Windows explorer. Alternatively, you could select File, then Save a Copy
As... from the CodeWarrior menu to save the project file with the new name.
But then you'd have two copies and would still have to delete starter.mcp.
As you can see, this is a giant pain in the derriere.
> And Where do I look to change the default apps bitmap ( Icon )
Open your resource file with Constructor, then highlight Icons, and press
ctrl-K to create a new icon. Give it a name. Make sure its ID is 1000.
Then double-click it to open the icon editor. Draw your picture, close the
editor, save the resource file, and compile your project. You can also make
color icons using Icon Families instead of Icons. See the knowledge base at
palmos.com for more info...
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/