Loading..

A new year, a new tiDev!

Just a little over a year ago I welcomed you all to tiDev with the following vision: TiDev is a new independent blog bringing news, rumors, tips & tricks, reviews and more on Appcelerator’s Titanium platform and Alloy framework for building cross platform native apps. Evaluating our first year Instead of celebrating our first anniversary, […]

Built with Titanium: Glam&Go

Aaron Saunders let us know that Clearly Innovative team helped Glam&Go release its new app on the App Store and Google Play Store. The backend was built on StrongLoop. They also wrote up a nice blog post on the business case and goals. See 5 Ways to Boost Your Mobile Strategy: A Look at Glam&Go’s […]

Positioning a Toast notification on the top half of the screen

Android Toasts are great for providing simple feedback to the user, without blocking his interaction with the current view/window. In Titanium you can use Ti.UI.Notification to create a Toast: Ti.UI.createNotification({ message: "Please Stand By", duration: Ti.UI.NOTIFICATION_DURATION_LONG }).show(); Positioning the notification The Android API guides explain how to use setGravity(gravity, xOffset, yOffset) with setMargin(horizontalMargin, verticalMargin) to […]

New Facebook Modules

In this guest blog, Mark Mokryn introduced us to his new Facebook modules for Titanium. Appcelerator’s Facebook modules haven’t been updated for a long time, partly because the newer SDKs couldn’t simply be dropped into the Titanium wrapper modules but needed lots of adjustments. Mark just got several PRs accepted for Titanium 3.5.0 to make […]

Hidden event methods on Android

Question 1 Which of the following 4 methods remove an event listener on Android? var id = view.addEventListener('click', onClick); view.removeEventListener('click', onClick); view.removeEventListener('click', id); view.removeListener('click', onClick); view.removeAllListeners('click'); The correct answer: all of them! Question 2 Which of the following 4 methods then add an event listener on Android? view.addEventListener('click', onClick); view.addListener('click', onClick); view.on('click', onClick); view.once('click', onClick); […]

Where does that log come from?

Of course we all use Studio’s debugger or Ti-Inspector to step through code when we run into errors, but I’m sure your code has its fair share of Ti.API.debug() or console.debug() calls as well. If your console is filled with these logs, wouldn’t it be nice to know from which file they come? Double-underscore === […]

JSONH Screencast

This JSONH screencast was recorded after the presentation was delivered to the London Titanium Meetup in early 2014. It is a look at approaches you could take in compressing JSON responses from a server via a Node.ACS instance. This improves data transmission rates in bandwidth challenged scenarios.

tiConf ticket & hotel winner Manaday Mavani

This week tiConf asked attendees and followers of tiConf India to submit questions for the exports to win a free conference ticket (or reimbursement) and 2 hotel nights. Meet the winner: Manaday Mavani! Twitter: @ManadayM Github: ManadayM Linkedin: manadaymavani Blog: Clean Code Congrats Manaday, could you introduce yourself? I’m Manaday Mavani 28 years of age […]