Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
03/10/13 01:57 PM (12 years ago)

Android: Change App Name in Eclipse

Hi All, How do I change the name of my app in Eclipse? Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/10/13 02:03 PM (12 years ago)
AndroidManifest.xml file look for "android:label="@string/app_name" or something close to that... Cheers! -- Smug
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
03/10/13 08:04 PM (12 years ago)
Hi, To change the app name you need to edit the strings.xml file. You can find this file in res--->values folder. In this file the very first string is the app_name. Just change the name of the app in this field.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/10/13 09:16 PM (12 years ago)
Sandeep, I guess that the 'value' read from AndroidManifest.xml comes from within the strings.xml? That would mean that although my answer is 'sort of correct' (meaning, it 'can' be done that way) I concur with Sandeep, after taking a look. He's 'more' correct, lol! Cheers! -- Smug
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
03/11/13 06:45 AM (12 years ago)
Hi @Jake Chasan, To change the App name with proper structure, You want to right click your package and click Refactor. LA
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
03/11/13 09:27 AM (12 years ago)
@SmugWimp- Yes you are correct in saying that the 'value' read from the manifest file comes from strings file. So instead of hardcoding in manifest file proper way is to edit the app name in strings file. Similarly you can change any other strings in there. @LA- From what you suggest, it would change the package name and not the app name.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
03/11/13 10:50 AM (12 years ago)
Yes, good catch @Sandeep...sorry LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.