Quantcast
Channel: 中级
Viewing all articles
Browse latest Browse all 669

Intel® XDK "Cordova for Windows Phone 8" Build Options

$
0
0

The Intel® XDK "Cordova for iOS" build system automatically generates special configuration files in your project source directory to direct the build process. The Cordova build option is based on the open source Apache* Cordova CLI build system. When you use the Cordova build option your application project files are submitted to the Intel XDK build server where a Cordova CLI system is hosted and maintained, there is no need to install the open source Cordova CLI system on your workstation.

NOTE: as of version 1199, the build configuration files are automatically generated based on input you provide on the Projects tab. A special intelxdk.config.wp8.xml file is automatically generated. The options described below can be use inside an intelxdk.config.additions.xml file to exercise finer grained control over the Projects tab and to control features that are not handled by the Projects tab.

The following build options pertain only to Windows Phone 8 builds. They will not affect builds for other target platforms. You can include these options in your intelxdk.config.additions.xml file when submitting a build, in order to either supplement or replace those options that are automatically generated by the Intel XDK.

For detailed information regarding the structure and contents of the intelxdk.config.additions.xml file please read Using the Intel XDK Cordova Build Option article.

Windows Phone 8 Launch Icon Specifications

If no icon files are provided with your project, the build system will provide default icons. Youmust provide the Square, Small, and Store Logo icon sizes shown in bold in the table below, before submitting your application to the Windows Phone Store. The Wide Logo size is optional. If you do not provide unique icons with your app it is likely that your application will be rejected by Microsoft.

Icon files must be provided in PNG, JPG, or JPEG formats. The height and width numbers in the table (below) are in pixels. The 100% scale image splash screen should be provided by you prior to submitting the application to the app store. See the app icons section of this Choosing your app images article for more information.

TargetWidthHeightScale
Square Logo120120 80% scale image
Square Logo150150 100% scale image
Square Logo210210140% scale image
Square Logo270270180% scale image
Small Logo242480% scale image
Small Logo3030100% scale image
Small Logo4242140% scale image
Small Logo5454180% scale image
Store Logo5050100% scale image
Store Logo7070140% scale image
Store Logo9090180% scale image
Wide Logo24812080% scale image
Wide Logo310150100% scale image
Wide Logo434210140% scale image
Wide Logo558270180% scale image

Windows Phone 8 Splash Screen Image Specifications

Your application will display a splash screen during initialization. This is done to provide a "getting ready" indication while your app and the underlying device API infrastructure initializes. If no splash files are provided with your project, the build system will provide default images. It ishighly recommended that you replace the default splash screen images with your own before submitting your application to a store. See the app launch section of this Choosing your app images article for more information.

Splash screen images must be provided in PNG, JPG, or JPEG format. The height and width numbers in the table (below) are the required pixel sizes for the respective screens, only the size in bold is required. A launch image should be provided for each support device with your application.

TargetWidthHeightScale
Small620300100% scale image
Medium868420140% scale image
Large1116540 100% scale image

Windows Phone 8 Tile Image Specifications

Tile images are icons that appear on the main Start screen when you press the 'Windows' button or traditional home screen. Every app is required to have at least one default image for a Tile image that is used when you 'pin' an app from the App list. You can also have alternative Tiles that contain more valuable display information about the app, like weather, time, statistics, or current stock price. Any information a user might need at a glance. Refer to the app tile size and resolution section of this Tile Sizes and Resolutions article for more information.

TargetFlip and CycleIconic
Small159 x 159110 x 110
Medium336 x 336202 x 202
Wide691 x 336N/A

Windows 8 Build Preferences

windows-publisher-id
The publisher ID string, assigned by Microsoft, is unique and is the ID linked to your Windows Phone Store developer account when you submit your application to the Windows Store.
<preference name="windows-publisher-id" value="<PUBID>" />
<PUBID> is the publisher id assigned to you by Microsoft. (See the walkthrough to find your information on the Windows Dashboard). This identifies your account in the Windows Phone Store.
windows-publisher-display-name
The publisher display name is the author your applications are listed under in the Windows Store and the Windows Phone Store.
<preference name="windows-publisher-display-name" value="<DISPLAYNAME>" />
<DISPLAYNAME> represents the name under which your applications will be listed in the store. (See the walkthrough to find your information on the Windows Dashboard)
windows8-capability
Apps that need to access user resources like pictures, photos, contacts, etc., must state the appropriate capability in their application. Upon submission to the Windows Store, it is cross-checked to make sure the declared capabilities match the app description.
<preference name="windows8-capability" value="<CAPABILITY>" />
<CAPABILITY> is the permission identifier. The list of valid permissions may vary depending on the version of the operating system that is targeted. See the Windows 8 Capabilities on the MSDN site for valid values.

Viewing all articles
Browse latest Browse all 669

Trending Articles