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


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

SMC linear transducer for "C" slotted cylinders. 25 mm range. D-MP025C
$345.8
SMC linear transducer for APG Pressure Transducer pt-L1-c-5-psi-g-e4-m1-v1-k1
$50.0
APG Pressure Transducer pt-L1-c-5-psi-g-e4-m1-v1-k1  pictureTC-1 Ultrasonic Transducer DN50-6000mm Apply to TUF-2000B TUF-2000SW TUF-2000M
$130.0
TC-1 Ultrasonic Transducer DN50-6000mm Apply to TUF-2000B TUF-2000SW TUF-2000M pictureReplacement 50W / 40kHz - Ultrasonic Transducer Drive PCB Assembly 220-240VAC
$31.02
Replacement 50W / 40kHz - Ultrasonic Transducer Drive PCB Assembly 220-240VAC picture4-20mA Water Level Sensor Submersible Liquid Level Transmitter Transducer &Cable
$57.0
4-20mA Water Level Sensor Submersible Liquid Level Transmitter Transducer &Cable picture






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