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


Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC  picture

Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC

$12.99



2PCS 22mm Voltmeter Ammeter 3 in 1 Current Voltage Hertz Meters AC60-500V 0-100A picture

2PCS 22mm Voltmeter Ammeter 3 in 1 Current Voltage Hertz Meters AC60-500V 0-100A

$11.69



AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter picture

AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter

$22.50



Mini Digital Voltmeter Ammeter DC 100V 10A Car LED Display Panel Amp Volt Tester picture

Mini Digital Voltmeter Ammeter DC 100V 10A Car LED Display Panel Amp Volt Tester

$10.49



LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$10.95



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-10A DC

$13.23







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