Changes between Version 26 and Version 27 of Getting-Started/BB10


Ignore:
Timestamp:
Jul 30, 2013 1:42:51 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/BB10

    v26 v27  
    165165 
    166166 
     167 
    167168[[BR]] 
    168169 
     
    227228 8. Include {{{pjsip-device-debug.pri}}} in the relevant section of your {{{.pro}}} file. 
    228229 9. Repeat from step 2 for each target 
     230 
     231 
     232== Using PjsuaBB in Device-Release Target == 
     233 
     234In this section we will build PJSIP and PjsuaBB in '''Device-Release''' mode and ''sideloading'' it to the device. Sideload is a term for installing an app directly to the device without publishing it through ''Blackberry !AppWorld''. 
     235 
     236=== Building Device-Release Target === 
     237 
     238For PJSIP, follow [#multicfg Multiple Settings] section above on how to build PJSIP in Device-Release build target. Or otherwise the easiest way is to re-run {{{./configure-bb10}}} with the appropriate CFLAGS and rebuild PJSIP. 
     239 
     240Then in Momentics IDE, select ''Device-Release'' as the active build configuration for PjsuaBB, and build the application. 
     241 
     242=== Creating .bar Package === 
     243 
     244Follow the [https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.quickstart/topic/sign_and_publish_your_app.html Sign and publish your app tutorial] from Blackberry Native SDK site to create the '''.bar''' package. You don't need to publish your app now (unless you want to of course). 
     245 
     246=== Installing (a.k.a Sideloading) to Device === 
     247 
     248As far as I know there are three ways to sideload an app to the device: 
     249 
     250 1. [http://m.crackberry.com/ddpb-installer-utility-blackberry-playbook-updated-v109 Using DDPB] to sideload apps to Blackberry PlayBook. I think this tool has been deprecated in favor of vnBB10 below. 
     251 1. [http://m.crackberry.com/sideload-android-apps-your-blackberry-10-device-vnbb10 Using vnBB10] to sideload apps to BB10 and PlayBook. The tool works on both Mac and Windows (no Linux!) 
     252 1. [http://m.crackberry.com/sideload-apps-your-blackberry-using-google-chrome Using a Chrome extension] to sideload apps to BB10 and PlayBook. This works on Linux as well as Mac and Windows. I only tested this. 
     253 
     254For general tutorial on sideloading apps to your BB10 device please see [http://m.crackberry.com/how-put-android-apps-your-blackberry-10-device this tutorial] (on Windows). 
     255 
     256=== Troubleshooting Problems === 
     257 
     258I am by no means expert on sideloading, so please contact the relevant forum for help. But I may have one or more tips for troubleshooting problems: 
     259 
     260 1. Make sure your debug token is valid. In my experience, the Chrome extension was unable to connect to my device due to expired debug token. Remember that debug token expires every 30 days. It works fine after the debug token is renewed. The easiest way to renew debug token is from Momentics IDE: 
     261    - go to ''Preferences'' --> ''Blackberry'' --> ''Signing'' 
     262    - select the expired debug token, click ''Renew'', then ''Upload'' to upload to the device. 
    229263 
    230264