-
Using BOOT_COMPLETED in Titanium
It is a common requirement to need to restart your app if the user restarts the device. Although this requirement is common, it can get tricky quickly. For example do you want to restart in the foreground or background? What if you want to send a notification instead? The Android.Tools… Read more ⇢
-
A Few Helpful Xcode Plugins
Xcode is one of those IDEs that you either love or hate ( sometimes both ). Coming from a Visual Studio background it has taken awhile to get used to the Xcode workflow. I’m still hopeful that someone will create a Resharper like tool for Xcode, but until then I… Read more ⇢
-
Enabling Nexus 4 Developer Options
Was lucky enough to get a Nexus 4 the other day and noticed the Developer options were missing. It seems Google has hidden these options After a few short searches it seems Google has chosen to hide the developer options by default and use a gesture to unlock. To enable… Read more ⇢
-
Generating GUIDs in JavaScript
My last few projects required the use of GUIDs in a variety of ways. While searching for an all JavaScript approach, I stumbled across a great stackoverflow question “How to create a GUID / UUID in Javascript?”. Broofa provided an elegant solution to this problem which I’ve placed into a… Read more ⇢
-
Titanium AppStore Tools
Looking for away to make sure your uses have upgraded to the latest version of your app? Using the AppStoreHelpers object within the benCoding.iOS.Tools module you can easily query the Apple AppStore for the latest version. You are then a simple version compare away from having the information needed to… Read more ⇢
-
Determine if Intent Receiver Exists on Android using Titanium
One of the challenges in working with Ti.Android.Intent‘s is knowing if the device has an app installed that will be able to handle the request. The recommended approach until now was to wrap your startActivity statement within a try/catch statement. With the new Android.Tools module you can now check if… Read more ⇢
-
iOS Simulator Switching Devices
With Apple’s latest products, including the iPhone 5 we now have to worry about more form factors then ever. As the method for switching the device type in Titanium Studio is still pretty clumsy I went in search of an earlier way. The Appcelerator forums had a great post by… Read more ⇢
-
Titanium iOS adding isFile and isDirectory to the SDK
As I was building Dossier.js I ran into a small parity issue between iOS and Android. On Android Titanium provides you two helper functions. On a Ti.File object you can call isFile() to get a boolean indicator if your currently working with a file. Likewise you can call isDirectory() to… Read more ⇢
-
Titanium Android Module JDT Setup
I’ve just started a project that requires the development of a few Titanium Android modules. After configuring all of my SDK and NDK paths I was surprised to be greeted with the message that I had to install JDT… Since Titanium Studio is Eclipse based the question is what version… Read more ⇢
