BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-26-2012, 06:35 AM   #1 (permalink)
New Member
 
Join Date: Sep 2012
Model: 9**0
PIN: N/A
Carrier: Masih Cemen
Posts: 4
Post Thanks: 1
Thanked 0 Times in 0 Posts
Question Blackberry download failure

Please Login to Remove!

Hi Advance, I'm developing for Blackberry OS 5.
When I tried to use Browser to download a file from the internet through my app, the loading takes too long and failed. Anyone know why?

this is my code

Code:
int clearConfirm = Dialog.ask(Dialog.D_YES_NO,
                              "Do you want to download?",
                              Dialog.NO);

if (clearConfirm == Dialog.YES) {
    try {
        Browser.getDefaultSession().displayPage("mysite/blackberry/file.cod");
    } catch (Exception e) {
        e.printStackTrace();
    }
}
whats wrong?
__________________
fajriym was here
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

Similar Threads for: Blackberry download failure
Thread Thread Starter Forum Replies Last Post
Web Desktop 5 no application loader Walter_Str BES Admin Corner 2 08-27-2009 08:05 AM
Blackberry Activation(s)... Barry_Black General BlackBerry Discussion 5 06-07-2007 01:07 PM
Vodafone and Dimension Today Installation Information (7130e) zarza Media Center 42 06-12-2006 10:14 PM
BES 4.0 SP2 for Exchange now available jibi BES Admin Corner 49 08-17-2005 09:51 AM





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