Zippy
Zippy

Reputation: 3887

Where is an Android project name held?

I renamed my Android project and although it all appears OK in Eclipse, when I install it onto any devices (even new devices on which it has never previously been installed), it shows with the old name.

I've looked through the Manifest file and again, it all seems to be OK (with the new name), I can't work out where the installed version is getting it's name from. Where is it stored?

Any ideas?

Upvotes: 0

Views: 66

Answers (2)

Dale Wilson
Dale Wilson

Reputation: 9434

Android gets the name from the manifest file which usually references the string resource described in @Raghav Sood's answer i.e:

<application android:label="@string/app_name" ...>

Upvotes: 1

Raghav Sood
Raghav Sood

Reputation: 82543

By default, the name under your icon is stored in app_name in res/values/strings.xml. Changing its value there will change the name.

Renaming the project only renames it in Eclipse's workspace, and does not actually change the name.

Upvotes: 1

Related Questions