-
Download https://github.com/benbahrenburg/benCoding.AlarmManager/archive/master.zip
-
cd
into the Module directory -
Run
brew install ant android-ndk
-
Edit build.properties to match your local enviornment. Mine looks like this:
titanium.platform=/Users/reinhard/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android android.platform=/Users/reinhard/Documents/Android SDK/platforms/android-8 google.apis=/Users/reinhard/Documents/Android SDK/add-ons/addon-google_apis-google-8 android.ndk=/usr/local/bin/
-
I had to create an empty folder named "lib" inside of that Module directory.
-
Run
ant
. At the end of it, should should see "BUILD SUCCESSFUL" -
Copy (relative to the same Module directory) "dist/bencoding.alarmmanager-android-0.6.zip" directly into the root of your project. Then unzip it. So the root of your project should have a "modules" directory now.
-
Add it to the modules declaration of your tiapp.xml like:
<modules> <module platform="android" version="0.6">bencoding.alarmmanager</module> </modules>
That was it for me. That let me build his example project (which, btw, has the wrong version number in it's <module>
tag). It's probably a safe bet to clear out your project's build folder so you are starting from scratch on the build with this.