0

I need to code that returns how many unread emails are in the inbox on a BlackBerry.

Michael Donohue
  • 11,776
  • 5
  • 31
  • 44
Binit
  • 11
  • 1

1 Answers1

1

try this

Store store = Session.getDefaultInstance().getStore(); 
int numUnread = store.getUnreadMessageCount();
Vivart
  • 14,900
  • 6
  • 36
  • 74