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)
-   -   Daubt about Assign Application Configuration option (http://www.blackberryforums.com/showthread.php?t=204607)

pgoeol 09-18-2009 07:07 AM

Daubt about Assign Application Configuration option
 
Hi,

I may sound silly but I've a requirement to assign screen size dependent applications to blackberry devices .
As far as i know, we can have applications compliant to different OS versions and the mapping of the COD files to OS versions is stored in the .alx file...
is there any similar method which can take care of the devices screen size???

Thanx in advance...
Pulkit

hdawg 09-20-2009 04:13 PM

I don't understand your question; can you please explain again / differently?

pgoeol 09-21-2009 02:25 AM

let me explain it again...

For distributing an application we are required to have its cod files and an .alx file (which keeps information to map cod files with Blackberry OS versions). Whenever the BES admin loads the application configuration to install the application on the device, it automatically installs the correct cod file (according to specified version).
In my case I have applications which vary on the basis of Blackberry devices (eg. their screen size, their OS versions)... so i want some way to get them installed on devices automatically without worrying about which cod file is required to be installed on which device...

Plz let me know if i've made my point clear...

Thnx..

Pulkit

hdawg 09-21-2009 06:50 PM

Yes, I understand now (I think at least). Use the alx to identify... here's what Google uses for GMM:

Quote:

<loader version="1.0">
<application id="Google Maps">
<description>
Google Maps (dc=enterprise)
</description>
<name> Google Maps </name>
<version> 3.0.1 </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>
I don't know all the details you can put in an alx to ensure a HH gets the right version, but this is a start.

pgoeol 09-22-2009 12:16 AM

thnx for replying...
actually i've already gone through the alx file of Google Maps, that's how i came to know about the option of loading OS specific applications...
i've found a link yesterday which seams to be able to solve my problem
http://docs.blackberry.com/en/developers/deliverables/9137/Load_a_BB_Java_Application_on_a_specific_device_51 2541_11.jsp

freakinvibe 09-22-2009 03:04 AM

Be aware that if you are distributing the app OTA via BES application config, different directories can't be handled. All the cod files must be in the root directory.

hdawg 09-22-2009 08:18 PM

Quote:

Originally Posted by pgoeol (Post 1475537)
thnx for replying...
actually i've already gone through the alx file of Google Maps, that's how i came to know about the option of loading OS specific applications...
i've found a link yesterday which seams to be able to solve my problem
http://docs.blackberry.com/en/developers/deliverables/9137/Load_a_BB_Java_Application_on_a_specific_device_51 2541_11.jsp

this link doesn't work.

pgoeol 09-23-2009 04:11 AM

i apologize for the incorrect link, actually by mistake a space char got added in the url... the correct link is:
Install a BlackBerry device application on a specific device

hdawg 09-23-2009 08:02 PM

Quote:

Originally Posted by freakinvibe (Post 1475577)
Be aware that if you are distributing the app OTA via BES application config, different directories can't be handled. All the cod files must be in the root directory.

This is not true. GMM is a prime example of this not being the case.

hdawg 09-23-2009 08:12 PM

I guess you could use the series ... are you just looking to do screen size or screen resolution too?

pgoeol 09-24-2009 02:11 AM

hi hdawg,

i think it will solve my problem... but as i know u i'm unable to deploy my application .cod file, so i can't check it right now...

freakinvibe 09-24-2009 02:37 AM

Quote:

This is not true. GMM is a prime example of this not being the case.
To be more clear: The issue occurs if you are using the application policies to white list software installations, ie you disable all applicatinos at the top level, and then specifically allow your software. The reason for this is an indexing bug with RIM's loader.exe /index progrm. The program generates two XML files, pkgDBcache.xml and specification.pkg. The pkgDBcache.xml contains a hash for each module in the package, and the specification.pkg contains the .cod lcations. The specification.pkg xml file generates correctly, which is why the desktop manger and a simple OTA push work fine. Unfourtunately the pkgDBcache xml file only contains a hash for the .cod that exists in the root, and does not generate a hash for the os specific subfolders.

The result of this is that the BES Policy service will queue up and send down the software to your users devices, once there though, the Application Policy will compare the hash tables and reject the software because it does not match your white list.

BTW, I am talking BES 4.1 here. I have not tested this on 5.0, but I guess the problem is solved there as improvements have been done on app whitelisting and management.


All times are GMT -5. The time now is 03:19 PM.

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