Tag: alloy
How to refactor big Alloy controllers
At first, you got a nicely structured Alloy controller, but as you go on, new features keep getting added, and slowly but surely you...
How can my Titanium iOS app detect that a screenshot has been taken?
Dear Geek,
Can I detect that a screenshot has been taken (like Snapchat does) on my Titanium mobile app for iOS?
— WATCHING FOR SCREENSHOTS
Dear...
How to allow users to take a screenshot with Titanium Mobile SDK
Dear Geek,
I want to allow users to take a screenshot of my app when submitting a troubleshooting ticket. My app is built using Titanium...
How do I add a custom font to my mobile app for iOS and...
Dear Geek,
I have built a mobile app for iOS and Android using Titanium and I want to embed a custom font that I can...
Creating Custom Tags in Titanium with Alloy
Titanium when used with Alloy MVC is an incredible fast way to build cross-platform native apps using XML, JavaScript and TSS (Titanium Style Sheets).
Using...
Give your Titanium App a Turbo Boost – Part 2
Exploring the power and extensibility of Axway Titanium Alloy
In Part 1 of this series, we talked about the different ways you can use and...
How to Manage Memory Leaks in Titanium Apps
JavaScript like many languages can be prone to memory leaks in certain situations. If you’ve developed in JavaScript, you might be familiar with a...
Featured Module — Extend Alloy Theming with TiTh
Developing cross-platform, native apps with Titanium is easy using Alloy MVC. And, one of its most powerful features is the ability to theme apps.
With...
Putting It All Together with AMPLIFY: Mobile App + APIs
Companies around the world use Axway’s development tools to build incredible mobile apps, from the budding developers in the Code to Inspire program in...
How to Chain Controller Methods in Titanium by Using Alloy
A nice feature of Titanium and Alloy is the ability to create controllers and be reactive to triggers OR call methods without creating a...
How to Use ESLint in Titanium App Projects
Linting tools allow developers to discover problems with their JavaScript code – either while coding and before running the app or during the compilation...
Featured Module — RESTe
If you have been working with mobile apps very long, you have probably have seen that APIs are a huge chunk of your workload....
How to Access your CHANGELOG within your App to Implement a “What’s New” Feature
This guest post was authored by Adam Armstrong. Adam has been using Titanium since 2010 and is an Appcelerator Titan. He is the Manager...
Give your Titanium App a Turbo Boost – Part 1
Add more power to your mobile apps by tapping into custom code.
Titanium is one of the first cross-platform native solutions for building mobile apps....
How to Create App Names with Special Characters
If you're building cross-platform, native mobile apps with Titanium, you may have come across a need to have an app name that includes special...
How to Add Siri Shortcuts to your Titanium App
One of the cool new features of iOS 12 is Siri Shortcuts, a way to enable Siri to interact with apps to perform specific...
Taking Classes in Titanium Alloy to the Next Level
Styling in Titanium is done by applying properties to a UI component. In both classic and Alloy, this is done by properties.
myUIElement.backgroundColor = "#ffffff";
In...
Adapting Titanium Apps for Different Screen Sizes
I once read someone on Twitter say that “Type is the one constant across all screen sizes” — it’s true if you don’t include...
Moving A Classic Titanium App to Alloy
Last month, we explained some of the benefits of using Alloy instead of classic Titanium to build your apps. So, if you've got a...
Why Should You Use Alloy to Develop Titanium Apps?
There are a LOT of good reasons for using Alloy to develop mobile apps with Titanium! In this post, I'll explain some of my...
Building Re-usable Components In Alloy
Titanium + Alloy is the fastest way to develop cross-platform, native mobile apps. Not only does Alloy use a Model, View, Controller paradigm (MVC),...
Using Custom Conditional Statements in Titanium Alloy Views
One of the many great features of Alloy (and I’ll be covering more in an upcoming post) is how it separates the business logic...
Creating Cross-Platform Alloy Tags
Creating Cross-Platform Alloy Tags
One of the great features of Alloy is the ability to customise and write Alloy tags. I use this feature a...
Using Base Controllers With Alloy
There are plenty of ways to re-use components with Alloy: widgets, CommonJS, and even redefining or creating new Alloy tags. One way that’s not...
Updating User Interface Elements Using Alloy & Backbone — Part 2
In Part 1, we showed how it was possible to use Titanium and Alloy and the built-in Backbone to manipulate user-interface elements, turn on...
Global App Events in Titanium Using Backbone.js
One of the many great features of the Alloy MVC framework is how it uses Backbone.js for events and data-binding.
I’ve posted before on...
Update User Interface Elements Using Alloy & Backbone
If you’re developing apps in Titanium and Alloy, you’ve probably used the Backbone to bind collections and models to Tables, ListViews, Views and other...
Data-binding Made Easy with Alloy: Part 2
In the first part of this series, we looked at using the Titanium Alloy MVC framework, with its built-in Backbone.js data-binding, to easily bind...
Data-binding Made Easy with Alloy: Part 1
With the Titanium Alloy MVC framework, developers can take advantage of built-in data-binding using Backbone.js, making binding data to views incredibly easy.
Traditionally in Titanium,...
Optimising Titanium App File Sizes
In this post, Jason Kneen describes some simple techniques that can be used to reduce Titanium application file size.
Using JavaScript Promises in Titanium
This guest post was authored by Adam Paxton and originally published on adampaxton.com. Adam is a freelance mobile app developer for Polanco Media, and...
Creating an Alloy Library for Titanium: xhr.js
This guest post was authored by Adam Paxton and originally published on adampaxton.com. Adam is a freelance mobile app developer for Polanco Media, and...
Enhancing Titanium: How to use Images that require authentication
Note: This post was originally published on Medium. Rene Pot is an Appcelerator Titan, long time member of the Titanium community, and runs the...
Supercharging Alloy Controllers
Developing Titanium apps with Alloy means following a Model View Controller (MVC) pattern -- views are XML-based, Controllers contain JavaScript code and data is handled using...
Titanium Basics: 11 Steps to a Maintainable App
Note: This post was originally published on Medium. Rene Pot is an Appcelerator Titan, long time member of the Titanium community, and runs the...
Getting To Know Alloy (Part Two)
code { color:#fff; background-color:#000; padding:1px 3px 1px 3px; margin:1px 3px 1px 3px;
...
Getting To Know Alloy (Part One)
This blog post refers to a previous version of Alloy. For updated Alloy reference see the Official Alloy Guides.
The following is the first in...