Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3195] Android: Navigation not working properly

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-08-31T13:43:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsapi
ReporterNishant
AssigneeNeeraj Gupta
Created2011-04-15T03:39:12.000+0000
Updated2017-03-09T23:38:46.000+0000

Description

Android navigation not working.

Android win1-> win2 -> win3 -> win4 these are my navigation steps.

I'm in win4 i want to go to win3 but whenever I clicked on Android back button it goes to win1.

Basically right flow like win3-> win2 -> win1 but that flow it not working.

Comments

  1. Josh Roesslein 2012-08-31

    A workaround would be to force each of these windows to be "heavyweight" so each window is its own activity. Right now if all of these are "lightweight" they share the same activity. Hitting back on android will close the top activity, closing all your LWs hosted by it. To force a heavyweight window you can create your window with one of the properties that triggers it. Fullscreen is one of those properties, so just set it:
       createWindow({fullscreen: false}); // will create a heavyweight window
       
  2. Junaid Younus 2012-08-31

    No test code provided, unable to reproduce, ticket marked as invalid.
  3. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source