KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
tapjoy_module
★ 18
Open GitHub ↗
Tapjoy Module for Titanium
Download README (.md)
Explore Similar Repositories
ideaCC
:
JavaCC plugin for Intellij IDEA
vim-walking-without-crutches
:
Slides for my ArrrrCamp presentation (28 October, 2010).
lusis-cookbooks
:
Some custom cookbooks for Opscode's Chef
distilled
:
Daily online magazine for Chinese Wikipedia
blastxmlparser
:
Fast big data XML parser and library, written in Ruby
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
tapjoy_module
?
Download (.md)
# Tapjoy Module for Titanium This module is a simple interface for connecting to [Tapjoy](http://tapjoy.com) # Build & Install ## iPhone Simply run the ./build.py script in 'iphone/' then copy the com.tapjoy-iphone-*.zip file to your Titanium Library ('/Library/Application Support/Titanium' or '~/Library/Application Support/Titanium') ## Android Navigate into the 'android/' directory and run 'ant'. Then copy the com.tapjoy-android-*.zip file to your Titanium Library ('/Library/Application Support/Titanium' or '~/Library/Application Support/Titanium') # Usage ## iPhone Add the following to app.js: var tapjoy = require('com.tapjoy'); tapjoy.connect('API_KEY'); ## Android Add the following to a custom AndroidManifest.xml. Place the following XML in the first '<activity>' block in the document. <meta-data android:name="APP_ID" android:value="API_KEY"/> <meta-data android:name="CLIENT_PACKAGE" android:value="com.my.app"/> <receiver android:name="com.tapjoy.TapjoyReferralTracker" android:exported="true"> <intent-filter> <action android:name="com.android.vending.INSTALL_REFERRER" /> </intent-filter> </receiver> Add the following to app.js: var tapjoy = require('com.tapjoy'); tapjoy.connectCreate(); Ti.App.addEventListener('close',function(e) { tapjoy.connectDestroy(); });