Managing Configurations in Mobility Pack 6.0
By lukas on Jun 07, 2007
Configurations ProvidersThere were complains that the Mobility Pack should be able to dig an information about the devices not only from the emulator platform but even from a database that can be updated and provide more detailed description of the abilities and properties of a device. Mobility Pack provides new API for the users therefore they can write provider for whatever device database - e.g. WURFL. The API is quite simple. Adam (the author) provided even sample implementation. With the configuration provider you can easily get the data from a "database" and create a configuration for particular device. Look at the sample provider screenshot.
My StJupid Device Database is new provider for the configuration templates
Configuration ManagementThe actions "create", "remove", "duplicate", "create templates" etc. with configurations are in Project Configuration Manager in project Properties for long time. The functionality has been extended with the new configuration providers design. You can Add More configurations to project at once.
Project Configuration Manager
You can duplicate multiple configurations by providing a prefix and postfix. Therefore it should be easy to create "_debug" versions for all your configurations.
There are new nodes - Source Packages, Resources and Project Configurations under your project node in the Project view. Let's focus on the Project Configuration node for now. It lists all configurations of your project. You can Add, Remove, Copy the configurations. The clean/build/deploy was improved too.
You can now either select the configurations in the project view and then choose build/cleen/deploy action from contextual (right click) menu or you can use the contextual menu action Build Selected Project Configurations on the project node and then choose the configurations that should be built in the dialog.
You can also Run or Debug a configuration from the contextual menu on the configuration node.
- More informations about the new features in Mobility Pack 6.0 New And Noteworthy