Blackberry Webworks sdk for linux
Page 1 of 2 12 LastLast
Results 1 to 20 of 29

Thread: Blackberry Webworks sdk for linux

  1. #1
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times

    Blackberry Webworks sdk for linux

    im trying to get the webworks sdk ported over to linux and was wondering if any one else could use it other then me ?
    Joe Jerde and mekong89 like this.




  2. #2
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    i have gotten node js in linux and put it in the bb10 webworks sdk and have it running so far now i need to see what happens when i try and package an app

  3. #3
    Joe Jerde's Avatar
    Joe Jerde is offline Owner | President Follow Joe Jerde On Twitter Add Joe Jerde on Facebook Add Joe Jerde on Google+ Add Joe Jerde on Linkedin Visit Joe Jerde's Youtube Channel
    Join Date
    Feb 2009
    Location
    Phoenix, AZ
    Device
    BlackBerry Z10
    OS
    10.0.9.2743
    Carrier
    Verizon
    Posts
    7,805
    Liked
    1498 times
    Sweet, let me know. I and a few others that frequent the forums will be interested.

    Click the button in the bottom right of a post to say thanks!
    Downloads Center | Rules and Guidelines l BlackBerry 10 Zone

  4. #4
    bert2002 is offline BlackBerryOS Noobie
    Join Date
    Sep 2012
    Posts
    2
    Liked
    0 times
    That would be awesome. Waiting for that for ages. Please let me know if I can help somehow.

  5. #5
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    I need a ready to package bb10 dev alpha app ready to be packagaed. I need to test and see what works or breaks

  6. #6
    bert2002 is offline BlackBerryOS Noobie
    Join Date
    Sep 2012
    Posts
    2
    Liked
    0 times
    Quote Originally Posted by badtoyz View Post
    I need a ready to package bb10 dev alpha app ready to be packagaed. I need to test and see what works or breaks
    Unfortunately I only have Playbook and other Blackberry applications. Did you tried one of the example [1] applications?

    [1]: <not allowed to post links. just check the html5 page of blackberry and the sample apps section>

  7. #7
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    Playbook apps break on the bb10 sdk. Guess I should try and port the playbook sdk as well

  8. #8
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    ok here is an update. i found a BB10 dev alpha app on github and packaged it. it does not run because i did not sign it. but it did not give me any errors so i will try and sign it then run it now

  9. #9
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    i am having a hard time with the signing part. it saves the keys to C:\Users\myname\AppData\Local\Research In Motion
    im trying to find a way to change that in linux. but there is a good chance it is compiled in to the java jar files

  10. #10
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    ok found the config file to point to the signing keys but still have a problem signing the app.
    what gets me is the bb10 webworks sdk is about 3/4 done for linux support but rim said no to supporting linux with the sdk.
    all i have done so far is compile node.js v.0.6.10 , chmod +x a few files and configured a few files.
    we should start talking to rim about this and get it supported they are almost there as it is

  11. #11
    ice2921's Avatar
    ice2921 is offline BlackBerryOS Grand Master Follow ice2921 On Twitter
    Join Date
    Sep 2010
    Location
    USA
    Device
    Z10
    OS
    10.0.10.684
    Carrier
    AT&T
    Posts
    2,544
    Liked
    750 times
    I've tinkered with it at times, but unfortunately RIM does not make it easy. I agree its ridiculous that they don't support it.

  12. #12
    ice2921's Avatar
    ice2921 is offline BlackBerryOS Grand Master Follow ice2921 On Twitter
    Join Date
    Sep 2010
    Location
    USA
    Device
    Z10
    OS
    10.0.10.684
    Carrier
    AT&T
    Posts
    2,544
    Liked
    750 times
    Also what error message are you getting when trying to sign?

  13. #13
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    i dont get an error msg when packaging it just does not sign at all

  14. #14
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    ok i found something i was doing wrongs and now im getting a msg about signing. now to point it to the keys

  15. #15
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    ok im stumped right now i can get the signer to point to where the keys are stored. any one else see something i can do ?


    /*
    * Copyright 2012 Research In Motion Limited.
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *
    * http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
    var path = require('path'),
    os = require('os'),
    AUTHOR_P12 = "author.p12",
    CSK = "barsigner.csk",
    DB = "barsigner.db",
    _self;


    function getDefaultPath(file) {
    // The default location where signing key files are stored will vary based on the OS:
    // Windows XP: %HOMEPATH%\Local Settings\Application Data\Research In Motion
    // Windows Vista and Windows 7: %HOMEPATH%\AppData\Local\Research In Motion
    // Mac OS: ~/Library/Research In Motion
    // UNIX or Linux: ~/.rim
    var p = "";
    if (os.type().toLowerCase().indexOf("windows") >= 0) {
    // Try Windows XP location
    p = process.env.HOMEDRIVE + process.env.HOMEPATH + "$HOME/.rim/" + file;
    if (path.existsSync(p)) {
    return p;
    }


    // Try Windows Vista and Windows 7 location
    p = process.env.HOMEDRIVE + process.env.HOMEPATH + "$HOME/.rim/" + file;
    if (path.existsSync(p)) {
    return p;
    }
    } else if (os.type().toLowerCase().indexOf() >= 0) {
    // Try Mac OS location
    p = process.env.HOME + "$HOME/.rim/" + file;
    if (path.existsSync(p)) {
    return p;
    }
    }
    }


    _self = {
    getKeyStorePath : function () {
    // Todo: decide where to put sigtool.p12 which is genereated and used in WebWorks SDK for Tablet OS
    return getDefaultPath(AUTHOR_P12);
    },

    getCskPath : function () {
    return getDefaultPath(CSK);
    },

    getDbPath : function () {
    return getDefaultPath(DB);
    }
    };


    module.exports = _self;

  16. #16
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    the error i get is

    [INFO] Populating application source
    [INFO] Parsing config.xml
    [ERROR] Cannot sign application - failed to find signing key file: author.p12

  17. #17
    ice2921's Avatar
    ice2921 is offline BlackBerryOS Grand Master Follow ice2921 On Twitter
    Join Date
    Sep 2010
    Location
    USA
    Device
    Z10
    OS
    10.0.10.684
    Carrier
    AT&T
    Posts
    2,544
    Liked
    750 times
    Have you considered just spinning up a VM and running it on there?

  18. #18
    badtoyz is offline BlackBerryOS Friend Follow badtoyz On Twitter
    Join Date
    Jan 2012
    Location
    Barrie, Ontario
    PIN
    283aca48
    Device
    9810
    Carrier
    Rogers
    Posts
    33
    Liked
    7 times
    I know how to do it on windows. I just want to port it over to linux to prove the point that there is demand for support for linux.

  19. #19
    ice2921's Avatar
    ice2921 is offline BlackBerryOS Grand Master Follow ice2921 On Twitter
    Join Date
    Sep 2010
    Location
    USA
    Device
    Z10
    OS
    10.0.10.684
    Carrier
    AT&T
    Posts
    2,544
    Liked
    750 times
    Quote Originally Posted by badtoyz View Post
    I know how to do it on windows. I just want to port it over to linux to prove the point that there is demand for support for linux.
    Ok, I was not sure where you were going with this. I am looking into the error.

  20. #20
    ice2921's Avatar
    ice2921 is offline BlackBerryOS Grand Master Follow ice2921 On Twitter
    Join Date
    Sep 2010
    Location
    USA
    Device
    Z10
    OS
    10.0.10.684
    Carrier
    AT&T
    Posts
    2,544
    Liked
    750 times
    What signing keys are you using?
    Last edited by ice2921; 09-02-2012 at 02:36 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Ripple Emulator Working on Linux
    By John Reid in forum App Developers
    Replies: 4
    Last Post: 06-24-2012, 01:30 PM
  2. Linux Running on iPhone!
    By R1cE in forum Apple iPhone & iPad
    Replies: 0
    Last Post: 04-21-2010, 08:48 PM
  3. Any linux guru's in here?
    By kruzzenkidd in forum Android
    Replies: 3
    Last Post: 11-30-2009, 09:42 AM
  4. Blackberry on Linux
    By brandonalt in forum BlackBerry Storm 9530/9500
    Replies: 5
    Last Post: 08-18-2009, 07:49 PM
  5. Can I still load OS on my Storm with Ubuntu Linux?
    By Rednukleus in forum 9530/9500 Operating Software
    Replies: 8
    Last Post: 05-13-2009, 02:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •