Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User sweuser890's Avatar
    Join Date
    Jun 2007
    Posts
    7
    Hi!

    Im trying to make a simple java app that can make the phone make a call to a specific number that is sent from my app to a phone trough bluetooth.

    Can I do this with Java?

    I've noticed AT-commands - is that a good way of doing it and what is the syntax then?

    thanks!

  2. #2
    Registered User premlathiya's Avatar
    Join Date
    Mar 2006
    Location
    Ahmedabad
    Posts
    38
    Yes u can!
    User bluecove.jar for bluetooth programming on pc side..
    find all device and select your mobile from list and send phone number as string to your mobile device ..

    at mobile side there should be mobile application developed on j2me and receive this string as phone number and use platformRequest() for making call from j2me application..

    Thanks..
    Premal

  3. #3
    Registered User sweuser890's Avatar
    Join Date
    Jun 2007
    Posts
    7
    Great,

    I will take a closer look on bluecove.jar then! Do you have any more recommendation on where to start?

    Do you perhaps know if a mobile application developed on j2me will run on a non-symbian s40, like nokia 6300?

  4. #4
    Registered User sreekanthbellur's Avatar
    Join Date
    Oct 2006
    Posts
    30
    Well... the application will run on any phone that has JSR-82(btapi). for a list of phone that supports btapi, check the link below

    http://www.j2mepolish.org/devices/devices-btapi.html

    You can start with the example given in benhui.net

    http://www.benhui.net/modules.php?na...owser_v20.html

    Regards
    Sreekanth
    Sreekanth Bellur,
    Symbian C++ Developer,
    Ravensoft Ltd.,
    Manchester,
    United Kingdom

  5. #5
    Super Contributor soku123's Avatar
    Join Date
    Feb 2006
    Posts
    689
    Hi,
    r u looking for this

    mport javax.microedition.lcdui.Display;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class PhoneCall extends MIDlet{
    String _phoneNum,_message;

    boolean _results;
    public void PhoneCall(){ }
    public void startApp() {
    makePhoneCall(); inputForm(); }
    public void pauseApp() { }
    public void destroyApp( boolean unconditional ) { }
    void makePhoneCall() {
    _message ="in make phonecall";
    try {
    _results = platformRequest("tel:+Phone number");
    if(_results) _message = "Connection is ok";
    else _message = "Connection is fail";
    }catch(IllegalArgumentException e){
    System.out.println("IllegalArgument Exception :" +e.toString());
    }
    catch(Exception e) { System.out.println("Exception: "+e.toString());
    } }
    private void inputForm(){
    Form _inputForm = new Form("Make Phonecall");
    _inputForm.append("Phone call Result : "+_message);
    Display.getDisplay( this ).setCurrent(_inputForm);
    }
    }

    Thanks
    soku

Similar Threads

  1. Replies: 2
    Last Post: 2007-11-10, 13:19
  2. Get Phone number of incoming call
    By asdfghjkl_asdfghjkl in forum Symbian C++
    Replies: 7
    Last Post: 2006-11-19, 08:53
  3. Can a Java app grab a phone number
    By cj901 in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-06, 05:29
  4. Making a phone call
    By Urizen in forum Mobile Java General
    Replies: 0
    Last Post: 2002-10-04, 10:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved