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