Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
sayaka04
Posts: 11
Registered: ‎01-19-2009
My Device: 8707h
Accepted Solution

How can I download jad file?

[ Edited ]

Hi,Everyone.

 

I am new with BlackBerry JDE, and need your help about OTA load.

I made Browser field in my aplication and I want to download jad file in my application. This jad file a place in my computer from appach2.2. But my application screen is not show anything.

 

If I connected device's Browser, I can download jad file about BlackBerry 8707. However,  I connected my custum application it didn't work. What should I do?  Browser field does not supported download about jad file on BlackBerry API4.6.0?

 

Please let me know any solution. 

Thank you.

Message Edited by sayaka04 on 02-08-2009 09:24 PM
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How can I download jad file?

If i understood correctly, you have a application from that application you need to download the new application.

If So, you can use like this.

 

BrowserSession  browserSession = Browser.getDefaultSession();
browserSession.displayPage("http://xx.xx.xx.xx:xxxx/xyz.jad");

 

If you want to download it from browser, you can point your browser to a JAD file on web server it will result in installation starts.


Use Search. "Accept Solution" If the problem is resolved.
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How can I download jad file?

More generally, you should be able to tell from the content type from your server if your

field will throw a rendering or other exception if you return the connection to it.  At this point,

you can pass the url to the native browser or pass the connection to your own content handler,

in this case an install screen.

 

New Developer
sayaka04
Posts: 11
Registered: ‎01-19-2009
My Device: 8707h

Re: How can I download jad file?

[ Edited ]

Thank you for your reply.

 

Yes, I want to download from an application to the new application.

BrowserSession method could download new application. But this method connected via browser screen.

I want to install on browser filed, I controled by my application.

 

Thank you

 

 

Message Edited by sayaka04 on 02-12-2009 01:32 AM
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How can I download jad file?

Not all the native browser capabilities are available in the browser classes. Install seems to be one

that is lacking. You can either pass the url and invoke the native browser or handle it with your

own install screens that use the code module manager and related classes.

 

New Developer
sayaka04
Posts: 11
Registered: ‎01-19-2009
My Device: 8707h

Re: How can I download jad file?

marchywka Thank you  for your reply.

 

I understand that the browserfield APIs don't support the installation of applications via a JAD file.

 

Thank you again.

Developer
yog123
Posts: 51
Registered: ‎07-15-2008
My Device: Not Specified

Re: How can I download jad file?

handle it with your

own install screens that use the code module manager and related classes.

 

Can you plz explain more on this it will be greatful....

 

Thanks...

Developer
yog123
Posts: 51
Registered: ‎07-15-2008
My Device: Not Specified

Re: How can I download jad file?

 

 

         Anyone out there....??

 

         I download the jad file to download application but how can i parse the info from jad to get COD file names and sizes and dependancies??

 

        plz help me out...

 

       Thanks in advance...