Author: Wenbin
Home: Wen Bin Program Network
http://www.wenbinweb.com
Continue our side to do the side, last time we used PlatformBuilder to do an Internet appliance platform, we also saw the operation results of this platform on the simulator, this time, we do this Modify to achieve my own needs.
Now suppose our target system no longer requires MediaPlayer and multimedia, such as MP3, WMA, MPG, AVI and other functions so that we have to remove this part of the component in his own platform, otherwise these useless features will waste you large part of the store. space. Let's do this.
Let's first look at the tool window of "OSDesignView". It lists the components in your existing platform in the form of trees, we can find various device drivers, core service components, file systems, and data storage components, and more. If we want to operate a part of the component, you can select it to make it through the right mums. For example, if you want to see a dependency of a component and other components, just click on the component.
Speaking of dependencies, because the operating system is a very large complex system software, many components have formed a dependency with other components, that is, it must be premised on certain components, or its existence is certain components. The foundation of the existence. If we want to come to clear these relationships, it will be very difficult. Fortunately, PlatformBuilder provides us with the ability to rely on the relationship between the reaction components. Just right click on the components you want to know, select "DependenCIES for SELECTED ITEM", the pop-up window is shown below:
Continue to implement our previous needs, because we have implemented the platform that has been included in the multimedia component, now don't, then we will delete it in the existing platform components. Therefore, in "OsDesignView", the multimedia part in the current "Graphics and MultiMedia Technologies" folder is expanded, and the media player and other content are all delete, as shown:
Then recompile the platform and re-download it to the simulator. Have you noticed the difference between the last runtime of the desktop? That's right, the media player is not seen.
Do you learn how to delete unrelated components? Ok, let's try to add a component, assume that our target platform needs play cards and air-running games, how is it?
Let's take a look at the right side panel in Platform Builder, Catalog, in its Core OS folder, all available components provided by the system, you only need to find what you want, we will press
Find these two games, right click on each, then select "Add to OS Design" in the menu so that they will be added to the "OSDesignView" on the left, which is added to your platform, compile again. , Download, see if there are two games in "programs" in the "Programs" of the simulator's start menu? It's better to try it with you!