Exit Application and View Log in Windows Phone

M Mark Nongkhlaw 2 years 11 months ago
0 1 0

This is the code I have in my application.rb :

  def initialize
    # Tab items are loaded left->right, @tabs[0] is leftmost tab in the tab-bar
    # Super must be called *after* settings @tabs!
    @tabs = nil
    #To remove default toolbar uncomment next line:
    #@@toolbar = nil
    super
   
    @default_menu={
      "Go Home" => :home,
      "Get Latest Data" => "/app/Link/seeds",
      "Refresh View" => :refresh,
      "About" => "/app/Link/about",
      "View Log" => :log,
      "Exit Application" => :exit
    }

Whereas "View Log" and "Exit Application" works in WM, BB, Android, the same does not in WP. "View Log" does nothing, and "Exit Application" gives me this error :

Y
404 Not Found.
The file /exit was not found.

Any workarounds for the above for WP?

Please register or login to post a reply

1 Replies

K Kutir Mobility

Hi Mark Have you tried giving full url (absolute url) by dynamically finding the port? Thanks Visnupriya Kutir Mobility

CONTACT
Can’t find what you’re looking for?