Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3307534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:25:02+00:00 2026-05-17T21:25:02+00:00

From the question How Does Appcelerator Titanium Mobile Work? I know that the JS

  • 0

From the question “How Does Appcelerator Titanium Mobile Work?” I know that the JS is cross-compiled into native code. But where does this happen? I couldn’t find any code for this in the open source Titanium code. The website of Appcelerator also is quite sparse on the cross-compilation part of the process.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:25:03+00:00Added an answer on May 17, 2026 at 9:25 pm

    In Titanium 1.4 on Windows/Android look in C:\ProgramData\Titanium\mobilesdk\win32\1.4.0\android\compiler.py and you will find:

    def compile_into_bytecode(self,paths):
        jar_path = os.path.join(self.template_dir,"js.jar")
        for package in paths:
            args = [self.java,"-cp",jar_path,"org.mozilla.javascript.tools.jsc.Main","-opt","9","-nosource","-package",package,"-d",self.classes_dir]
            count = 0
            for path in paths[package]:
                # skip any JS found inside HTML <script>
                if path in self.html_scripts: continue
                args.append(path)
                count+=1
                self.compiled_files.append(path)
            if count > 0: run.run(args)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From the question you can probably tell that I don't know much about code!
Question from the one interview. Please explain what does this C++ code mean: void
Following up from my last question does anyone know how I can use a
Question: Where does productArray come from in these: for ( Product product : productArray
This question is spawned from the partial answer to JSF2: why does empty test
My question can be boiled down to, where does the string returned from stringstream.str().c_str()
From another question I recently posted, it seems that Classic ASP might not be
Appcelerator recommend the use of CommonJS-modules in Titanium Apps: https://wiki.appcelerator.org/display/guides/Mobile+Best+Practices However, on their docs,
This is a spin off from my last question How does delphi convert ModalResult
there were a few question similar to mine on the stack but none that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.