Welcome to the CrackBerry Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By jeroen_13
  1. katesbb's Avatar
    CrackBerry Addict

    Posts
    734 Posts
    Global Posts
    809 Global Posts
    Thread AuthorThread Author   #1  

    Default Copy and Paste for text fields in PlayBook WebWorks / BBUI?

    Is it possible to enable the PlayBook's long-press popup menu in a WebWorks / BBUI app which allows us to cut, copy, select all, paste (etc.) in text fields?

    Most "standard" apps seems to support the option. Long--press the URL in the browser for example, and you're given the usual text options. But in my WebWorks app, the most I can get is the single pointer thingie which lets me choose where to start typing. But no double pointers for selecting, no long-press popup of text options.

    Am I missing something obvious?
  2. jeroen_13's Avatar
    CrackBerry Genius

    Posts
    1,749 Posts
    PIN
    Just PM
    #2  

    Default

    Found this on the Blackberry SupportForums

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

    So I just implemented copy/paste for my webworks app. *Huge thanks to Will Robertson for posting up the solution! *

    http://www.willw.net/enabling-copy-a...erry-playbook/

    *

    Apparently, all you have to do is change a couple settings in a configuration file from 'false' to 'true' to allow selecting and copy/paste. *Then, after you compile and deploy your app, you should get this functionality within all apps that you compile. *I just implemented it for my app and it works great (at least on the simulator).

    *

    Basically, just make sure the following two environment variables are set to true in the file "path_to_your_sdk/bbwp/AirAppTemplates/src?/blackberry-tablet.xml"

    *

    <env var="WEBKIT_CONTEXT_MENU_SUPPORTED" value="true"/>

    <env var="WEBKIT_SELECTION_SUPPORTED" value="true"/>?
    Thanked by 2:
    katesbb (12-22-2012),  nathanpc (12-28-2012) 
    nathanpc likes this.
  3. katesbb's Avatar
    CrackBerry Addict

    Posts
    734 Posts
    Global Posts
    809 Global Posts
    Thread AuthorThread Author   #3  

    Default

    Quote Originally Posted by jeroen_13 View Post
    Found this on the Blackberry SupportForums

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

    So I just implemented copy/paste for my webworks app. *Huge thanks to Will Robertson for posting up the solution! *

    Enabling Copy and Paste in a WebWorks app for the BlackBerry PlayBook | Will Robertson's Blog
    omg, Thank you! Thank you! This worked great
  4. nathanpc's Avatar
    CrackBerry User

    Posts
    62 Posts
    PIN
    28662FC9
    #4  

    Default

    Extremely useful resource. Thanks very much for sharing!
    My apps: CherryNotes - Bookmarked
    BlackBerries: Torch 9800 - PlayBook 64GB - Bold 9900 - Dev Alpha A (Sent back) - Limited Edition Z10 - Dev Alpha C

Similar Threads

  1. How do you copy and paste a picture in to a word doc on playbook?
    By mufc_Nick.C_mufc in forum BlackBerry PlayBook
    Replies: 12
    Last Post: 02-24-2013, 10:18 AM
  2. copy and paste for your bbmsn info..
    By pondi in forum General BlackBerry Discussion
    Replies: 0
    Last Post: 07-27-2009, 10:35 PM
  3. How to copy and paste in my edit info for bbm?
    By Swegweiser in forum Native BlackBerry OS Apps
    Replies: 6
    Last Post: 03-10-2009, 09:49 PM
  4. How to copy and paste in my edit info for bbm?
    By Swegweiser in forum BlackBerry Curve 83xx
    Replies: 6
    Last Post: 03-10-2009, 09:49 PM
  5. I figured how to copy and paste links in opera mini, yay
    By Zenitsu in forum BlackBerry OS Apps
    Replies: 5
    Last Post: 11-20-2008, 06:57 PM

Posting Permissions