3

I am new to rhomobile. I have created sample application for 3 screens. I am trying to use back button of device to redirect previous screens. But back button is not working. It remains on same screens. Also when we at first screen I want to close application on back button of device. Can we do that programatically?

Sagar Jadhav
  • 249
  • 1
  • 7

2 Answers2

1

Very late response but may be useful for people when they come to this post.

In android (this doesn't appear to work for Windows Mobile) you would use

 render :back => url

Where url is the url that you wish to proceed back to

Link for the brief documentation on this:

http://docs.rhomobile.com/rhodes/ui#redefine-back-action

amrcus
  • 103
  • 11
0

Can you provide the code? Here is the back button example using meta tags

<META HTTP-Equiv="BackButton" Content="Visibility:Visible">
<META HTTP-Equiv="BackButton" Content="Left:50">
<META HTTP-Equiv="BackButton" Content="Top:50">
<META HTTP-Equiv="BackButton" Content="Width:30">
<META HTTP-Equiv="BackButton" Content="Height:30">

Back Button

Quit button:

<META HTTP-Equiv="QuitButton" Content="Visibility:Visible">
<META HTTP-Equiv="QuitButton" Content="Left:50">
<META HTTP-Equiv="QuitButton" Content="Top:50">

Here is the link how to the quit button:

Quit Button

Snake Sanders
  • 2,641
  • 2
  • 31
  • 42