Closed kwallis closed 12 years ago
what does "at runtime" mean?
do you want this in the config.xml or an api?
To be config.xml is not runtime, its like build time where as an api is runtime.
Updated description and title.
aspect ratio tag seems like the one we should use https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_barfile_dtd_ref_aspectratio.html
This is a tag in the bar manifest? Can we ensure this maps to navigator functionality, as in understand you used to be able to do things like this on Screen, but that moving forward it all has to go through Navigator.
----- Original Message ----- From: Nukul Bhasin [mailto:reply@reply.github.com] Sent: Friday, May 04, 2012 06:55 AM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application so that it runs in portrait or landscape only (#108)
aspect ratio tag seems like the one we should use https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_barfile_dtd_ref_aspectratio.html
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-5508096
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.
this declarative for the blackberry-tablet.xml. Isn't that what you want? I am confused you said it needs to be in the config.xml
From the webworks developer perspective, yes, I want it in config.xml.
What I want to understand is ultimately how does this translate at the native end to ensure we are built on the right thing.
If we just translate our config to something in tablet.xml, let's just make sure to follow the thread through the native packager and down and make sure we are ultimately leveraging the right component (navigator I think?) to control this.
----- Original Message ----- From: Nukul Bhasin [mailto:reply@reply.github.com] Sent: Friday, May 04, 2012 11:22 AM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application so that it runs in portrait or landscape only (#108)
this declarative for the blackberry-tablet.xml. Isn't that what you want? I am confused you said it needs to be in the config.xml
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-5512854
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.
I have no idea what this means "follow the thread through the native packager and down and make sure we are ultimately leveraging the right component (navigator I think?) to control this"?
If we are using the native packager how are we suppose to know what it uses once it bundles the app and it puts it on the device? I think we have rely on the fact that this flag will ultimately be updated to use the right component on the OS even if it is not using the right component right now
Is there any possibility of adding support for something like a "north" orientation. This was a feature missing in our previous orientation locks.
In the old blackberry world portrait did not always mean facing up ( I think this was true for bolds and curves). This created an issue for developers targeting keyboard devices as well as torches because torches would need to be locked in portrait while other devices would need to be locked in landscape. Allowing the specification of something like north, which would mean facing up independent of screen dimensions, could be helpful.
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
From: Jeffrey Heifetz [reply@reply.github.com] Sent: Tuesday, May 22, 2012 11:52 AM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application so that it runs in portrait or landscape only (#108)
Is there any possibility of adding support for something like a "north" orientation. This was a feature missing in our previous orientation locks.
In the old blackberry world portrait did not always mean facing up ( I think this was true for bolds and curves). This created an issue for developers targeting keyboard devices as well as torches because torches would need to be locked in portrait while other devices would need to be locked in landscape. Allowing the specification of something like north, which would mean facing up independent of screen dimensions, could be helpful.
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-5850731
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.
@kwallis If we added it someone should update our docs - https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/RIM_orientation_element_1594186_11.html
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
From: Jeffrey Heifetz [reply@reply.github.com] Sent: Tuesday, May 22, 2012 12:46 PM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application so that it runs in portrait or landscape only (#108)
@kwallis If we added it someone should update our docs - https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/RIM_orientation_element_1594186_11.html
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-5852176
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.
@kwallis Just to clarify, north should be in addition to portrait, shouldn't it?
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
From: Jeffrey Heifetz [reply@reply.github.com] Sent: Tuesday, May 22, 2012 1:39 PM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application so that it runs in portrait or landscape only (#108)
@kwallis Just to clarify, north should be in addition to portrait, shouldn't it?
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-5853553
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.
Updated description based on design conversations.
For the "North" attribute, I'll add the following to the configuration documentation:
north
The north attribute specifies that screen orientation remains in portrait mode, with the top of the application screen aligned to the top of the device (for example, the "top" on BlackBerry smartphones is typically where the speaker is located).
This attribute is available only in BlackBerry WebWorks SDK for Smartphones 2.3 and later.
This attribute is optional.
Acceptable? @jeffheifetz @kwallis
It is not tied to portrait mode. For example, North on a Bold 9900 would really equate to landscape in relation to the screen dimensions.
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
From: Barb Paduch [notifications@github.com] Sent: Tuesday, September 04, 2012 9:57 AM To: blackberry/BB10-Webworks-Packager Cc: Ken Wallis Subject: Re: [BB10-Webworks-Packager] As a WebWorks developer, I can lock the orientation of my application (#108)
For the "North" attribute, I'll add the following to the configuration documentation:
north
The north attribute specifies that screen orientation remains in portrait mode, with the top of the application screen aligned to the top of the device (for example, the "top" on BlackBerry smartphones is typically where the speaker is located).
This attribute is available only in BlackBerry WebWorks SDK for Smartphones 2.3 and later.
This attribute is optional.
Acceptable? @jeffheifetzhttps://github.com/jeffheifetz @kwallishttps://github.com/kwallis
— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/108#issuecomment-8263622.
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.
I believe we are unblocked on this. @nukulb when can we start work on this?
FYI, it appears as though "north" is not supported in the native-packager yet. I have added support for north on our side, but until native-packager supports it, the user will get a native-packager exception when packaging.
[INFO] [ERROR] MANIFEST.MF: Invalid value 'north' for attribute 'Entry-Point-Orientation'. [ERROR] Native Packager exception occurred
@kwallis @jkeshavarzi @nukulb
So, for BB10, instead of using the existing config.xml
Acceptance Criteria