Policy playBook

I create an HTML5 WebWorks for PlayBook application and I fight problems with orientation changes. I see now why so many applications PlayBook, such as Facebook, simply lock direction or another. I know that to get a good solution to this problem I must describe clearly. I talked to a couple of guys WebWorks RIM to the DevCon on this subject. I'm not sure that my description of the problem was clear enough to realize what I was describing, so they suggested that I try on the latest version of the SDK WebWorks. It is always a problem in WebWorks 2.2.0.5.  (On the BONE 1.0.7.3312 and OS 2.0.0.3778)

----------------------------------------------------

Portrait (OK)--> Landscape (OK)--> Portrait (NOT OK)--> Landscape (OK)

----------------------------------------------------

If a page is initially rendered in portrait and landscape mode orientation changes, it is treated the same as if you just resized a 600 x 1024, 1024 x 600 browser window. Font sizes and dimensions in pixels fixed to objects are not performed at all. The page is simply a new made and sank to new dimensions of the screen. It works like a browser window resizing. It's predictable and good.

Now... If you return the device in portrait mode on the page is quite about 50% smaller. A

which has been set to 300px wide appears as if she's only 150px wide and the text it contains is tiny. This is absolutely NOT what than a browser when you resize a window of 1024 x 600 600 x 1024. A browser would continue to abide all the font sizes and size of the fixed elements. It would simply be re-flow the page to the new dimensions.

It's unpredictable and bad because the size of the elements and fonts into portrait mode is VARIABLE depending on how the page was initially rendered. Portrait is rendered to the size specified for the first time, BUT in a smaller size, the second time.

----------------------------------------------------

Sorry for the slow response. I've been very busy and I forgot I had even posted the issue here. To try to solve this problem, I tried a lot of things. Most had to do with detection of direction of changes/window resizes and adjusting the window width and height than online. This method works very well but it is not necessary. The PlayBook Gets the height and width sometimes confused and ends up making the display window at 1024 x 1024.

The simplest solution is to place the following tag in the header of your page:


Quite simply... Tell the device to leave only descaling continuously.

I found that it is better not to try to use the width or height of the this meta tag attributes. The device merges if you do this. I tried this way, hard coded to the size of the pixels, and by using the device-width and device-width keywords. I couldn't have a consistent behavior using this technique. I also tried to change the meta tag of dynamic display on the policy changes by using javascript. That too is unpredictable, but if you want to try it here is a sample:

$(WinElem).resize( function(){
    var viewport = WinElem.document.querySelector("meta[name=viewport]");
    var height = $(WinElem).height();
    var width = $(WinElem).width();
    if( width > height ) {
        // changed to landscape
        viewport.setAttribute('content', 'width=1024, height=600, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0');
    } else {
        // changed to portrait
        viewport.setAttribute('content', 'width=600, height=1024, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0');
    }
});

Tags: BlackBerry Developers

Similar Questions

  • @font-face questions [Playbook]

    Has anyone got using @font-face in their projects?

    My app looks good when viewed in a browser, but the @font-face doesn't quite work by testing on the Playbook... To be sure, I even tried including all formats (truetype and woff, svg)

    Don't know what I'm doing wrong...

    It could have all sorts of reasons. Maybe something wrong with the police?

    Just a suggestion: try to put my example in an application, see if it works. If this is the case, change the font of your policy and see if it still works. If so, there is a subtle error in your code. If none there is something wrong with the police

  • PlayBook of online leaderboards

    I noticed that potentially handle online statement section rankings 'User Generated Content'.

    What do people to meet all these requirements don't care when you're just a single developer?

    Profanity filters are a complete joke and are easy enough for the Player determined to go beyond.

    It's not as if I'll be able to moderate the highscores personally around the clock.

    Need us a system of accountability so that it is linked to an account I guess.  That we will be able to access on behalf of user PlayBook profile?  I did not see how the player might not want to send the results under their profile name but for both privacy as well as reasons if the player of the game is not the owner of the PlayBook at the time (as a friend / brother / etc.)

    Ideas or suggestions welcome.  I am currently using Playtomic for my integration of rankings.  What other people use?

    Best regards

    Dave Evans

    Hybrid mind Studios

    HybridMind wrote:
    I can't yet imagine an elegant, beautiful, clean way to present everything in my game/rating on the linguistic emails/pick-up.  I love the minimal user interface and it's that kind of gums things correct.

    Thanks for your thoughts on each point of the ball.  Even though I know you answer in the realm of how I would like to think that the scope of this one is that the fact remains that it is the BlackBerry review team who will be judging these points and they did not provide guidance.  Which adds to the difficulty of determining the scope of the work in question.

    I don't think I would even put this in the leaderboard stuff... don't you have certain kinds of on page, or help?  Put it should be good.  I would consider a small piece of text they enter the name of the profile, saying "offensive names will be rejected - see Help" or something.  I also wouldn't try to do realtime or anything like that... it's not as if you have a requirement for users to warn in real-time as they type the name it will be rejected.

    In addition, I would be not too concerned about the judgment of the review team on either.  My guess is that they know exactly what they want yet, and they are collecting ideas become people and they will publish, finally, a sort of guide that specifies minimum standards in some way.

    And, if they are not, I don't know that we ('the people') will be... There are still some playbookwiki.org or this forum as a place to start to report on reviews of RIM on the shortcomings in his process in this area.

    A good policy to follow here is probably it is better to forgive that permission... just come up with something basic that you think that serves the need and submit it.  If they don't like it, the worst they can do is you give a more detailed request, which is itself a form of guidance (sad, although it may be that they do it this way).

  • PlayBook & cisco Easy VPN Server 831

    I don't seem to be able to connect to my router 831 cisco easy vpn server is configured by using my Blackberry Playbook.  Looking at the console of the router I can see Debugging but don't know what it means.  I have attached debugging as well as glued my setup, if someone is able to help me at all it would be much appreciated.  Thank you very much.

    Current configuration: 2574 bytes
    !
    version 12.3
    no service button
    horodateurs service debug datetime msec
    Log service timestamps datetime msec
    no password encryption service
    !
    router host name
    !
    enable secret 5 $1$ FM71$ y4ejS2icnqX79b9gD92E81
    enable password xxxx
    !
    username privilege 15 password 0 $1$ W1fA CRWS_Ritesh $ o1oSEpa163775446
    username privilege 15 secret 5 shamilton wFLF $1$ $ 8eRxnrrgVHMXXC0bXdEGi1
    AAA new-model
    !
    !
    AAA authentication login default local
    AAA authentication login ciscocp_vpn_xauth_ml_1 local
    AAA authorization exec default local
    AAA authorization ciscocp_vpn_group_ml_1 LAN
    AAA - the id of the joint session
    IP subnet zero
    no ip Routing
    !
    !
    audit of IP notify Journal
    Max-events of po verification IP 100
    No ftp server enable write
    !
    !
    !
    !
    crypto ISAKMP policy 1
    BA 3des
    preshared authentication
    Group 2
    ISAKMP xauth timeout 15 crypto

    !
    ISAKMP crypto client configuration group ciscogroup
    (deleted) 0 key
    DNS 172.16.60.246 172.16.60.237
    pool SDM_POOL_3
    ACL 100
    Save-password
    include-local-lan
    !
    !
    Crypto ipsec transform-set esp-SHA-ESP-3DES-3des esp-sha-hmac
    !
    crypto dynamic-map SDM_DYNMAP_1 1
    game of transformation-ESP-3DES-SHA
    market arriere-route
    !
    !
    card crypto SDM_CMAP_1 client authentication list ciscocp_vpn_xauth_ml_1
    map SDM_CMAP_1 isakmp authorization list ciscocp_vpn_group_ml_1 crypto
    client configuration address map SDM_CMAP_1 crypto answer
    map SDM_CMAP_1 65535-isakmp dynamic SDM_DYNMAP_1 ipsec crypto
    !
    !
    !
    !
    interface Ethernet0
    IP 172.16.60.241 255.255.255.0
    IP nat inside
    no ip route cache
    !
    interface Ethernet1
    DHCP IP address
    NAT outside IP
    no ip route cache
    automatic duplex
    map SDM_CMAP_1 crypto
    !
    interface FastEthernet1
    no ip address
    Shutdown
    automatic duplex
    automatic speed
    !
    interface FastEthernet2
    no ip address
    Shutdown
    automatic duplex
    automatic speed
    !
    interface FastEthernet3
    no ip address
    Shutdown
    automatic duplex
    automatic speed
    !
    interface FastEthernet4
    no ip address
    automatic duplex
    automatic speed
    !
    local IP SDM_POOL_1 172.16.60.190 pool 172.16.60.199
    pool of local SDM_POOL_2 192.168.1.1 IP 192.168.1.100
    local IP SDM_POOL_3 172.16.61.100 pool 172.16.61.150
    IP nat inside source overload map route SDM_RMAP_1 interface Ethernet1
    IP classless
    !
    IP http server
    no ip http secure server
    !
    Remark SDM_ACL category of access list 1 = 2
    access-list 1 permit 172.16.60.0 0.0.0.255
    Note access-list 100 category CCP_ACL = 4
    access-list 100 permit ip 172.16.60.0 0.0.0.255 any
    public RO SNMP-server community
    Enable SNMP-Server intercepts ATS
    !
    Line con 0
    no activation of the modem
    line to 0
    line vty 0 4
    exec-timeout 120 0
    password xxxxx
    length 0
    !
    max-task-time 5000 Planner
    !
    end

    Stace,

    *Mar  1 06:40:15.258: ISAKMP: transform 1, ESP_AES

    *Mar  1 06:40:15.258: ISAKMP:   attributes in transform:

    *Mar  1 06:40:15.262: ISAKMP:      SA life type in seconds

    *Mar  1 06:40:15.262: ISAKMP:      SA life duration (basic) of 10800

    *Mar  1 06:40:15.262: ISAKMP:      encaps is 61443

    *Mar  1 06:40:15.262: ISAKMP:      key length is 256

    *Mar  1 06:40:15.262: ISAKMP:      authenticator is HMAC-SHA

    *Mar  1 06:40:15.262: ISAKMP (0:14): atts are acceptable.

    *Mar  1 06:40:15.262: ISAKMP (0:14): IPSec policy invalidated proposal

    *Mar  1 06:40:15.262: ISAKMP (0:14): phase 2 SA policy not acceptable! (local 14

    The other end offers AES 256 and SHA IPSec transform set.

    While you have configured:

    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

    Suggestion:

    Add a new set of transofrm and apply it under crypto map.

    HTH,

    Marcin

  • I would like to delete policy, top stories, stories recommended, a trend of stories for you page on new app

    I would delete policy, top stories, stories recommended, new trends for you page on the news application? Please get what he was better before we can remove it

    Hello, fredym1!

    Thank you for joining the communities Support from Apple! Looks like you're wanting to customize the news application in the section for you. That's a big question! Read this article with the steps to use news on your iPad, iPhone or iPod touch. More precisely:

    Customize for you

    Add themes and channels that interest you in the section Explore to your Favorites. This allows new decide what kind of stories you show for you.

    To display the list of channels and topics you follow, tap on Favorites.  If you subscribe to a channel, there is a separate section in the Favorites for your subscriptions. You can also sort the bookmarks by name, visited recently, or most visited. Just tap Favorites at the top of the screen, then choose how you want to sort them.

    You want quick access to headlines? Learn how to Add the new app to your Widgets on your iOS device.

    Add a subject or a channel

    1. Tap Explore the bottom of the screen.
    2. Browse the categories, channels and topics that interest you.
    3. When you find a channel or a topic you want to add, click on .

    Looking for a specific topic or channel? Click the Search tab and enter what you are looking for. You can also add a topic or a channel, you are looking for to your Favorites. Just type in next to the search results.

    Remove a theme or a channel

    1. Go to your Favorites.
    2. Tap on edit.
    3. Type in the upper right corner of the string or the topic you want to delete.

    You can also cut a channel to avoid stories appear in your feed you.

    See you soon!

  • Suddenly cannot send mail. Message 4.7.1: Recipient address rejected: rejection policy - your host has been blacklisted for e-mail abuse.

    When I try to send a message an error box apperars:

    An error occurred while sending mail. The mail server responded:
    4.7.1 < ***@***.com >: recipient address rejected: rejection policy - your host has been blacklisted for e-mail abuse. Please configure your email client to use authentication SASL - contact support if in doubt how...

    Please check the message recipient "*********@******.com" and try again.
    

    This happened while I was sending about #3 4 or 5 that I must send. Nothing I know has been changed has been changed! I have downloaded the latest version while I was in the program.

    This seems to be a message from a server. The word 'host' is not clear to me. In the language of networking, it can mean your own computer, but more generally, it could mean your ISP provider or by e-mail.

    Anyway, this means that something has decided that you are, or are on a network that has been identified as a source of spam. I suggest that ask you this from your ISP.

  • While the iPhone overseas requires a reactivation, which sometimes works, but more often does not work. At the beginning he said that my SIM card was not supported by the activation policy assigned by the activation server.

    iPhone 6

    Network: Verizon

    iOS 9.3.3

    Twice now, once in Costa Rica in April and, more recently, in Ireland, while that phone overseas warning reads as follows:

    "your iPhone could not be activated because the activation server is not reachable. Try to connect your phone to the iPhone to activate it, or try again in a few minutes. If the problem persists contact Apple Support to Apple.com/support. »

    or:

    "The SIM card that you have currently installed in the phone is a carrier that is not supported in the title of the activation policy that is currently assigned by the activation server. This isn't a problem with the hardware with the iPhone. Please insert another card from a supported carrier SIM or ask this iPhone be unlocked by your operator. Please contact Apple for more information. »

    My carrier is Verizon and I replaced the SIM card on my return from Costa Rica end of April despite the fact that the card is unlocked and good, in theory, for international travel,

    Before you activate the phone is locked and I can't access applications like camera, that, when I travel, I need over the phone.

    Apple says call Verizon. Verizon said, you guessed it, call Apple.

    When I return to the States, everything works fine. I thought that the replacement of a SIM card would do the trick, so you can imagine my dismay when the activation warning came after I took the phone off airplane mode after I landed in Dublin and the activation warning came new.

    What is going on?

    kennypg wrote:

    iPhone 6

    Network: Verizon

    iOS 9.3.3

    Twice now, once in Costa Rica in April and, more recently, in Ireland, while that phone overseas warning reads as follows:

    "your iPhone could not be activated because the activation server is not reachable. Try to connect your phone to the iPhone to activate it, or try again in a few minutes. If the problem persists contact Apple Support to Apple.com/support. »

    or:

    "The SIM card that you have currently installed in the phone is a carrier that is not supported in the title of the activation policy that is currently assigned by the activation server. This isn't a problem with the hardware with the iPhone. Please insert another card from a supported carrier SIM or ask this iPhone be unlocked by your operator. Please contact Apple for more information. »

    My carrier is Verizon and I replaced the SIM card on my return from Costa Rica end of April despite the fact that the card is unlocked and good, in theory, for international travel,

    Before you activate the phone is locked and I can't access applications like camera, that, when I travel, I need over the phone.

    Apple says call Verizon. Verizon said, you guessed it, call Apple.

    When I return to the States, everything works fine. I thought that the replacement of a SIM card would do the trick, so you can imagine my dismay when the activation warning came after I took the phone off airplane mode after I landed in Dublin and the activation warning came new.

    What is going on?

    I think it's a problem with Verizon.

    Our company is on AT & T - and our lawyer have travel all over the world, Africa, London, South East Asia and they have never complained to me than before.

  • How to configure firefox for deployment without group policy

    So my search resulted in my understanding there is no group policy for FF. I don't know FrontMotion Firefox, but I want to leave that as a last resort for now.

    I need to find a solution to add a location of CIP to the proxy but also to set the home page. I guess there is a preferences file in a location that I can modify and put all those who have the FF, but I was not able to find it.

    Can someone point me in the right direction?

    Thank you!

    Hi JHBPJF, you may refer to the following article to deploy a central settings for your firefox installations file: http://kb.mozillazine.org/Locking_preferences

  • What is the policy for third-party cookie from Firefox? What is Safari?

    We try to see about third-party cookie policy. The default "remember history" setting, are third party automatically accepted cookies? Or changes must be manually defined in the privacy settings?

    Yes, this is the "default".
    N °

  • My policy changed

    Somehow, my policy changed in a troubled police.
    As far as I know, I have not changed anything in the settings for the police.

    I myself found that all Windows updates I had two days, changed the font in letters agitated. I deleted a couple of them and the problem disappeared.

    Yet, I think it's very strange that an update, which is designed to HELP the system, is changing the police. So the question is: what Windows updates I can count on and that I can't count on?

  • Page not available due to security policy, default category, it's my homepage which has always been my home page.

    I don't not all of a sudden access to my home page - I get this message: "your page is blocked because of a security policy that prohibits access without the category. This is my homepage for years and I've never had this problem before.

    This is the home page that you use?
    Browser.Startup.homepage: http://www.goarch.org/

    Some added addons toolbar and anti-virus are known to cause
    Firefox issues. Disable all of them.

  • New followed Facebook ad policy for user profiles.

    New Facebook policy seems very invasive. I have my Mozilla Firefox browser, the value "Tell sites I want to be the subject of a follow-up." Is it enough to stop this new policy of Facebook or I have to go through their use of the Digital Alliance network options and / or by clicking on the ads on Facebook itself to withdraw various categories of targeted ads? All clear or some advice available on this would be welcome.

    The use of cookies is to remove other cookies seems ridiculous to me. What I do is by default blocking and do waive those that I need. If a site who needs cookies is not that I visit often, I limit this site so only session cookies. Read the two pages I linked. There are such things as supercookies, and there are ways to block them.

  • The user .js: capability.policy is gone for good?

    user_pref ("capability.policy.policynames", "nojsbroken");
    user_pref ("capability.policy.nojsbroken.javascript.enabled", "noAccess");
    United Steelworkers

    Seems to have stopped working with Firefox 29. He's coming back, or is he gone for good?

    He went. You can use the modules as YesScript (black list) or NoScript (white list).

  • What is the Mozilla user data retention policy unique identifier?

    I read recently in the privacy policy of FF that an ID unique browser is sent to Mozilla with an IP address whenever the browser checks the updates:

    "This function sends also potentially personal information to Mozilla in the form of your IP address and a cookie that contains a unique numeric value to distinguish various Firefox installs."

    http://www.Mozilla.org/en-us/legal/privacy/Firefox.html

    This feature can potentially, provide a list complete IP addresses and sites that a user used to access the Internet, Mozilla. Can you please clarify your data retention policy? In other words, how long are the IP address or other identifier stored on your servers?

    Hello! I'm chime of the Mozilla Privacy team.

    For RFT pings, we don't hold anything in FHR > 6 months (180 days). That answer your question? Here is a link to the info - it's under "how enable or disable sharing of data".

    https://support.Mozilla.org/en-us/KB/Firefox-health-report-understand-your-browser-perf

  • I can get it for blackberry playbook

    I have a playbook and a z10. Is there a download for me to get firefox?

    Firefox does not work on Blackberry, Android only, sorry to other operating systems

Maybe you are looking for