Skip to content

Classic Titanium App to Alloy #12730

Answered by m1ga
martinrademacher asked this question in Q&A
Discussion options

You must be logged in to vote

it would help a bit if you tell us where you are stuck. Haven't used a classic setup in ages but what I do is:

  • create a new Alloy app (appc new --no-services)
  • copy all your old js files to app/lib (like in step 1) so basically all the files you require in your code
  • copy the code from app.js into index.js since that is the new starting point of your Alloy app
  • remove everything besides <alloy /> from views/index.xml

ignore all the views and styles for now, that is the stuff that follows in step 2 of the tutorial. Oh and move your assets. Depending on your code and the SDK you were using it should already build and run now.

After that it is time to move all the Ti.UI.createWindow() stuff i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martinrademacher
Comment options

@m1ga
Comment options

m1ga Apr 19, 2021
Collaborator

Answer selected by Topener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants