BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-22-2009, 12:48 PM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Application Update OTA without BES

Please Login to Remove!

When a custom application starts, is there a way to have it check our website for a new version of our .cod/.jad and ask the user to download (no BES server)?
Offline  
Old 06-22-2009, 01:33 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Sure, just implement version checking on your servers, and call this service from the client.

Or...perhaps you can perform a HTTP GET on the JAD file and check ther version here, against the current version number.
Offline  
Old 06-23-2009, 01:12 PM   #3 (permalink)
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Dougsg38p...

i'm new on this... how can I do that?????

excuse me... i dont speak english [como puedo hacer lo que comentas???]
Offline  
Old 06-23-2009, 10:08 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

There are articles related to programmatically retrieving the JAD file in the BB knowledgebase. Tiy can GET the file from your OTA server and parse the version info.
Offline  
Old 06-25-2009, 03:56 PM   #5 (permalink)
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how I know the version of the jad file that is online??

thanks for response...

how I know the version of the jad file that is in the server???
I can know the version of the midlet installed and running with

getAppProperty("MIDlet-Version");

and I can download a new version of the midlet with

platformRequest("url_of_jad_file");

but I need know the version of the "url_of_jad_file" and compare to version installed before download (platformRequest)... for example assign the url to a variable and get the version of the variable but this not exist... how to do???????

please help me
Offline  
Old 06-26-2009, 08:58 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Did you read this knowedgebase article?

Livelink - Redirection
Offline  
Old 06-26-2009, 02:34 PM   #7 (permalink)
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks again....

This article is the same that I comment. With Midlet.getProperty("MIDlet-Version") I can get the version of the midlet installed and running now.

But I want know the version of a midlet that is on server in anywhere. I know the url of the jad file and need know the version of the jad file to compare with the version installed, I may not explaining this well..

I know the installed version but I need the version of jad file in the server....
Offline  
Old 06-26-2009, 05:38 PM   #8 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I'm suggesting that you GET the jad file on the server (issuing an HTTP GET request), then parse it to obtain the version entry.

It's just a CR/LF delimited text file.
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.