简体   繁体   English

如何指定应用程序的主屏幕图标标题?

[英]How do I specify my app's home-screen icon caption?

I developed an Android scientific calculator with Delphi XE5 and when I tested it on my Samsung Galaxy Advance (Android 2.3.0) I always see "Project1" as file name. 我用Delphi XE5开发了一个Android科学计算器,当我在三星Galaxy Advance(Android 2.3.0)上测试时,我总是看到“Project1”作为文件名。 Here is a picture: 这是一张图片:

这里 .

I want to change this name to "Risolutore Equazioni." 我想把这个名字改为“Risolutore Equazioni”。 How could I do it? 我怎么能这样做?

I changed the label on the Android manifest xml but nothing happened. 我更改了Android清单xml上的label但没有任何反应。

you have to change it in the manifest (label), use a string resource. 你必须在清单(标签)中更改它,使用字符串资源。 Since you said you already did that.. try changing the string "app_name" to the name you want. 既然你说你已经这样做了..尝试将字符串“app_name”更改为你想要的名字。

Or if it's ready to be exported export as APK and name it when exporting. 或者,如果它已准备好导出为APK导出并在导出时命名。 That's how you'll do to get into the market anyways. 无论如何,这都是你进入市场的方法。

check android dev site here 在这里检查android dev网站

I fixed my problem by editing the label name in the project options. 我通过编辑项目选项中的标签名称来修复我的问题。

  1. Project 项目
  2. Project Option 项目选择
  3. Version
  4. Label 标签
  5. I changed with the name I wanted 我换了我想要的名字

You can rename the project by right-clicking on the Project name int he Project Manager, and selecting "Rename" from the context menu. 您可以通过在项目管理器中右键单击项目名称,然后从上下文菜单中选择“重命名”来重命名项目。

That will rename the project in Android (as in the screenshot above) and also rename the project files, including the .dproj and .dpr files. 这将在Android中重命名项目(如上面的屏幕截图所示),并重命名项目文件,包括.dproj和.dpr文件。 It will produce a new .res file, and also appears to produce .deployproj and AndroidManifest.template.xml files. 它将生成一个新的.res文件,并且似乎也会生成.deployproj和AndroidManifest.template.xml文件。

Don't use this option unless you intend to really rename your whole project. 除非您打算重命名整个项目,否则请勿使用此选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Android的主屏幕上制作自己的主屏幕并只使用一个按钮/图标? - How to make our own HOME-SCREEN & take only one button/icon on Home Screen in Android? 在Android主屏幕的右上方添加图标 - Adding icon to top right of android home-screen 从网站为移动firefox提供主屏幕图标 - Provide home-screen icon for mobile firefox from web site 如何为Android创建自定义主屏替换应用程序? - How can I create a custom home-screen replacement application for Android? 如何在Android的主屏幕上的我的应用程序图标上显示通知计数 - How to show Notification Count on My App Icon on Home Screen in Android 如何指定在android手机的哪个屏幕上放置我的应用程序图标? - How to specify on which screen of the android phone my app icon will be placed? 如何在启动器主屏幕上放置应用程序图标? - How can I place app icon on launcher home screen? 每次我点击主屏幕图标时,我的应用程序都会显示启动画面,而应用程序在后台 - My app show splash screen every time i tap home screen icon while app in background 自动启动Chrome主屏幕应用程序(打开到生根选项) - Auto-start chrome home-screen app (open to rooting options) 如何移除主屏幕上的开关? - how do i remove the switch on my home screen?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM