BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-03-2009, 01:09 PM   #1
koic
Thumbs Must Hurt
 
Join Date: Feb 2009
Location: CANADA
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 64
Question Empty Folders or Where are these (SMS) Messages?

Please Login to Remove!

I am checking contents of the Message folders using this code:
PHP Code:
Store store Session.getDefaultInstance().getStore();
Folder xxx91;xxx93; store.list();
if (
!= null && f.length 0) {
    try {
        for (
int i=0;i<f.length;i++)
        {
            
Folder _box fxxx91;ixxx93;;
            
Message _msgBox xxx91;xxx93; = _box.getMessages();
            
System.out.println("CHECK FOLDER("+i+"): "+_msgBox.length);
        }
    } catch (
MessagingException ex) {
        
ex.printStackTrace();
    } catch(
IllegalStateException ex){
        
System.out.println(ex.getMessage());
    }

I am running Bold simulator and code is not signed.
I know that I have some received and sent (SMS) Messages, but
the output is 12 (0..11) empty folders.
However the result seems to be correct, because when I checked folders on the simulator (View Folders) all of them were empty(!)
So where are these messages which I see on the screen?
I even tried to successfully save them, although I don't know where exactly I saved them.
Attached Images
File Type: jpg sms.jpg (17.3 KB, 4 views)
Offline  
Old 07-03-2009, 05:05 PM   #2
koic
Thumbs Must Hurt
 
Join Date: Feb 2009
Location: CANADA
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 64
Default

OK, I kept on readin' this forum and found that programmatically I cannot read SMS from in or out-boxes
That's already been discussed...

Last edited by koic; 07-03-2009 at 05:07 PM..
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


4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4

4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4"ACME inlet

$29.25



3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit picture

3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit

$44.61



Hoover WindTunnel 2 Whole House Rewind Pet Upright Vacuum Bagless Black/Brown picture

Hoover WindTunnel 2 Whole House Rewind Pet Upright Vacuum Bagless Black/Brown

$118.98



VEVOR 9

VEVOR 9" Drywall Sander 850W Vacuum System Folding 6 Speed LED Strip Light

$87.99



Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless picture

Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless

$96.90



Portable Dental Phlegm Suction Unit Emergency Medical Vacuum Aspirator Machine picture

Portable Dental Phlegm Suction Unit Emergency Medical Vacuum Aspirator Machine

$137.65







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