BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-03-2007, 06:22 PM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8100
PIN: N/A
Carrier: Vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Store on BB 8800

Please Login to Remove!

Hy anybody,

i have some problems, receiveing the defaultstore of my BB8800. Everytime I debug my App the Variable Store become null, while in the simulator it becomes the real store of the mails. Does anyone have the same problem? or some solution for me?

Here is my Code:

public class mailListener implements FolderListener, StoreListener {
public String[] msgInbox;
public Folder inbox;
public Folder[] test;
public Store store;
public mailListener(){
try {
Store store = Session.waitForDefaultSession().getStore();
} catch (NoSuchServiceException e) {
System.out.println(e.toString());
}
store.addStoreListener(this);
try{
}
catch (Exception ex){}
}
...

Thx in Advance

Marcel Wege

Ps.: Sry for the bad english, but i'm from Germany
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

1PC used Li Rui IAC-H553 with memory half-length CPU card
$371.2
1PC used Li Rui IAC-H553 with memory half-length CPU card pictureNew Goebel / Hummel "My Memory Book" Club Year 10 (1986) Mint Condition
$5.0
New Goebel / Hummel AB Allen-Bradley 1747-L552 Ser B SLC500 PLC Processor W/ Memory Card
$1400.0
AB Allen-Bradley 1747-L552 Ser B SLC500 PLC Processor W/ Memory Card picturePanasonic KX-TDA0105/0106 Memory Expansion Card MEC
$95.0
Panasonic KX-TDA0105/0106 Memory Expansion Card MEC pictureAtmel AT29C256-90JC 29C256 32K x 8 NOR Flash Memory PLCC32 x 10pcs
$16.99
Atmel AT29C256-90JC 29C256 32K x 8 NOR Flash Memory PLCC32 x 10pcs picture






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