Search code examples
buttontitaniumtitanium-mobile

How can I create a home button?


I am pretty new in the programming world. I am using Titanium, and I want a button that when I clicked on it, it will go back to the home window. Obviously, the button will be in another window.

I tried win2.open() and win2.show(), but it is not working. Any ideas?


Solution

  • Use titanium navigational controller

    https://github.com/vuinguyen/Ti-Navigation-Controller

    it would give you button for previous and home window