Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to launch application on BB10 dev alpha device
    primarykey
    data
    text
    <p>Hi I am new to blackberry and I have developed an app for BB10. I have tested it on simulator it is working fine.But when I try to launch the app on BB10 dev alpha device it gives an error "Unable to lauch app due to error 22". The steps that I have used :</p> <p>First I have created Developer Certificate using :</p> <pre><code>blackberry-signer -register -csjpin &lt;csj pin&gt; -storepass &lt;KeystorePassword&gt; &lt;client-RDK-xxxxxx.csj file&gt;&lt;client-PBDT-xxxxx.csj file&gt; </code></pre> <p>Second I have created a Debug token using :</p> <pre><code>blackberry-debugtokenrequest -storepass &lt;KeystorePassword&gt; -devicepin &lt;device PIN&gt; &lt;debug_token_file_name.bar&gt; </code></pre> <p>Then I installed the debug token in the dev alpha device using :</p> <pre><code>blackberry-deploy -installDebugToken &lt;path to debug token&gt; -device &lt;IP address of device&gt; -password &lt;device password&gt; </code></pre> <p>Then i have compiled the application using :</p> <pre><code>bbwp [drive:][path]archive -d [-o dir] </code></pre> <p>Then I have Deployed the application using the following syntax:</p> <pre><code>blackberry-deploy -installApp -password &lt;device password&gt; -device &lt;IP address of device&gt; -package &lt;BAR file path&gt; </code></pre> <p>The application is installed in the device correctly but when I click on the application icon I got error 22.</p> <p>Please help me so that i can rup app on device.</p> <p>------<em>-------</em>------<em>-------</em>------<em>-------</em>------<em>-------</em>------<em>-------</em>------<em>-------</em></p> <p>When I tried to launch the app through ripple then also i got the same error. Here is what i see on the cmd prompt.</p> <pre><code>2013-02-28 11:13:31 GET /ripple/build_status/6362 200 Info: Sending request: Install and Launch Info: Action: Install and Launch Info: File size: 411108 Info: Installing App.testDev_App___dbc068a4... Info: Processing 411108 bytes Info: Progress 96%... Info: Progress 100%... actual_dname::App.testDev_App___dbc068a4 actual_id::testDev_App___dbc068a4 actual_version::2.0.0.0 result::success Info: Launching App.testDev_App___dbc068a4... Error: Error loading application package: Invalid argument </code></pre> <p>Please help so that I can proceed. Thanks in advance.</p> <p><strong>Update</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="2.0.0.0" id="someId"&gt; &lt;author href="https://www.example.com/" rim:copyright="Copyright 1998-2012 My Corp"&gt;quepp&lt;/author&gt; &lt;name&gt;appName&lt;/name&gt; &lt;description&gt; description &lt;/description&gt; &lt;!--&lt;icon src="icon"/&gt;--&gt; &lt;content src="index.html"/&gt; &lt;feature id="blackberry.app"&gt; &lt;param name="backgroundColor" value="FFFFFF" /&gt; &lt;/feature&gt; &lt;feature id="blackberry.app"&gt; &lt;param name="orientation" value="portrait" /&gt; &lt;/feature&gt; &lt;feature id="blackberry.ui.dialog"/&gt; &lt;feature id="blackberry.identity" /&gt; &lt;access uri="*" subdomains="true" /&gt; &lt;license href="" /&gt; &lt;rim:permissions&gt; &lt;rim:permit&gt;access_shared&lt;/rim:permit&gt; &lt;rim:permit&gt;read_device_identifying_information&lt;/rim:permit&gt; &lt;/rim:permissions&gt; &lt;/widget&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload