android - Titanium: navigation from one screen to other -


On the click of my button, I want to navigate to another screen. How to get it in titanium?

  var Trial button = Titanium.U.Surat Button ({color: 'black', background color: '#FFFFF', title: 'trial mode', top: 55, width: 300, height : 50, range: radius: 5, font: {fontSize: 18, fontfamily: 'helvetia', font wide: 'bold'}}); TrialButton.Edit Listener ('Click', Function () {varNewindo = Titanium.U.Cent Window ({Background: "#FFF", Title: "Trial Demo", URL: "Next Screen .JS"}); New Windows. Open);});    

  trial button. AddEventListener ('click', function () {var newWindow = Ti.UI.createWindow ({background: "# 000", title: "image view", url: "nextScreen.js"}); newWindow.open (); )};   

Here is a checkout example

Here are some posts from my blog

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -