BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   BES Admin Corner (http://www.blackberryforums.com/forumdisplay.php?f=21)
-   -   Unable to load application using AppLoader (http://www.blackberryforums.com/showthread.php?t=204952)

pgoeol 09-22-2009 08:02 AM

Unable to load application using AppLoader
 
Hi Friends,

My blackberry application has multiple COD files, I've zipped them in a single file and created a .alx file with required parameters. When I use loader.exe /index it do not generate PkgDBCache.xml with expected content.

Generated PkgDBCache.xml has following content:
Code:

<?xml version="1.0" encoding="UTF-8"?>
<PackageDBCache version="1.0"><packagedb hwid="0x00000000" size="0"/></PackageDBCache>

I dont know whats happening, because of this problem application is not visible in Device Software Configuration window as a shared application (in BES).

Please let me know if i'm missing something...

thnx...
Pulkit

hdawg 09-22-2009 08:20 PM

... and you're using what version and platform of BES?

pgoeol 09-23-2009 12:52 AM

i'm using BES for MDS Applications Version: 4.1.3.16
and i've application cod corresponding to 4.x OS versions...

hdawg 09-23-2009 08:00 PM

Ok ... I don't know BES for MDS at all ... however what do you mean you zipped them into a single file? Are they a single .cod or .zip file?

pgoeol 09-24-2009 02:03 AM

There are 5 .cod files and I zipped them into a single file and changed its extension to .cod file. Then I've created a .alx file as it was not generated in my build process...
my alx file looks has following content

<loader version="1.0">
<application id="myApp">
<description>
Application Store (dc=enterprise)
</description>
<name> myApp </name>
<version> 1.0.0 </version>
<vendor> xyz </vendor>
<copyright> Copyright (c) 2009 xyz </copyright>
<directory _blackberryVersion="[4.0.0,4.7.0)">8100</directory>
<fileset series="8100" Java="1.5">
<files>
mitr.cod
</files>
</fileset>
</application>
</loader>


is it the correct format???

hdawg 09-24-2009 05:16 AM

Correct the right-paren here:

[4.0.0,4.7.0)

should be:

[4.0.0,4.7.0]

no?

pgoeol 09-24-2009 09:59 AM

i think it doesn't matter as long as i'm not trying to install the app in a device with OS version 4.7.0

As in my case I want to install it on my 8100 device, so there should not be a problem...

hdawg 09-24-2009 02:16 PM

I was simply indicating the typo

pgoeol 09-25-2009 12:28 AM

Quote:

Originally Posted by hdawg (Post 1477439)
I was simply indicating the typo

Actually i've copied the alx file format from the GoogleMaps application...

Code:

<loader version="1.0">
 <application id="Google Maps">
  <description>
    Google Maps (dc=enterprise)
  </description>
  <name> Google Maps </name>
  <version> 3.0.2 </version>
  <vendor> Google </vendor>
  <copyright> Copyright (c) 2008 Google, Inc </copyright>
  <directory _blackberryVersion="[4.3.0,4.6.0)">BlackBerry-43</directory>
  <directory _blackberryVersion="[4.2.0,4.3.0)">BlackBerry-42</directory>
  <directory _blackberryVersion="[4.0.0,4.1.0)">BlackBerry-40</directory>
  <directory _blackberryVersion="[4.6.0,4.7.0)">BlackBerry-46</directory>
  <directory _blackberryVersion="[4.1.0,4.2.0)">BlackBerry-41</directory>
  <directory _blackberryVersion="[4.7.0,5.0.0)">BlackBerry-47</directory>
  <fileset Java="1.5">
    <files>
      GoogleMaps.cod
    </files>
  </fileset>
 </application>
</loader>


freakinvibe 09-25-2009 08:05 AM

Why would you zip all the COD files into a zip file and the rename it to COD?

I'd rather leave all the COD files as they are and list them in your ALX file. And I would correct the typo with the bracket as the indexer scans your whole file and not only the parts you might be using.

Also I would not use a subfolder.

Find below an example that works:

Code:

<loader version="1.0">
  <!-- Bloomberg for BlackBerry -->
  <application id="com.bloomberg.ax.mobile">
    <name>Bloomberg</name>
    <description>Bloomberg Apps for BlackBerry</description>
    <version>1.8.10.9</version>
    <vendor>BloombergLP</vendor>
    <copyright>Copyright (c) 2008 Bloomberg</copyright>
    <fileset Java="1.0">
      <directory/>
      <files>
        com_bloomberg_bblib.cod
        com_bloomberg_transport.cod
        com_bloomberg_launcher.cod
        com_bloomberg_msg.cod
        com_bloomberg_top.cod
        com_bloomberg_mkt.cod
        com_bloomberg_wei.cod
        com_bloomberg_quote.cod
        com_bloomberg_chart.cod
        com_bloomberg_ib.cod
        com_bloomberg_alrt.cod
        com_bloomberg_blawlib.cod
        com_bloomberg_people.cod
        com_bloomberg_transportlib.cod
        com_bloomberg_fly.cod
        com_bloomberg_dine.cod
        com_bloomberg_bbuilib.cod
        com_bloomberg_monitor.cod
        com_bloomberg_blaw.cod
        com_bloomberg_tk.cod
        com_bloomberg_eco.cod
        com_bloomberg_appframe.cod
        com_bloomberg_evts.cod
        com_bloomberg_tklib.cod
        com_bloomberg_citator.cod
        com_bloomberg_viewlib.cod
        com_bloomberg_osapi.cod
        com_bloomberg_personalmonitors.cod
        com_bloomberg_tw.cod
        com_bloomberg_ems.cod
        com_bloomberg_whatsnew.cod
      </files>
    </fileset>
  </application>
</loader>



All times are GMT -5. The time now is 11:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.