Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 27

Thread: Back Button

  1. #1
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    hey everyone.. i know its been discussed here but i am totally know and full confused. I want to know in WRT how can i have Back button instead of Exit Button...

  2. #2

  3. #3
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by ltomuta View Post
    any direct link please

  4. #4
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by ff123 View Post
    any direct link please
    The links suggested by Lucian were close enough to your question. Note that you have to click on them.

    How about this link: Using Softkeys

    And how about a Wiki search? http://wiki.forum.nokia.com/index.ph...xt=Search+Wiki
    Nokia Developer Wiki Moderation team

  5. #5
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by kiran10182 View Post
    The links suggested by Lucian were close enough to your question. Note that you have to click on them.

    How about this link: Using Softkeys

    And how about a Wiki search? http://wiki.forum.nokia.com/index.ph...xt=Search+Wiki

    i tried several things nothing works for me there..

  6. #6
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    ok I managed to get Back label but what is code to make it work and make it go Back to previous page and is there anyway that widget does not ask for Manual Connection but connect itself to default connection 3G or WiFi?

  7. #7
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    I would guess that the code for going "back" is pretty identical to the one you have for switching the view in the "forward" direction.

    As for controlling the connectivity make sure to select a proper destination in Browser's connectivity settings, your widget will use the same connectivity options (with an additional prompt for accepting the connection)

  8. #8
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by ltomuta View Post
    I would guess that the code for going "back" is pretty identical to the one you have for switching the view in the "forward" direction.

    As for controlling the connectivity make sure to select a proper destination in Browser's connectivity settings, your widget will use the same connectivity options (with an additional prompt for accepting the connection)
    I will try to search some back button coding.. but tell me can't itself connect to first available connection instead of the prompts that appear?

  9. #9
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Quote Originally Posted by ff123 View Post
    but tell me can't itself connect to first available connection instead of the prompts that appear?
    You cannot avoid that security prompt about avoiding the connection. As for which access point will be selected ...

    Quote Originally Posted by ltomuta View Post
    ... make sure to select a proper destination in Browser's connectivity settings, your widget will use the same connectivity options (with an additional prompt for accepting the connection)
    If the browser shows a list of access points for selection, so will your widget. If the browser is set to automatically connect to an access point, so will your widget.

  10. #10
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by ltomuta View Post
    You cannot avoid that security prompt about avoiding the connection. As for which access point will be selected ...

    If the browser shows a list of access points for selection, so will your widget. If the browser is set to automatically connect to an access point, so will your widget.
    Thank you.. but tell me i was trying too add more things in left key Option but when i used http://library.forum.nokia.com/index...31737AE42.html this code it does not work..

  11. #11
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by ff123 View Post
    but tell me i was trying too add more things in left key Option but when i used http://library.forum.nokia.com/index...31737AE42.html this code it does not work..
    What happens? Why does it not work? What have you done?

    Also see this Wiki article: http://wiki.forum.nokia.com/index.ph...Menu_in_Widget
    Nokia Developer Wiki Moderation team

  12. #12
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by kiran10182 View Post
    What happens? Why does it not work? What have you done?

    Also see this Wiki article: http://wiki.forum.nokia.com/index.ph...Menu_in_Widget
    this url tells about the Sub Menu.. I want iteams in Option just i have used this code

    Code:
    	var aboutMenuItem = new MenuItem("Help", MENU_ITEM_ABOUT);
    	aboutMenuItem.onSelect = menuItemSelected;
    	menu.append(aboutMenuItem);

    but If i use the same code it does not work

  13. #13
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi ff123,

    have you also defined the MENU_ITEM_ABOUT variable and menuItemSelected method in your code?

    Pit

  14. #14
    Registered User ff123's Avatar
    Join Date
    Sep 2009
    Posts
    33
    Quote Originally Posted by jappit View Post
    Hi ff123,

    have you also defined the MENU_ITEM_ABOUT variable and menuItemSelected method in your code?

    Pit
    yup! its working too but If I apply the same code for another item in option nothing works then..

  15. #15
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi ff123,

    try posting the code related to your specific error, and the JavaScript error message you get (via Firebug or the Firefox JavaScript console).

    Pit

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 2007-11-22, 11:11
  2. Back Button Problems
    By mcho in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2004-01-06, 22:02
  3. Problem with the 'back' button behaviour
    By mchallice in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2003-09-16, 12:17
  4. How can i get a form's back button event?
    By advocatee in forum Symbian C++
    Replies: 1
    Last Post: 2003-07-28, 04:09
  5. Back Button on 6310i
    By cprender in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-07-31, 05:46

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