S sea1812 Member Licensed User Jun 15, 2022 #1 Hi, I need rename the Main activity name from "main" to ".activity.MainActivity" for some reason, Would anyone tell me how to do it with Manifest Editor ? Or I had to edit the in the "AndroidManifest.xml" file ? Thanks for any suggestion.
Hi, I need rename the Main activity name from "main" to ".activity.MainActivity" for some reason, Would anyone tell me how to do it with Manifest Editor ? Or I had to edit the in the "AndroidManifest.xml" file ? Thanks for any suggestion.
S sea1812 Member Licensed User Jun 15, 2022 #3 DonManfred said: What is the exact reason? Click to expand... Because the developer had left his job, the package's name of the old app like this : "xx.xx.xxx" , but the Main Activity's name like this: "xx.xx.xxx.activity.MainActivity". I am writing new app by B4A , I must keep the package's name and activity's name, but I don't know how to set the ActivityName to "xx.xx.xxx.activity.MainActivity". That's the exact reason. Upvote 0
DonManfred said: What is the exact reason? Click to expand... Because the developer had left his job, the package's name of the old app like this : "xx.xx.xxx" , but the Main Activity's name like this: "xx.xx.xxx.activity.MainActivity". I am writing new app by B4A , I must keep the package's name and activity's name, but I don't know how to set the ActivityName to "xx.xx.xxx.activity.MainActivity". That's the exact reason.
DonManfred Expert Licensed User Longtime User Jun 15, 2022 #4 sea1812 said: I must keep the package's name and activity's name, but I don't know how to set the ActivityName to "xx.xx.xxx.activity.MainActivity". That's the exact reason. Click to expand... you can use the same packagename but you can not publish the app which was published with another signcertificate and/or by another publisher. You need to use the same signkey to update an existing app with the same packagename. You can use a new packagename for your - new - app. Last edited: Jun 15, 2022 Upvote 0
sea1812 said: I must keep the package's name and activity's name, but I don't know how to set the ActivityName to "xx.xx.xxx.activity.MainActivity". That's the exact reason. Click to expand... you can use the same packagename but you can not publish the app which was published with another signcertificate and/or by another publisher. You need to use the same signkey to update an existing app with the same packagename. You can use a new packagename for your - new - app.
S sea1812 Member Licensed User Jun 15, 2022 #5 DonManfred said: you can use the same packagename but you can not publish the app which was published with another signcertificate and/or by another publisher. You need to use the same signkey to update an existing app with the same packagename. You can use a new packagename for your - new - app. Click to expand... Thanks for reply. The fact is I just need to make an app with same package name and same activity name, It is a simple app which was used to show some images and etc. , and this app will be called by another app. Because the source code of the old app was missed so I use B4A rewrite it now. These apps will run in an Android Box, so I need not to replace the existed app, I just push them by ADB tools. Last edited: Jun 15, 2022 Upvote 0
DonManfred said: you can use the same packagename but you can not publish the app which was published with another signcertificate and/or by another publisher. You need to use the same signkey to update an existing app with the same packagename. You can use a new packagename for your - new - app. Click to expand... Thanks for reply. The fact is I just need to make an app with same package name and same activity name, It is a simple app which was used to show some images and etc. , and this app will be called by another app. Because the source code of the old app was missed so I use B4A rewrite it now. These apps will run in an Android Box, so I need not to replace the existed app, I just push them by ADB tools.