Titanium-android-count.ly

Count.ly SDK for Titanium Android

View the Project on GitHub shivakumars/Titanium-Android-Count.ly

Titanium-Android-Count.ly

Count.ly SDK for Titanium Android

What's Countly?

Home

http://count.ly

Installation

Please note that this Module is under development.

1. Add this to your 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:

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.