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