background image
Original Author Paul Laughton, 2011
Page 220
De Re BASIC!
Rename the Package
The package name is what makes your application different from every other application that runs on
Android devices. No matter what you name your application, it is the package name that Android uses
to identify your particular application.
In Eclipse
First, use the search-and-replace dialog to update references to the package name.
1.
From the Menu Bar, select: Search->File.
2.
Fill in the dialog like this:
3.
Click Replace. The Replace Text Matches Dialog Box opens.
4.
Enter "com.rfo.cats" in the With: field, and click OK.
Next, tell Eclipse about the package change.
5.
In the Package Explorer, click and open the Cats -> src hierarchy as shown below.
6.
Select the com.rfo.basic package.
7.
From the Menu Bar, select File->Rename to open the Rename Package dialog.
8.
In the New name: field, enter "com.rfo.cats".