BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-18-2009, 07:07 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Daubt about Assign Application Configuration option

Please Login to Remove!

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
Offline  
Old 09-20-2009, 04:13 PM   #2 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't understand your question; can you please explain again / differently?
Offline  
Old 09-21-2009, 02:25 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 09-21-2009, 06:50 PM   #4 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Offline  
Old 09-22-2009, 12:16 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 09-22-2009, 03:04 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: 9780
PIN: N/A
Carrier: Swisscom
Posts: 1,579
Post Thanks: 5
Thanked 119 Times in 116 Posts
Default

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.
Offline  
Old 09-22-2009, 08:18 PM   #7 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by pgoeol View Post
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.
Offline  
Old 09-23-2009, 04:11 AM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 09-23-2009, 08:02 PM   #9 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by freakinvibe View Post
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.
Offline  
Old 09-23-2009, 08:12 PM   #10 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess you could use the series ... are you just looking to do screen size or screen resolution too?
Offline  
Old 09-24-2009, 02:11 AM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Offline  
Old 09-24-2009, 02:37 AM   #12 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: 9780
PIN: N/A
Carrier: Swisscom
Posts: 1,579
Post Thanks: 5
Thanked 119 Times in 116 Posts
Default

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.

Last edited by freakinvibe : 09-24-2009 at 02:40 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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