Android app package name Modification

Source: Internet
Author: User

Since sometimes it is necessary to meet the requirements of the SB marketProgramPay attention to the irrelevant parts.

Put them under the same packagename. Otherwise, it will be difficult to modify and prone to errors.

Modify the package name as follows:

1. Select the package name to be modified;

2. Right-click and choose refactor from the shortcut menu.

To ensure that the two packages can be installed on the same mobile phone at the same time without affecting the functions of each other,

Modify the package name of the following classes:

1. Service Class

2. dataprovider class and related URI

3. Cycler class and related intentaction

4. appwidget class

After modifying the package name, you should also repeat all the activities.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.