HelloWorld
Last time I talked about HelloWorld. You should already be able to create new projects. The real machine debugging,
This time, the icon customization, the start page customization and packaging.
Icon Customization
If you do not customize the icon, the default will be the top of the blog to look at the chart,
You certainly don't want to be like this, come on. Customize an icon for yourself.
Open the Manifest.json under the project and select the icon configuration at the bottom (the old version needs to be upgraded to the latest version).
Then choose a well-crafted PNG of 256*256 size, and the system will actively generate icons of various sizes.
Start Page Customization
Follow the same steps as above to not select the start picture configuration.
Then, according to a variety of image size format to choose the production of good pictures.
If you just build Android apps, you just need to set up Android images.
Packaging app 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
Since the development of the time will be frequently changed packaging,
So it is recommended to use the version to differentiate. For example, using 1.1.1.2015070401, representing: big. In
Small. Date
3. Page entry
The portal page after the app launches. This is very important. The details will be explained later.
4. Gravity Sensing
There are four-mode, generally only need to choose the first kind. Which is the normal screen,
There are other needs to be selected in turn.
SDK Configuration
Which refers to the configuration of the three-party plugin,
Most of them need to enter your own Ak,sk,
For related use, please refer to the third-party SDK,
There is only a need to configure Ak,sk.
The more frequently used is login, pay, push, share.
Permissions Configuration
In order to give the user a better experience,
It is necessary to delete the required authority.
Just keep the necessary permissions.
Cloud Packaging
Configured so much to finally be able to pack it up,
Hbuilder is packaged in the cloud by default,
That is, submit your code. For packaging. And then you download the package,
Advantages: Regardless of your machine configuration high and low, only the speed of the network can be very quick to play a good package.
Of course you can also pack locally. That would require an Android environment and an iOS environment, not recommended.
A detailed selection:
1. Select Platform
Select Android or iOS. or both.
2. Select a certificate
Assume that you can choose a public certificate only if you play.
But this can't be done online, assuming that you want to advertise your own Google and Apple certificates on-line.
3. Click Pack
Click Pack, and then wait. The system will show the progress of the operation, and when it is packaged, it will voluntarily download it locally.
You can use the app by opening the directory where the package is located.
Many other tutorials:
Hbuilder Development App Tutorial: HTTP://UIKOO9.COM/BOOK/DETAIL/3
Many other study notes: Http://uikoo9.com/book
Hbuilder Developing App Tutorial 03-Customizing icons, starting pages and packaging