Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services
We currently have a project that requires a lock feature without using the actual lock button on the iPhone, since I have to somehow copy the “slide to unlock” of the iOS, I did a research thinking maybe someone have already done that on Titanium then voila! There is one! Thanks to a user named pec1985, here’s the link to the code repo.
Unfortunately he created the code during an earlier version of the Ti SDK, So I decided to do a revision of the code to make it work with 3.X SDK version, it’s not that smooth, but you can always revise it based on your preferences.
Here’s the code:
Take note that you should change the newLockWindow on the code with the name of your Window.