02-17-2010 10:48 PM
Searching the forums will give you the best answers... However, I will point you in the right direction.
02-18-2010 12:36 AM
You have to override abstractphonelistener/ phonelistener class try to search them in forum. Few of
them total code implementation. Also you can use notifications with it. Incoming call handling is fairly
simple but UI part is slightly complex but it can be done.
Please give kudos (click star on the left) if you feel response is helpful. Click "Accept as solution" if post was what you needed.
02-18-2010 12:41 AM - edited 02-18-2010 12:42 AM
02-18-2010 02:19 AM
thanku so much jcarty.. ur link really helped me lot
actually when comes to alternate entry points,i should create two projects right?
one which holds al source code and other project with application icon and alternate entry point along with system module and auto-run on stratup option checked.
am i right or confused ?
02-18-2010 02:32 AM - edited 02-18-2010 02:35 AM
It depends on which development tool you're using. In Eclipse Java Plugin 1.1, you just need one project. In JDE or Eclipse plugin 1.0, you need two.
In the case that you need two, the last part of your message is correct. Just make sure that you set up an argument like in the example of the link I posted (i.e. init or startup).
02-23-2010 02:10 AM
ya thanks for the reply.. mine is 1.0 so i need to create two projects.
i have some doubts regardign the link u sent..
there as soon as an incoming mail arrives the below function wil be invoked rt?
public void run()
//Call the NewMailArrived method to update the
//screen with a notification.
i need to parse incoming mail based on some critiria and should update my application screen accordingly....
i need to add my code in NewMailArrived(); rt?
can i write code like to push my application screen ?
i got these doubts because still i havent chekd it on handset. so
02-23-2010 05:09 AM
try to use notification for this..............
for alternate entry point see this http://supportforums.blackberry.com/t5/Java-Develo
sorry for previous goof (mail or call)
02-23-2010 05:21 AM
It depends on the actual application where you would write your code. As far as this referred application is concerned-
You can write UI specific code in the GUI application's NewMailArrived() method.
If you need to do some processing at backend application (the Listener), then write your code when you get notification of new email arrieval, i.e. in FolderListenerApp.messagesAdded() method.
02-24-2010 01:38 AM