{"id":524,"date":"2011-06-16T12:23:47","date_gmt":"2011-06-16T12:23:47","guid":{"rendered":"http:\/\/www.gmarwaha.com\/blog\/?p=524"},"modified":"2014-09-15T15:44:34","modified_gmt":"2014-09-15T15:44:34","slug":"blackberry-issue-with-installing-to-a-device-using-javaloader","status":"publish","type":"post","link":"https:\/\/www.gmarwaha.com\/blog\/2011\/06\/16\/blackberry-issue-with-installing-to-a-device-using-javaloader\/","title":{"rendered":"Blackberry &#8211; Issue with Installing to a device using Javaloader"},"content":{"rendered":"<p>After I successfully finished developing the first part of my new Blackberry application, I code-signed it so that I can see it on an actual device. There are many ways to deploy your under-development application to the device. You can directly use the &#8220;Debug&#8221; menu in eclipse and select <code>Debug As -&gt; Blackberry Device<\/code>. With your device connected to the USB port, eclipse will automatically deploy your application. Behind the scenes eclipse uses a command line tool called <code>JavaLoader<\/code> to deploy the application. Consequently, you can use &#8220;JavaLoader&#8221; directly from the command-line as well.<\/p>\n<p>There are a few other ways as well. For instance, you can use the Blackberry desktop manager software to deploy <code>ALX<\/code> files, or you can deploy <code>OTA<\/code> using <code>JAD<\/code> files and so on. Although the last two methods are primarily used for the production deployment, the first two methods can be used for development deployment.<\/p>\n<p>When I wanted to deploy using the first method for the first time, eclipse was showing a progress bar for too long with no feedback. I cancelled the operation and tried again with no change in attitude from eclipse. So, i decided to directly use <code>JavaLoader<\/code>. I used the command&#8230;<\/p>\n<pre class=\"prettyprint\">JavaLoader.exe -u load path_toyour_app.cod\r\n<\/pre>\n<p>and got the error&#8230;<\/p>\n<pre class=\"prettyprint\">Connecting to device...debug: HRESULT error during Open: 80040154\r\nError: unable to open port\r\n<\/pre>\n<p>My excitement wained off for the moment. Won&#8217;t it be good if everything worked well at first attempt?<\/p>\n<p>&nbsp;<\/p>\n<h4>Solution:<\/h4>\n<hr \/>\n<p>Install the Blackberry Desktop Manager. When you connect your blackberry using the USB cable, make sure the desktop manager says it is connected. Then you can use <code>javaloader<\/code> to load the app into your mobile without the command-line error or without Eclipse showing attitude.<\/p>\n<p>NOTE: I am wondering why wouldn&#8217;t it open the app by default when i deploy it. Why do I have to browse through the application list or the download directory and run the application by myself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I successfully finished developing the first part of my new Blackberry application, I code-signed it so that I can see it on an actual device. There are many ways to deploy your under-development application to the device. You can directly use the &#8220;Debug&#8221; menu in eclipse and select Debug As -&gt; Blackberry Device. With your device connected to the USB port, eclipse will automatically deploy your application. Behind the scenes eclipse uses a command line tool called JavaLoader to deploy the application. Consequently, you can use &#8220;JavaLoader&#8221; directly from the command-line as well. There are a few other ways... <br \/><a class=\"moretag\" href=\"https:\/\/www.gmarwaha.com\/blog\/2011\/06\/16\/blackberry-issue-with-installing-to-a-device-using-javaloader\/\">Continue reading...<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,18],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-blackberry","category-mobile"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":13,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":892,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions\/892"}],"wp:attachment":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}