Count.ly SDK for Titanium Android
##What's Countly? ##Home
##Installation
Please note that this Module is under development.
###1. Add this to your manifest:
- Add this into Android Manifest.
<service android:name="org.openudid.OpenUDID_service"> <intent-filter> <action android:name="org.openudid.GETUDID" /> </intent-filter> </service>
###2. Now it's time to add Countly Module to your project using steps below:
- Include the Module in TiApp.xml and
var countly = require("ly.count"); Ti.API.info("module is => " + countly); if (Ti.Platform.name == "android") { countly.countInit("http://YOURSERVER","API_KEY"); }Additionally, make sure that *INTERNET* permission is set if there's none in your manifest file.