proton:admanager_tapjoy
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proton:admanager_tapjoy [2012/07/07 03:18] – created seth | proton:admanager_tapjoy [2013/01/16 03:29] (current) – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== Tapjoy === | === Tapjoy === | ||
- | Fully supported on Android but not iOS, hassle Seth to write docs. | + | [[http:// |
+ | |||
+ | Check RTAdTest for an example, it' | ||
+ | |||
+ | Requires an [[http:// | ||
+ | |||
+ | To initialize it, add: | ||
+ | < | ||
+ | //put this somewhere after m_adManager.Init(); | ||
+ | AdManager:: | ||
+ | </ | ||
+ | |||
+ | Android note: If the tapjoy info was manually set in android/ | ||
+ | |||
+ | == Troubleshooting == | ||
+ | |||
+ | If you see a *" | ||
+ | |||
+ | === Enabling Tapjoy for iOS build === | ||
+ | **NOTE** These directions are for Tapjoy V8.X. They changed stuff in V9 and it doesn' | ||
+ | |||
+ | However, a V9 version is also supported | ||
+ | |||
+ | |||
+ | Download the Tapjoy | ||
+ | |||
+ | Add the entire **/ | ||
+ | |||
+ | Add the source files **/ | ||
+ | |||
+ | Define the compiler environmental variable **RT_TAPJOY_ENABLED** to the project' | ||
+ | |||
+ | If you get link errors about the CoreTelephony, | ||
+ | |||
+ | Go to your Xcode project settings and select **Build Phases**, exapand **" | ||
+ | |||
+ | * SystemConfiguration.framework | ||
+ | * libsqlite3.0.dylib | ||
+ | * CoreTelephony.framework - For compatibility with iOS 3.0, make this link Optional | ||
+ | * MediaPlayer.framework | ||
+ | |||
+ | Note: I got some strange errors in the Tapjoy SDK source about UIKit elements missing and had to add **#import < | ||
+ | |||
+ | === Enabling Tapjoy | ||
+ | **NOTE: | ||
+ | |||
+ | Download the Tapjoy Android Virtual Publishers SDK and copy the **com/ | ||
+ | |||
+ | Edit android/ | ||
+ | |||
+ | < | ||
+ | :for tapjoy (optional) | ||
+ | echo d | xcopy ..\..\shared\android\optional_src\com\tapjoy temp_final_src\com\tapjoy /E /F /Y | ||
+ | </ | ||
+ | |||
+ | Edit android/ | ||
+ | |||
+ | < | ||
+ | // #define RT_TAPJOY_SUPPORT | ||
+ | |||
+ | to | ||
+ | |||
+ | //#define RT_TAPJOY_SUPPORT | ||
+ | </ | ||
+ | |||
+ | Also look below in that file and change this to valid info: | ||
+ | < | ||
+ | TapjoyConnect.requestTapjoyConnect(getApplicationContext(), | ||
+ | </ |
proton/admanager_tapjoy.1341631102.txt.gz · Last modified: 2012/07/07 03:18 by seth