BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-22-2009, 11:48 AM   #1
dwiper
New Member
 
Join Date: Apr 2009
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 3
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, 12:33 PM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 12:12 PM   #3
isantos
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
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, 09:08 PM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 02:56 PM   #5
isantos
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
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, 07:58 AM   #6
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

Did you read this knowedgebase article?

Livelink - Redirection
Offline  
Old 06-26-2009, 01:34 PM   #7
isantos
New Member
 
Join Date: Jun 2009
Location: Pachuca | Hidalgo | Mexico
Model: 8200
PIN: N/A
Carrier: Iusacell
Posts: 7
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, 04:38 PM   #8
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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



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


Onset Computer Analog/Temp/RH/Light Data Logger MX1104 Onset Computer MX1104 picture

Onset Computer Analog/Temp/RH/Light Data Logger MX1104 Onset Computer MX1104

$261.31



Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal picture

Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal

$156.00



Measurement Computing CIO-DAS08 Multifunction Analog and Digital I/O Board picture

Measurement Computing CIO-DAS08 Multifunction Analog and Digital I/O Board

$599.99



Measurement Computing PCI-DAS6025, Analog & DIO Card as photo, sn:rφm, Promotion picture

Measurement Computing PCI-DAS6025, Analog & DIO Card as photo, sn:rφm, Promotion

$199.19



Measurements Computing PCI-DDA02/16 Analog Output and Digital I/O Card picture

Measurements Computing PCI-DDA02/16 Analog Output and Digital I/O Card

$699.99



MEASUREMENT COMPUTING PCI-DDA08/16 8-channel, 16-bit Analog Output Board 48 D IO picture

MEASUREMENT COMPUTING PCI-DDA08/16 8-channel, 16-bit Analog Output Board 48 D IO

$349.99







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