BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-23-2008, 04:32 AM   #1
Nemat
New Member
 
Join Date: Jun 2008
Model: 7100T
PIN: N/A
Carrier: wireless carrier
Posts: 14
Default Problem in mail API

Please Login to Remove!

Hi frndz.....
How can I notify my application when a new email arrives?
Plzzz help me its urgent....
Offline  
Old 06-23-2008, 09:33 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

You'll need to create a class which implements FolderListener. Look through the Blackberry samples, and the Knowledgebase, there are several examples of how to do this.
Offline  
Old 06-25-2008, 01:50 AM   #3
Nemat
New Member
 
Join Date: Jun 2008
Model: 7100T
PIN: N/A
Carrier: wireless carrier
Posts: 14
Default

I've created such class and whenever I send an email it notifies me because a new email arrives in outbox folder.but I dont know how I can configure the emulator to receive the incoming emails.
Will u plzzzz tell me the way I can configure it for incoming mails??????
Thanks n advance....
Offline  
Old 06-25-2008, 03:23 AM   #4
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

your posts would be nicer to read if you write in standard english.

you have to add the folderlistener to the inbox, not the outbox (or all folders)
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 06-25-2008, 07:52 AM   #5
Nemat
New Member
 
Join Date: Jun 2008
Model: 7100T
PIN: N/A
Carrier: wireless carrier
Posts: 14
Default

Sorry Simon.......for my bad english.....
I've added the folder listener.
My problem is that my emulator is not able to get any incoming email.I mean the default message box does not contain any email which belongs to inbox.So first I need to configure the emulator for receiving the incoming mails.but I dont know how....
Can you tell me ????
or give me any link containing articles related to this topic........
Thanks in Advance...
Offline  
Old 06-27-2008, 07:53 PM   #6
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

The Developer Knowledgebase contains an article with sample source code. Go to BlackBerry - BlackBerry Developer Program | Support, Downloads, Knowledge Base, Community, select "Developer Support", find the link for the knowledgebase, and search for "FolderListener".
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


CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95



6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



	 Polyester Film Capacitor 1NF -3.3uF 100V 250V 400V 630V 1600V CBB/CL Capacitor picture

Polyester Film Capacitor 1NF -3.3uF 100V 250V 400V 630V 1600V CBB/CL Capacitor

$107.53



45/5uf MFD 370/440v dual run round Air Conditioner and furnace capacitor  picture

45/5uf MFD 370/440v dual run round Air Conditioner and furnace capacitor 

$14.97



45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk picture

45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk

$85.99



500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V picture

500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V

$13.04







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