BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-17-2010, 02:22 AM   #1
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default installing alx file on device

Please Login to Remove!

hi!

can any one tell me plz how to install .alx file on device using Servlet code(means programmatically).
its urgent.plz help me.

thnks
Offline  
Old 03-17-2010, 05:54 AM   #2
ohad_129
Talking BlackBerry Encyclopedia
 
ohad_129's Avatar
 
Join Date: Jan 2007
Location: israel
Model: 9800
OS: rikkohad
PIN: 237be374
Carrier: orange il
Posts: 417
Default

Wirelessly posted

I don't know what you mean progrematicly
But alx you upload by app loader or desktop manager
__________________
barash eli
Offline  
Old 03-17-2010, 06:24 AM   #3
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default Reply

hi!
thnks 4 ur reply.
actually i want to install blackberry application say HelloWorld on my device using servlet code not using JAVA Loader
thnks
Offline  
Old 03-23-2010, 12:01 AM   #4
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default

hi!

can any one plz tell me which file (COD or JAD) is to transfer on device for installing Blackberry application using OTA?

thnks
Offline  
Old 03-23-2010, 12:48 AM   #5
ohad_129
Talking BlackBerry Encyclopedia
 
ohad_129's Avatar
 
Join Date: Jan 2007
Location: israel
Model: 9800
OS: rikkohad
PIN: 237be374
Carrier: orange il
Posts: 417
Default

Wirelessly posted

Both jad contain cods
__________________
barash eli
Offline  
Old 03-23-2010, 01:18 AM   #6
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default Reply

hi!
thnks for ur reply ,
but when i try to install jad file,on device follwing exception generates:

net.rim.protocol.http.content.transfer.HttpContent TranscoderException:
invalid value for RIM-COD-selection header:null

could u plz tell me why it is generating.

thnks
Offline  
Old 03-23-2010, 01:42 AM   #7
ohad_129
Talking BlackBerry Encyclopedia
 
ohad_129's Avatar
 
Join Date: Jan 2007
Location: israel
Model: 9800
OS: rikkohad
PIN: 237be374
Carrier: orange il
Posts: 417
Default

Quote:
Originally Posted by neha.chaudhary View Post
hi!
thnks for ur reply ,
but when i try to install jad file,on device follwing exception generates:

net.rim.protocol.http.content.transfer.HttpContent TranscoderException:
invalid value for RIM-COD-selection header:null

could u plz tell me why it is generating.

thnks
try to uploaded by bbsak
__________________
barash eli
Offline  
Old 03-23-2010, 02:00 AM   #8
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default Reply

hi!

actually i hve to install it using tomcat server(OTA).

thnks
Offline  
Old 03-23-2010, 02:06 AM   #9
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default Reply

hi!

sorry its working now,but the prob is when i try to install jad file that contain only one cod file,its working fine
but if app contain more thn one cod file thn it dont and showing same exception.
thnks
Offline  
Old 03-23-2010, 07:42 AM   #10
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

If the app contains more than one COD file, then you have to extract the individual COD files mut be extracted from the aggragate COD file.

Rename the COD file to the ZIP extension then uzip the contents. You should get application-1.COD, application-2.COD, etc.

These files (not the original aggregate COD file) should be placed on your deployment server along with the JAD file.
Offline  
Old 03-25-2010, 09:14 AM   #11
neha.chaudhary
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: trainee
Posts: 30
Default Reply

hi,
thnks for ur help,its working now using OTA.
but when i try to install app using servlet code Exception occurs:invalid manifest or application descriptor.m using following code:

File f1 = new File(path);
res.setContentType("text/vnd.sun.j2me.app-descriptor");
res.addHeader("content-Disposition", "attachment;filename=abc.jad");
int length = (int) f1.length();
byte[] bbuf1 = new byte[length];
DataInputStream in = new DataInputStream(new FileInputStream(f1));
while ((in != null) && ((length = in.read(bbuf1)) != -1)) {
op.write(bbuf1, 0, length);
}

so could u plz tell me why it is occuring.

thnks
Offline  
Old 03-25-2010, 10:19 AM   #12
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

See this knowledgebase article:

Livelink - Redirection
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


Ignition Coil for Ford Tractor 12V 2000 3000 4000 5000 Naa600 800 1965 & Up D5TE picture

Ignition Coil for Ford Tractor 12V 2000 3000 4000 5000 Naa600 800 1965 & Up D5TE

$26.38



1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024 picture

1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024

$27.36



Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm picture

Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm

$74.79



D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800 picture

D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800

$26.44



Sandbaggy Steel Strapping Coil (1/2 inch W x 2800 ft L) - UV Resistant Banding picture

Sandbaggy Steel Strapping Coil (1/2 inch W x 2800 ft L) - UV Resistant Banding

$235.15



Pallet Strapping Banding Coil 12mm 260kg Heavy Duty *FREE NEXT DAY DELIVERY* picture

Pallet Strapping Banding Coil 12mm 260kg Heavy Duty *FREE NEXT DAY DELIVERY*

$271.49







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