You Are Here:

Community: Developer Discussion Boards

#1 Old Question Override Call Command of TextField.PhoneNumber - 2008-07-29, 10:05

Join Date: Jul 2008
Posts: 4
emc_faheem@hotmail.com
Offline
Registered User
Hi

I am beginner in java mobile application and i have a litte problem, i have used TextField.PhoneNumber to take contact No. from phonebook.

This TextField.PhoneNumber has two build-in Commands


1. Add From Contact - which throw to phonebook

2. Call - call the number present in textfield.


Now i want to Override Call Command. i have a sub routine i want to execute this routine when user press Call command. Actually i want to send the Destination number as DTMF. My routine code is like....

try
{
midlet.platformRequest("tel:+5656**"+"/p"+ mTextBox.getString());
}
catch(Exception e)
{
System.out.print("Error callbymtxtbx"+e.getMessage());
}


Where mTextBox is TextField.PhoneNumber

and i want, when Press Call Command, first dial access no. and then dial actual destination no. ,which come from phonebook.
our access no is constant and wana dial before destination no. but it should be hidden.



Is there anyway...



Thank's for this act of kindness.....



Muhammad Faheem
Sr. Web/Database Developer
Pinpoint Communication (Pvt) Ltd.
+923219602101
Last edited by emc_faheem@hotmail.com : 2008-07-29 at 10:14.
Reply With Quote

#2 Old Re: Override Call Command of TextField.PhoneNumber - 2008-07-29, 18:40

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
You are talking Series 40 phones right?
Not that the platform would matter much, but I do not think you can override or remove that Command.

Hartti
Reply With Quote

#3 Old Question Re: Override Call Command of TextField.PhoneNumber - 2008-07-30, 07:17

Join Date: Jul 2008
Posts: 4
emc_faheem@hotmail.com
Offline
Registered User
Thanks hartti for reply

I m using Nokia 6680, which is 60 series.
I jsut wana override or remove this Command "Call", Which is linked with TextField.PhoneNumber.

Is it Possible.....?

Faheem
Reply With Quote

#4 Old Re: Override Call Command of TextField.PhoneNumber - 2008-07-30, 17:44

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
As said, I do not think that is possible.

I think your options are:
a) accept the current functionality
b) use a "normal" text field where the user writes the phone numbers themselves
c) create a connection to the phone book yourself using PIM API.

Hartti
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
New call problem Bill_Murray General Symbian C++ 4 2007-05-27 16:30
End call and DialNewCall problems halimz General Symbian C++ 5 2007-05-19 06:40
voice call setup params nishantghai General Symbian C++ 11 2007-04-12 09:37
call events after dialing from the app white_dragon General Symbian C++ 2 2005-05-18 23:30
How to make simultaneous VOICE and DATA call on a Nokia Phone? venkat_nokia PC Suite API and PC Connectivity SDK 0 2004-04-28 13:15

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia