BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-22-2009, 08:02 AM   #1
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default Unable to load application using AppLoader

Please Login to Remove!

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
Offline  
Old 09-22-2009, 08:20 PM   #2
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

... and you're using what version and platform of BES?
Offline  
Old 09-23-2009, 12:52 AM   #3
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default

i'm using BES for MDS Applications Version: 4.1.3.16
and i've application cod corresponding to 4.x OS versions...
Offline  
Old 09-23-2009, 08:00 PM   #4
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

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?
Offline  
Old 09-24-2009, 02:03 AM   #5
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default

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???
Offline  
Old 09-24-2009, 05:16 AM   #6
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Correct the right-paren here:

[4.0.0,4.7.0)

should be:

[4.0.0,4.7.0]

no?
Offline  
Old 09-24-2009, 09:59 AM   #7
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default

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...
Offline  
Old 09-24-2009, 02:16 PM   #8
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

I was simply indicating the typo
Offline  
Old 09-25-2009, 12:28 AM   #9
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default

Quote:
Originally Posted by hdawg View Post
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>

Last edited by pgoeol; 09-25-2009 at 12:29 AM..
Offline  
Old 09-25-2009, 08:05 AM   #10
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default

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>

Last edited by freakinvibe; 09-25-2009 at 08:06 AM..
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



Wittmann Material Conveyance System Line Server picture

Wittmann Material Conveyance System Line Server

$550.00



SERVER TECHNOLOGY 4870-XLS-44 SENTRY VDC 48VOLT DC REMOTE POWER MANAGER picture

SERVER TECHNOLOGY 4870-XLS-44 SENTRY VDC 48VOLT DC REMOTE POWER MANAGER

$299.99



MEDIA SERVER DOLBY IMS2000 MSIP-REM-DIB-IMS2000 picture

MEDIA SERVER DOLBY IMS2000 MSIP-REM-DIB-IMS2000

$799.99



Axis Q7900 14 Slot Video Server Rack Chassis,Axis 0287-004 picture

Axis Q7900 14 Slot Video Server Rack Chassis,Axis 0287-004

$230.00



MOXA CN2650-16-2AC 16-Port Mountable Async Terminal Server Dual Lan Ports picture

MOXA CN2650-16-2AC 16-Port Mountable Async Terminal Server Dual Lan Ports

$285.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.