blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

As a WebWorks developer, I can specify splash screens that will be displayed while my application is being loaded #109

Closed kwallis closed 12 years ago

kwallis commented 12 years ago

Acceptance Criteria

nukulb commented 12 years ago

what does it mean "to ensure that the images are at least a supported image type"? What image types are supported?

kwallis commented 12 years ago

We will need to confirm that. Elena or Jon D. will probably have that information, and can advise on whether the nativer packager has that validation or not.

rwmtse commented 12 years ago

This is how splash screen should be specified in the application descriptor XML file: https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_barfile_dtd_ref_splashscreen.html

For the markup to use in config.xml, I suggest we use the same format (and ignore the locale/language stuff), so it would be like: <rim:splashscreen>splashscreen-landscape.png:splashscreen-portrait.png</rim:splashscreen>

And just to be clear, for "multiple splash screen definitions", I think we are just going to allow landscape and portrait, that's it?

kwallis commented 12 years ago

We also need to account for different versions for screen resolutions. Details to follow, so we can do as you say for now and come back when we have more details.

----- Original Message ----- From: Rosa Tse [mailto:reply@reply.github.com] Sent: Monday, April 30, 2012 10:35 AM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can specify splash screens that will be displayed while my application is being loaded (#109)

This is how splash screen should be specified in the application descriptor XML file: https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_barfile_dtd_ref_splashscreen.html

For the markup to use in config.xml, I suggest we use the same format (and ignore the locale/language stuff), so it would be like: <rim:splashscreen>splashscreen-landscape.png:splashscreen-portrait.png</rim:splashscreen>

And just to be clear, for "multiple splash screen definitions", I think we are just going to allow landscape and portrait, that's it?


Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/109#issuecomment-5418623


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

rwmtse commented 12 years ago

@kwallis @nukulb For the markup to use in config.xml, we can just follow the markup for native bar-descriptor.xml:

    <splashScreens>
        <image>splash-1024x600.jpg</image>
        <image>splash-600x1024.jpg</image>
        <image>splash-1280x768.jpg</image>
        <image>splash-768x1280.jpg</image>
        <image>
            <text xml:lang="fr">splash-1280x768_fr.jpg</text>
        </image>
        <image>
            <text xml:lang="fr">splash-768x1280_fr.jpg</text>
        </image>
    </splashScreens>

It will be up to the native packager to do any validation.

kwallis commented 12 years ago

Small comment, we should add "rim:" on the splashscreens root element.

----- Original Message ----- From: Rosa Tse [mailto:reply@reply.github.com] Sent: Thursday, June 14, 2012 05:30 PM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can specify splash screens that will be displayed while my application is being loaded (#109)

@kwallis @nukulb For the markup to use in config.xml, we can just follow the markup for native bar-descriptor.xml:

    <splashScreens>
        <image>splash-1024x600.jpg</image>
        <image>splash-600x1024.jpg</image>
        <image>splash-1280x768.jpg</image>
        <image>splash-768x1280.jpg</image>
        <image>
            <text xml:lang="fr">splash-1280x768_fr.jpg</text>
        </image>
        <image>
            <text xml:lang="fr">splash-768x1280_fr.jpg</text>
        </image>
    </splashScreens>

It will be up to the native packager to do any validation.


Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/109#issuecomment-6343824


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

nukulb commented 12 years ago

@rwmtse - yup I agree the rim: needs to exist on splash screens.

rwmtse commented 12 years ago

OK, will add rim: to splash screens. I also notice that we seem to use "-" instead of camel case in our element names (e.g. rim:invoke-target), to make it more consistent, perhaps I should make it "rim:splash-screens"? And how about the child elements, no need to add rim: right?

kwallis commented 12 years ago

Our old loading screen was camel case, "loadingScreen".

----- Original Message ----- From: Rosa Tse [mailto:reply@reply.github.com] Sent: Friday, June 15, 2012 10:31 AM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can specify splash screens that will be displayed while my application is being loaded (#109)

OK, will add rim: to splash screens. I also notice that we seem to use "-" instead of camel case in our element names (e.g. rim:invoke-target), to make it more consistent, perhaps I should make it "rim:splash-screens"? And how about the child elements, no need to add rim: right?


Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/109#issuecomment-6357963


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

rwmtse commented 12 years ago

I see. rim:splashScreens that is. Thanks.

kwallis commented 12 years ago

@rwmtse @nukulb Updated the description to outline compliance with the Widget spec proposal for splash screens

kwallis commented 12 years ago

Re-targeted to Beta4

kwallis commented 12 years ago

@rwmtse Updated to indicate that the splash element should be prefixed with rim: until this becomes an official part of the spec.