Top 30 Appcelerator Titanium Interview Questions and Answers

Here we come up with most growing technology for Mobile world known as Appcelerator.
Appcelerator is enabling developers to build mobile apps with one common language and distribute apps to many different platforms. The idea itself is already a good one. Especially if they're using a scripting language that is so widely known and used as javascript.
There are challenges of-course, but so far they're doing quite well. There is new major version of Titanium SDK coming out that's supposed to be even faster. The community is rather strong. Their approach to open source ideology is spot on. Many large tech companies have apps in stores built on top of Titanium.
I believe Appcelerator is going to be best mobile app development platform soon, I had great future.

Here are the Appcelerator Titanium Interview Questions and Answers

What do you understand by cross-platform mobile development?
Cross-platform mobile development refers to the development of mobile apps that can be used on multiple mobile platforms. In todays business world there are multiple platefor to run app, so Cross-platform development have very good demand.

Explain what is Appcelerator Titanium?
Appcelerator Titanium is an open-source framework that allows the creation of mobile apps on platforms including iOS, Android and Windows Phone from a single JavaScript codebase, developed by Appcelerator.

What are some different mobile platform supported by Appcelerator Titanium?
iOS, Android, BlackBerry, Windows

What are the advantages of Appcelerator Titanium platform?
Cross-platform mobile development support:Titanium offers optimum solution to develop cross-platform apps on different platform and devices. It is a cross-platform JavaScript run-time as well as API framework used to carry out mobile development on Android as well as iOS. This platform is especially designed keeping in mind mobile web with possible future support for Blackberry and Windows.

Developed using a JavaScript-based platform with an integrated Eclipse-based IDE:
Titanium framework uses code written in JavaScript, combines this code with the Titanium API (which is in written in the targeted device’s native language) further evaluates code at runtime using JavaScript interpreter which runs on the device’s operating systems.
Faster than other Mobile application framework:TITANIUM helps in developing mobile applications 70 times faster than other mobile
application framework available in the market. This framework helps in developing mobileapps in much less time as compared to others.

Flexibility:TITANIUM is an important tool to develop different web based applications including e-books, mobile applications and other business applications

Great Look and feel:The look and feel of a Titanium application, using common UI widgets of the platform is an added advantage.
Titanium offers several user-friendly features across multiple platforms which should be used by the developers. Titanium is an attempt to achieve code reuse using a unified JavaScript API, with platform-specific features and native performance.

Easy to learn & deploy:Developers can easily learn about this framework as it comprises HTML5, CSS3, jQuery, Ajax and JavaScript. So, it will be extremely easy for expert to learn every nitty-gritty aspect of Titanium and make use it to empower in the design work.

What are the Disadvantage\Limitations of using the Titanium mobile application development?
Extending to other platforms:The Titanium platform is only available for the iOS, Android platforms and the web. To implement the Titanium API on new platforms like the upcoming Windows 8 is an immense undertaking.

Non-native user experience:The performance and feel of UI widget sets that Titanium provides need more work. They do not feel similar to the native controls offered by their SDKs.

Sub-optimal API implementation:As the layer of abstraction offered by Titanium is large, sub-optimal API implementation remains in its internal framework. Optimizing the core user interface components remains the major engineering task for its developers.

Huge learning curve:A comprehensive knowledge of Titanium's architecture and the environment is required to effectively integrate an innovative native control or API. High level guides for module developers were improved to a great extent but still need to be worked upon.

How you will previewing a mobile web project in an emulator?
To preview your app in an emulator, open the project in the App Explorer, or Project Explorer, click on the launch button, and select "Mobile Web Preview in Emulator".

Explain some best feature of Appcelerator Titanium Framework?

  • Supports Multiple Platforms
  • JavaScript API
  • Native Code
  • Requires Trending Web technology
  • Advanced Quality
Explain the architecture of Appcelerator Titanium?
The core features of Appcelerator Titanium include:
A cross-platform API for accessing native UI components such as navigation bars, menus, and dialog boxes and native device functionality including the file system, network, geolocation, accelerometer, and maps.
Transparent access to native functionality not already covered by the API.
All application source code gets deployed to the mobile device where it is interpreted using a JavaScript engine; Mozilla's Rhino is used on Android and BlackBerry, and Apple's Javascriptcore is used on iOS. In 2011 it was announced that a port to Google's V8 JavaScript engine is in development which, when complete, will significantly improve performance. Program loading takes longer than it does for programs developed with the native SDKs, as the interpreter and all required libraries must be loaded before interpreting the source code on the device can begin.

What is an Appcelerator Analytics data point?
An Analytics data point is an event that occurs in your app that is reported back to the Appcelerator Analytics service. This allows developers to track what users are doing in their apps. Examples of events that can be tracked include logins, navigation events, purchases, or any other actions that the developer chooses to instrument.

How you will optimize a Titanium app?
You mostly have to care about memory leaks. You have a VERY important webcast on the subject. In short; be very careful to :

  • Avoid big global objects : they have references to the world, so these references won't be cleared
  • Eliminate any circular dependances : the garbage collector is NOT a garbage collector ! It just count references and kill objects when there is 0 refs. With circular objects, there is always 1 ref.
  • Avoid events on Ti.App : ouch that sucks ! But the object that ask addEventListener is for ever in the Ti.App listener bus. The bus keeps a reference to send the event to that object, so it will be there forever, so will be its references.
  • Be careful with other events.
  • Be also careful with animations : they have callbacks that have references to the application. These callbacks are function (so variables) that may stay in memory, so do its references.
  • Write myDownObject=null when you go up in the tree. Use HEAVILY Instruments on your mac, with a 'Proxy' filter. All titanium objects are UIProxy.
What do you understand by ArrowDB?
Appcelerator ArrowDB provides a set of REST APIs for creating, managing, and accessing different types of data in your cloud datasoucrce, such as Users, Places, and Photos over HTTP or HTTPS. You can integrate ArrowDB into your application using the Titanium, iOS, Android or Node.js SDKs, or by calling the REST APIs directly.

Explain ArrowDB admin access?
ArrowDB admin access allows application admin users to execute some batch operations and make ArrowDB API calls on behalf of another user.

How you will create an Hellp, World Titanium app. Write the code?
In the Project Explorer view, open index.xml located in the app/views folder. As below

How to query the child views of a parent view using Titanium?
if (view.children) {
        for (var c = view.children.length - 1; c >= 0; c--) {

How you will apply MVC Architecture in Titanium mobile apps?
Click here for answer



Contact Form