Hbuilder Development Mobile App--manifest.json File parsing

Source: Internet
Author: User

Previously done Android app development, for each configuration is done in the Androidmanifest.xml file, including permission settings, icons, tags, the name of the app, activity registration and so on

Using Hbuilder to develop mobile App,hbuilder is based on two development of eclipse, so things like new projects are similar to eclipse.

Start a new mobile app project

Select the MUI project here and click Finish to see a list of project files as follows:

Here we mainly look at the Manifest.json file

Application information

Select an application information item, and then

1. Fill in the application name

That is, the app name that appears on your phone after

2. Version number

Because the development of the time will be frequently modified packaging,

So it is recommended to use the version number to differentiate, for example using 1.1.1.2017041601, representing: large. In Small. Date

3. Page entry

The entry page after the app launches is important and will be explained in detail later.

4. Gravity Sensing

There are four modes, generally only need to choose the first one on the line, that is, the normal screen, there are other needs to choose in turn.

Icon Configuration

Select the icon to configure this item, which is the icon we see when we download the app. Here we can set ourselves. Select a 256*256 icon image, the system will automatically generate other scale icons to adapt to different resolutions of the phone screen.

Start Picture Configuration

Start picture configuration is generally not modified

SDK Configuration

When developing apps, we use some of the more stable third-party services possible, saving costs, shortening development cycles, and ensuring accuracy

The SDK here is configured with maps, login authorization, sharing, statistics, payment, push

Here are basically the need to fill in AppID and Appkey

Access to Appkey is available through the authorization of a third party service.

Module Permissions Configuration

Configure the app to use the permissions that are not used to delete

Code view

The code view here shows the code for the previous configuration, or you can modify the configuration directly in Code view.

Hbuilder Development Mobile App--manifest.json File parsing

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.