BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-11-2006, 04:20 PM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
mrogers's Avatar
 
Join Date: Feb 2005
Location: Indianapolis, IN
Model: 8100
Carrier: AT&T
Posts: 485
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Handling OTA downloads when files are stored in DB

Please Login to Remove!

I'm working on a little project and before I get to far I need to ask about OTA downloads. Mimetypes and such things aren't exactly my expertise, nor is exactly what happens when you initiate an OTA download with a .jad file.

In my application I'm storing my files in MySQL MEDIUMBLOB data fields. I know how to store and retrieve the data. My issue is, how can I make OTA downloads work using data stored in the DB? Just from observation, it seems like the OTA installation process looks for .cod files in the same directory with the same naming scheme as the .jad file.

If anyone can give me any advice, I'd really appreciate it. The rest of my app works beautifully with the files being stored in the DB and I don't want to have to rethink everything just for OTA installs. Thanks!
Offline  
Old 11-24-2006, 04:14 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8700r
Carrier: Rogers
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile Posible solution

Design a WML page in way that user will chose a correct device (or you need to find out which jar file should be obtained , like in google maps(by connection IP , provider and Device type)).

Develope a servlet which will proceed this data and fetch correct BLOB from your DB. Now return a stream (as jar type stream) fromwhithin your servlet to client ... (WAP Browser in your case)

Thank you,

Marat
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

Hickok DMS-3200P Digital Measuring System Main Frame Nixie Tube Display
$148.48
Hickok DMS-3200P Digital Measuring System Main Frame Nixie Tube Display pictureAgilent E1401B VXI High Power MainFrame W/O Cards T18101
$199.0
Agilent E1401B VXI  High Power MainFrame W/O Cards T18101  pictureNational PXle-1062Q 8-slot 3U PXl Express Chassis Mainframe w/ AC - Up to 3 GB/s
$3195.0
National PXle-1062Q 8-slot 3U PXl Express Chassis Mainframe w/ AC - Up to 3 GB/s pictureKeithley 7001 Mainframe Switch System
$300.0
Keithley 7001 Mainframe Switch System  pictureTektronix VX1410 VXI Test Mainframe HP E8491A VX4385 VX4357 VX4332 VX4730 VX4342
$3499.0
Tektronix VX1410 VXI Test Mainframe HP E8491A VX4385 VX4357 VX4332 VX4730 VX4342 picture






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