Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor shwetadseema's Avatar
    Join Date
    Jan 2011
    Posts
    103
    Hello i want to redirect to the
    given url--"http://www.silvertouch.mobi/mynino/ninoparent/paypalPayment.php?"
    by clicking the button in the canvas page.How can it be possible to write platformRequest(url);in other canvas file.
    Help me if anyone know the solution.

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    You use platformRequest() like this:

    Code:
    if (myMidlet.platformRequest(url)) {
        myMidlet.notifyDestroyed();
    }
    If the url is "http://..." it will cause the phone's browser to launch. Note that, on some devices, the application must terminate before the browser can launch (not all phones are multi-tasking). That's why you must check the return value from platformRequest(), and exit your app if it returns true.

    Graham.

  3. #3
    Registered User prssupe's Avatar
    Join Date
    Dec 2009
    Posts
    376
    FOR series 60 it is obviously possible while in case of series 40 you have to terminate you application and go start browser

Similar Threads

  1. To display the whole string in the canvas
    By bidyut84 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-02-26, 11:31
  2. Replies: 0
    Last Post: 2010-02-03, 04:41
  3. Replies: 2
    Last Post: 2009-03-18, 08:44
  4. Generating a HTML page from the J2ME application
    By ashishga in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-01-20, 11:21
  5. Replies: 0
    Last Post: 2005-10-21, 14:06

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