×

Discussion Board

Results 1 to 8 of 8

Thread: Call conference

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    7

    Unhappy Call conference

    Dear All

    I would like to develop an application for making a call conference while calling an outgoing call or receiving an incoming call. For example, once someone calls my mobile phone number. First my mobile phone receives such call and immediately dial a specific number "0184597359". Once mobile phone number "0184597359" receives my call, then make a call conference. On the other hand, after I dial any phone number for an outgoing call, the application will immediately dial a specific number "0184597359" first. Once mobile phone number "0184597359" receives my call, then make an outgoing call and after such number ceceives my then make call conference.

    1. I have installed J2ME with NetBeans 5.0 IDE.
    2. I am VB6 programmer.
    3. Hereunder is sample code that works so well in demonstration;
    /*
    * MidletMA0006.java
    *
    * Created on July 26, 2006, 10:27 AM
    */

    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.MIDlet;

    /**
    *
    * @author STPC66
    * @version
    */

    public class MidletMA0006 extends MIDlet implements javax.microedition.lcdui.CommandListener {

    public MidletMA0006(){
    }

    private void initialize(){
    javax.microedition.lcdui.Display.getDisplay(this).setCurrent(get_welcomeTextBox());
    }
    public void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable) {
    if (displayable == welcomeTextBox) {
    if (command == exitCommand) {
    javax.microedition.lcdui.Display.getDisplay(this).setCurrent(null);
    destroyApp(true);
    notifyDestroyed();
    }
    }
    }

    private javax.microedition.lcdui.TextBox get_welcomeTextBox() {
    if (welcomeTextBox == null) {
    welcomeTextBox = new javax.microedition.lcdui.TextBox(null, "Hello",240,0x0);
    welcomeTextBox.addCommand (get_exitCommand());
    welcomeTextBox.setCommandListener(this);
    }
    return welcomeTextBox;
    }

    private javax.microedition.lcdui.Command get_exitCommand() {
    if (exitCommand == null) {
    exitCommand = new javax.microedition.lcdui.Command("Exit program", javax.microedition.lcdui.Command.EXIT,1);
    }
    return exitCommand;
    }

    javax.microedition.lcdui.TextBox welcomeTextBox;
    javax.microedition.lcdui.Command exitCommand;



    public void startApp() {
    initialize();
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
    }

    //public class MidletMA0006A extends MIDlet implements javax.microedition.midlet.MIDlet.platformRequest {

    //}

    4. Gopal introduced me use platformRequest().

    But I have just been starting C, C++, Java and then J2ME with NetBeans 5.0 IDE respectively.

    Please help teaching me since I need to finish it as soon as possible. This application will be used in my company for the news reporters to interview our guest. Before that he had to call our guest, then wrote down and faxed to our news center.

    By using the application which I would like to develop, our news center can hear and type by themselves in real time.

    Thank you very much in advance.

    Nukool

  2. #2
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    61

    Re: Call conference

    Hello Nukool
    Are you sure that you can do it with jme? As far as I know you are not able to do because when the call receive the midlet will be disactive and your application doesnot have access to the incoming call.
    BR
    Ali

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    7

    Unhappy Re: Call conference

    Dear Ali

    I have seen some commercial application can record conversation of both incoming and outgoing call. I think it should work with call conference.

    Could you please teach me how to develop ?

    Gopal introduced me to try "platformRequest()" method.

    I need to see sample of this method.

    Thank you in advance

    Nukool

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Call conference

    Nukool, from Java you can only make phone calls using platformRequest("tel:5551111"), which gives the control to the telephony application of the phone. You cannot respond to incoming phone calls, nor you can record the calls using Java. In the future that might change (see JSR-253), but current APIs do not provide support for this.

    If you have seen such an application, it has been a native application (C++ on Symbian) or it uses some manufacturer proprietary APIs to achieve this.

    For platformRequest use please check the javadocs (which come with any Nokia Java SDK)

    Hartti

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    7

    Re: Call conference

    Dear Hartti

    Thank you so much.

    Nukool

  6. #6
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Question Re: outgoing call[please help]

    as nokia forum champion has tell that we are able to do outgoing call .but can anyone tell me how can i download api and documenntation for it ?
    currently i am using ktoolbar 2.2. how can i integreat that API in ktoolbar and from where i can find that api and documentaion ?my email id is honestsuccess@gmail.com.please reply as soon as possible

  7. #7
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: outgoing call[please help]

    Since you are using WTK, you can find the API Docs in the WTK installed directory (\WTK22\docs\api) And the JAR files of different APIs can be find here \WTK22\lib

    Regards
    Gopal

  8. #8
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re:please help

    i am geting error when i try to make call using the following statement

    if(platformRequest("tel:5550000"));

    or
    if(plateformRequest("tel://5550000");

    even i am executing another application on the emulator which has a number 5550000 then also it gives me the following error that so please tell me what is wrong in that ?

    no emulation available to prompt and dial ?

    -kartik
    Last edited by honest_success; 2007-09-07 at 21:39.

Similar Threads

  1. S60 API for conference call?
    By twu in forum Symbian
    Replies: 1
    Last Post: 2009-03-13, 10:28
  2. Conference call
    By thedawn1977 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-09-11, 11:58
  3. SX1 dialling initiates fax call instead of voice call
    By kdinn in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2005-08-25, 06:12
  4. Replies: 0
    Last Post: 2005-01-28, 10:40
  5. Application with Conference Call and Sound
    By johnle in forum Symbian
    Replies: 1
    Last Post: 2004-08-01, 08:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×