To make a call to a fixed number from a j2me application

hi all,
i am working on a mobile application. i want to have an option for the user to make a call to a fixed number by pressing the call button from within the application. as far i understand we can use canvas to detect a key press and the platformRequest() method of midlet to make a call... but what i use is in my application are all forms. by using forms is my requirement possible? or if i need to use canvas alone, what can i do if i need to have an input mode like a text box also.please help how to achieve this....

I also dont know how to get keypress() in Form. but see UIDemo in WTK22/apps this might help u.
u know how to call by directly entering the cell no.,
platformRequest("tel:+919960120030");
if u want an input mode like TextBox then,
protected void startApp() throws MIDletStateChangeException
          d=Display.getDisplay(this);
          call=new Command("Call",Command.SCREEN,2);
          exit=new Command("Exit",Command.SCREEN,1);
          tx=new TextField("Enter the phone no","",20,TextField.PHONENUMBER);
          f=new Form("To call");
          f.addCommand(call);
          f.addCommand(exit);
          f.append(tx);
          f.setCommandListener(this);
          d.setCurrent(f);
get the no. in TextBox using 'String no = tx.getString();'
& use 'platformRequest(no);
I think this will help u..

Similar Messages

  • Is there a way to allow allow my iPhone 4S to make a call to a specific number while locked?

    Is there a way to allow allow my iPhone 4S to make a call to a specific number while locked? I would like specific phone numbers to be allowed to be called by my family members while my phone is locked. However as the phone is required to be secured for work I would rather not have to have the device unlocked and thus access to emails, texts, etc be visable. Is there a way to do this?

    With the exception of 911, no.

  • How can I make a call to *190*phone number# in c#?

    Hi,
    I am trying to create an app as shortcut for some requests.
    I want to make a call to this number: *190*phone number# using c# but it never works.
    On the phone, I can call this number and I get a reply from my provider.
    If I try to call it using:
    Windows.ApplicationModel.Calls.PhoneCallManager.ShowPhoneCallUI("*190*phone number#", "TEST CALL");
    I get a message saying that I have to use the dialer keypad to send the request.
    Is there a workaround for this (bug)? I mean, if I put the phone number in the phoneCall-request, it is because I don't want insert it manually in the dialer keypad...
    Thanks,
    Adriano

    Yes security LOL...
    If Microsoft want security, they should create a smartphone without the possibility to install apps ;)
    If an app can't make a call (user has to press CALL), the same thing is also possible for a FREE request to the provider, or not?
    Thanks for the link! This show once again that write a utility for WP is a hard work...
    If I create a new contact, I have to call phoneCallTask.Show();
    ... And so I am on the same situation.
    .My phone provider created an app for iPhone and one for Android. I was thinking I would be able to create something for Windows Phone too. Now I know why nobody want to create tools for Windows Phone. The API never allow you to write a utility (for security
    reason, I know ;) )... But it would also be nice to have a utility some times in a store full of inutility apps :(
    About this BUG:
    I can create a textbox where the user can copy the phone number (maybe the app could copy it automatically in the clipboard if there is no security problem about the OS :P). But the user has to exit the app, open the dialer and insert this text.
    Is there a way to open the phone dialer?
    Thank you for the support Cristian!

  • Make a call with an Online number?

    Can you make a call if you have an online number or can you only recieve calls with an online number?  What I mean by this is that can you make a domestic call without paying any additional money if you already have an online number.

    With an online number, you only can receive calls from the country you chose.
    osito73 wrote:
    Can you make a call if you have an online number or can you only recieve calls with an online number?  What I mean by this is that can you make a domestic call without paying any additional money if you already have an online number.

  • I can't make any calls after changeling my number?

    I Can't make any calls out of my phone after changing my number? Can anyone help me with that

        DanMoon35 No need to panic! I am sure we can get your calls working again. What make and model phone are you using? Have you tried to restart the device?
    SheritaH_VZW
    Follow us on Twitter
    @VZWSupport

  • Adding caller with name and number from call list to the contact list only inserts the number and not the name

    I recently bought a BlackBerry Z10 and moved my cell service to Rogers to take advantage of the name display service offered by Rogers (Fido also offers this service).
    Due to the number of calls that I receive from first time clients, I wanted the name display service to help me know who was calling. Evidently it is impossible to add clients to my contact list before they call me so I'm constantly seeing numbers that have no name to help me decide if I want to answer the call.
    When I try to add a caller from my call list to my contact list, only the number gets inserted in the new contact. The name needs to be entered manually.
    I understand and realize that not all call display formats are the same and that it's virtually impossible to parse the first and last names from the name portion of the caller id.
    However, I would like to see BlackBerry add the functionality to insert the name portion of the call entry from the caller list to a "Nickname" entry in the contact list just like it adds the number to a "Home", "Mobile", or "Work" entry in the contact list.
    If a user doesn't have a name display service, there would be no change to how their contacts are added because there is no name variable to copy over.
    Can someone from BlackBerry please let me know if this feature can be added to BB10 and when it can be added? For me it's an obvious feature that should just work.
    I am really enjoying my Z10 but I'm feeling let down that something so logical and helpful is not supported out of the box.
    Regards,
    Marc

    Hey ViciousFerret,
    It appears that you are not aware of the fact that both Rogers and Fido offer name AND number display service (although the name display feature is an add-on service) and have been offering it for many years (since 2006). Here is a link to the name display service description of each provider...
    http://www.fido.ca/web/content/manageyourcalls/calldisplay&lang=en
    http://www.rogers.com/business/on/en/smallbusiness/products/wireless/addons/valuepacks/
    As you can see from the link below, Rogers and Fido have been offering this service since 2006.
    http://www.businesswire.com/news/home/20060914005951/en/Teams-HP-Rogers-Wireless-Fido-Succeed-North
    My BlackBerry Z10 shows both the name and number when someone calls (and the caller is not in my contact list).
    All I would like is for the Z10 (and Q10) to support the addition of the name and number from the caller list to my contact list without me having to type the name. As I mentioned in my original post, to avoid the OS having to parse the first name and last name from the name portion of the caller list entry the name could simply be added to the contact list as a "Nickname". If your provider only has number display, nothing would have to be copied from the name variable in the caller list to the contact list.
    I find it difficult to believe that BlackBerry would not be aware of this name display service since it's been around since 2006 with both Rogers and Fido.
    I hope I have clarified the reasons why I would like to have this feature added to BB10 and how it's surprising that this simple feature is not already a part of the BB10 OS.
    Either way, I don't think this is a difficult feature for the BlackBerry team to add. They're just copying a 2nd variable from the caller list to the contact list.
    I'm surprised that Rogers hasn't asked BlackBerry to add this feature to their phones. I think it would be a popular feature for those who receive a high number of calls from first time callers.
    How can I get this feature request to BlackBerry for their consideration?
    Cheers,
    Marc

  • Can i call a vietnam mobile number from india usin...

    Hi!
    I wish to purchase a skype-to go number. I will be located in India. I would like to call a mobile number in Vietnam.
    The list of countries where skype-to-go is available does not include either of these 2 countries. Vietnam is listed as a country where this service is not available. YET, when i input Vietnam as the proposed destination country, the webpage shows 2 rates I can choose  from.
    I am confused. Please help.
    Thank you

    SPC wrote:
    1. I wish to purchase a skype-to go number. I will be located in India. I would like to call a mobile number in Vietnam.
    2. when i input Vietnam as the proposed destination country, the webpage shows 2 rates I can choose  from.
    Hello,
    1. Sorry. Our SkypeToGo service isn't available in India.
    2. You can call almost anywhere in the world with STG from any country which supports STG.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Incoming or outgoing calls remove the phone number from Contacts

    For the past several days, if I call out— using Contacts or shortcuts in Phone— the phone number is then deleted from the Contact address card for that person.
    Not only can I no longer go to a contact and call out (the phone numbers are gone) but incoming calls and call history have no names attached to them (which is how I found out that the numbers were being deleted from the Contact cards).
    Anyone else heard of this? I have tried restarting and resync-ing but the problem persists.
    And is a HUGE issue as it makes the phone part of the phone fairly useless as it no longer stores any phone numbers. Luckily, I still remember some contacts by heart.

    I'm having a similar problem, although there is no pattern I can figure out. Mine just randomly eats contacts. I even had the VERY weird experience of having a contact disappear, but then when that contact called my phone, the contact was recognized. When I tapped the little arrow to the side of the listed contact (in recent calls) it pulled up all the contact info. I had the option of adding to favorites, which I did, to see if it would re-add to contacts, but it DIDN'T. So now that contact is listed as a favorite, but still is not in contacts. What the heck? This is a big big problem. I can't have contacts disappearing on me.

  • Calling a created Java file from an AIR application

    I've got a guy helping me out who is creating a Java file that outputs an F1 keypress to the operating system/desktop (which Flex alone can't do.
    My problem is I need to know how I can call/activate this file from within an AIR application. I want my app to be ready for when he has created it for me but I've never used Flex to call an application so I would not know what classes need to be called or if any script would be required.
    In the following simple code lets say if the Java file itself was called keypress.java (or whatever file extension a java file has) what code would need to be added in, including imported classes, to make the click of the button activate this java file?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Button id="KeypressButton" label="Button" horizontalCenter="0" verticalCenter="0" click=""/>
    </mx:WindowedApplication>

    I think one solution is to use a Java proxy to call the Web services.
    In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
    Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
    (For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • Can I call a regular LabVIEW VI from my C# application without first creating a DLL in the application builder?

    I am writing a C# application and have LabVIEW 8.2 and the Application Builder. I want the application to call different standard VIs included in LabVIEW. One way to solve this is to create a blank VI, insert the desired standard VI, have the Application Builder create a DLL and then let the application call the DLL. Something tells me there must be a shortcut to this, is there? Aren't all standard LabVIEW VIs really DLLs underneath the surface? Can I somehow call those DLLs directly?

    arnold_w wrote:
    Aren't all standard LabVIEW VIs really DLLs underneath the surface?
    NO, LabVIEW is a programming language and contains a lot of primitives. Some VIs are wrappers for DLL's but even calling these from C(#) might be a problem.
    You can exploit the LabVIEW ActiveX interface to perform all the actions you want.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Calling BO(Business Objects API ) from my J2EE Application

    We have an application which contains a module that handles
    User Creation and Maintenance.
    Right now we have New and Authorize screens.
    Basically these users can access reports in BO.
    But this user creation in BO(Bussiness Objects) is done manually in BO.
    Now I need to automate this user creation in BO from my UserMaintenance Module.
    BO has exposed an API thru which we can call functions to create an User in BO.
    My problem is where to call this API from ?We call a stored procedure for authorizing a new user in UserMaintenace Module.
    We use Struts Framework.
    Action class--->ServiceClass-----> DAOClass
    In this DAO class we call this stored procedure to authorize the user creation.
    My question is where to call this API from .
    That is ,it should be called from DAO or ACtion class or Service class.
    How to call an external API and what are the issues that are generally involved in calling an external API.
    Fortunately both my weblogic and BO servers reside on the same unix server.
    While calling an API should I have to take care about Portnumbers,external machine location i.e host address,
    How to handle database connection.
    Can someone throw an answer to these questions.
    Thanks in advance

    As I understand, your user management is through database, so when a user is created in your application, the parameters pass through the Action Handler -> service class-> DAO. So a better way would be write an additional class with the user management implementation of BO with a constructor or a method which would take the required user creation parameters and call it in the service class just under the user creation method of your DAO.
    As the user in your system passes some information from the front end, the same can be used to create user in BO.

  • Calling a separate BSP Page from a Web Application Builder BPS page.

    I have been creating a basic BPS application for manually entering data into BW.
    We are allowing users 2 options: 
    1. Manual Data entry via a web Page created in the Web Interface Builder.
    2. Via a Flat File using the process described in the "How To" Guide on how to load a flat file into BPS Web Page.  This was done in the Mime repository via a BSP application (transaction se80).
    I want to incorporate both method on a single web page (or group of linked pages) so that the user can choose which method that they want to use.
    My question is: How can I call the flat file loading screen (created in se80) from the Manual data entry screen that was created in Web Interface Builder?
    Thanks,
    Adam

    Adam,
    You dont have to create a new tab also. You can incorporate the newly created BSP page
    below the Manual Entry layout. Do the following step
    1. Create a text element below the layout in web application builder. Choose Edit long text
    2.insert this code
    <iframe id="Text86" border="true" name="upload4" src="/sap/bw/mime/bex/icons/pixel.gif" width="580" height="65"></iframe>
    <script language="JavaScript" type="text/javascript">
      var frame  = document.getElementById( 'Text86' );
      var url    = '/sap/bc/bsp/sap/z100bps001/upload_hours.htm';
    // set source attribute of iframe to new URL
      frame.src = url;
    </script>
    Now you should be able to the see the newly created BSP page below your layout.
    Coming to your other question on "hard coding" the answer is you shouldnt specify the absolute url, just specify the relative URL and system will take care of the rest.
    Eg. - '/sap/bc/bsp/sap/z100bps001/upload_hours.htm'
    Let me know if you need any help.
    Thanks,
    Praveen
    PS.Dont forget to reward points

  • Call 3rd party web service from OAS J2ee application.

    Hi everyone,
    I have the following problem. I am using Oracle Application Server 10g (version 10.1.2.0.2).
    I have deployed a J2EE web service to this App Server and from within this service I call a 3rd party Web Service (.NET) to a remote system. It works fine.
    However when the remote server for some reason restarts my web service noway can find the remote web service. I get a connection timeout exception to my logs.
    With a standalone client that I have to the same machine where the Oracle Application Server is installed I can call directly the 3rd party web service with no problems at any time so I am sure that there is no connection problem.
    If I restart the Oracle Application server then the J2EE web service finds the remote web service again.
    This means that whenever the remote server falls and recovers I will need to restart my Oracle Application Server as well, to let my web service find the remote web service. Crazy isn't it?
    Does anyone knows what happens??
    Thanks

    All depends on the service. You can not just access a service. You need things like if the data is JSONP or if they have instructions or keys etc. You need to just follow the instructions the service will offer on how to connect to it.

  • Can't make landline call from Canada to Ireland

    I have used skype severla years.  I can not make a call I have made many times from Canada ro Irelland.  Call is initated but no sound of ringing occures.  After while I am told the person is not avaliable but I can leave a VM. I can make local skype call to landlines.   My regular landline phone service works to the Ireland number.  Receipent tell me that their phone doesn't ring when I call .   using Skype. Very strange!  Any ideas would be much appreciated.  Thanks in advance.

    Does Skype have customer services at all? How come no one reply to this post? I could not make phone call to Skype Online Number from my cell (carrier: T-mobile). Either can I forward the phone call to my cell to my skype online number. Could someone from Skype take care of this request and check into this issue?

Maybe you are looking for

  • CAN ANYONE HELP ME DISCOVER WHO HAS HACKED MY MAC? I HAVE THE LOGS BUT I'M NOT KNOWLEDGABLE TO UNDERSTAND OR FIGURE

    CAN ANYONE HELP ME DISCOVER WHO HAS HACKED MY MAC? I HAVE THE LOGS BUT I'M NOT KNOWLEDGABLE TO UNDERSTAND OR FIGURE!!!!!!!!!!!!!!!!!! this has been going on since july of 2012 and it affects everthing i do the following are some of my logs entries im

  • Issue in setting Completion Deadlines

    Hi All, We have a scenario wherein we need to set the deadline for completing a given task, and it is working fine. But the issue here is that I want to specify a completion deadline of say 1 day but it should not cont any weekends for calculating th

  • AppleScript errata

    I'm having problems with AppleScript. First, if I restart my Mac the problems go away for awhile before they reappear. So, it seems something happens after using my Mac for awhile that triggers the problems which are then cured by a restart. Problem

  • SharePoint Bug: SharePoint Permissions

    I've a collaboration portal for intranet needs. I've defined a  custom SharePoint Security Group called "ABC" with the following permissions a)Add Items b)it Items c)View Items d)Open Items e)View Versions f)View Application pages g)Add and Customize

  • Can a cell be set to input a numeric value automatically on a predetermined date?

    Hi, I am trying to create a basic property management spreadsheet and wanted to know if it is possible to have a cell automatically input a tenants predetermined rent on a specific, predetermined date? Thanks!