BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-07-2010, 07:34 AM   #1 (permalink)
New Member
 
Join Date: Dec 2010
Model: 8900
PIN: N/A
Carrier: Airtel
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Email client add-on in blackberry

Please Login to Remove!

Hi All,
I am a total newbie to the BB development. Think of me as a child just started going to BB play school. So any questions that I ask below may sound stupid to you all. But please bear with me. I have to achieve following.

When a user opens the screen to compose an email a popup should be shown asking a yes/no kind of question. What happens after the popup is not my immediate worry. My question is how should show that popup. I have an idea but don't know if it can be done using my way. My solution consist of following.
  1. Create a background service in BB which will run without any user interaction and will listen to certain application level events.
  2. When user tries to compose an email, my background service will capture the event (assuming that the event is raised) which notifies my service that the user is performing compose email action. Using this event my process pop out an alert.

My questions are
  1. Can I create a background service in BB which will keep on running when the phone boots?
  2. Will my service be able to capture some sort of "email composing"/"new email" event?
  3. Will my service be able to show an alert if it's supposed to run in the background? If no, than will my service be able to launch another application(which does the alert functionality)?



Please let me know if my approach is right or wrong?
Thank you,
Amit
Offline  
Old 12-07-2010, 07:55 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Dec 2006
Model: I747
OS: 4.1.1
Carrier: at&t
Posts: 2,340
Post Thanks: 43
Thanked 117 Times in 107 Posts
Default Re: Email client add-on in blackberry

This would probably get better attention in the Developer forum.
__________________
The Search tool and BlackBerryFAQ answer many questions.
Offline  
Old 12-07-2010, 08:03 AM   #3 (permalink)
Grumpy Moderator
 
NJBlackBerry's Avatar
 
Join Date: Aug 2004
Location: Somewhere in the swamps of Jersey
Model: i5s
Carrier: AT&T
Posts: 27,796
Post Thanks: 33
Thanked 441 Times in 381 Posts
Default Re: Email client add-on in blackberry

Moved there
Offline  
Old 12-07-2010, 08:42 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Email client add-on in blackberry

There is no "event" that you can capture to indicate that the user is composing an email.

You *can* have a process running in background.

You *can* alert a user from a background process.
Offline  
Old 12-07-2010, 11:05 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Email client add-on in blackberry

I hate to disagree with Dougsg38p but:

net.rim.blackberry.api.mail.event.ViewListenerExte nded.newMessage(MessageEvent e)

Called when the compose screen is opened to create a new message.

Since: Blackberry API 4.1.0

Having said that this would be for a new message, not necessarily an email message.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 12-07-2010, 11:10 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Email client add-on in blackberry

Yup...my apologies to the o.p.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Email client add-on in blackberry
Thread Thread Starter Forum Replies Last Post
Bes 4.1.7 Mr2 Mikey_AGBoston BES Admin Corner 5 04-29-2010 02:37 PM
First post thought I'd make it helpful mazzel General 8100 Series Discussion - Pearl 1 05-30-2007 03:45 PM
The Hosted BES FAQ - Cheap BES/MDS - Wireless Outlook sync! Mark Rejhon BlackBerry Network 81 03-29-2007 05:29 AM
BES for Exchange 4.0.4 Available Now BlackBerryLinks BES Admin Corner 28 05-06-2006 10:38 AM
BES for Domino 4.0 SP4 - Coming Soon jibi BES Admin Corner 0 03-01-2006 10:29 AM





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