forked from victorwon/mopub-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nathan Shayefar and Phil Goodwin
committed
May 9, 2013
1 parent
4c46a80
commit 066aa61
Showing
137 changed files
with
11,272 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
.DS_Store | ||
.git.bak/ | ||
.idea/workspace.xml | ||
.idea/uiDesigner.xml | ||
ant_build/ | ||
bin/ | ||
gen/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
out/ | ||
tmp/ | ||
local.properties | ||
target/ | ||
*.orig | ||
*.iml | ||
**/*.iml | ||
mopub-sdk/mopub-sdk.iml | ||
mopub-sample/mopub-sample.iml | ||
robotium-sample/robotium-sample.iml | ||
|
||
# Eclipse project files | ||
.classpath | ||
.project |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
## Version 1.13 (May 9, 2013) | ||
- Moved all Android code and documentation to its own repository: [mopub-android-sdk](https://github.com/mopub/mopub-android-sdk) | ||
- Updated Millennial support to Millennial Media SDK version 5.0 | ||
- Support for Millennial Media SDK 5.0.1 is ready and will be released when the new Milllennial SDK becomes available | ||
- Added `GoogleAdMobBanner`, `GoogleAdMobInterstitial`, `MillennialBanner`, and `MillennialInterstitial` custom event classes | ||
- Removed obsolete native network adapters | ||
- Added timeout for third-party networks (10 seconds for banners and 30 seconds for interstitials) | ||
- Added more data signals (application version, connection type, and location accuracy) | ||
|
||
## Version 1.12 (April 26, 2013) | ||
- Chartboost custom event now automatically parses server data | ||
- Added support for Millennial Media SDK 5.0 | ||
- Initial support for data signals (connectivity and carrier) | ||
|
||
## Version 1.11 (March 13, 2013) | ||
- Deprecated multiple `MoPubView` event listener interfaces in favor of a unified `MoPubView.BannerAdListener` interface | ||
- Deprecated `MoPubInterstitial` listener interface in favor of a new `MoPubInterstitial.InterstitialAdListener` interface | ||
- Added "shown" and "dismissed" listener methods to `MoPubInterstitial.InterstitialAdListener` interface | ||
- Fixed a NullPointerException in `MoPubInterstitial` for waterfalls containing multiple custom events | ||
- Fixed a NullPointerException when tracking impressions for native network SDKs | ||
- Fixed issue causing `MoPubView` to left-align HTML banners | ||
- Fixed issue causing incorrect return value for `isReady` when using `MoPubInterstitial` and custom events | ||
|
||
## Version 1.10 (February 13, 2013) | ||
- Introduced custom event classes | ||
- Improved error logging during `AdFetch` | ||
- Fixed view resource ID conflicts in `MraidDisplayController` | ||
- Fixed issue in which un-implemented custom events could disrupt the mediation waterfall | ||
- Added ability to force refresh ad units | ||
- Added testing accessors to `MoPubView` and `MoPubInterstitial` | ||
- Updated to correctly reflect MRAID capabilities in ad request | ||
- Updated to perform `HttpClient` shutdown on background thread | ||
|
||
## Version 1.9 (September 27, 2012) | ||
- Added support for the Facebook ads test program | ||
- Updated the Millennial adapters to support SDK version 4.6.0 | ||
|
||
## Version 1.8 (September 6, 2012) | ||
- Fixed a crash resulting from following market:// links when Google Play is not installed | ||
- Added in-app browser support for more Google Play redirect styles | ||
- Added exponential backoff on ad server failure | ||
- Included new ad unit IDs for sample ads in SimpleAdsDemo | ||
- Removed extraneous image files | ||
|
||
## Version 1.7 (August 2, 2012) | ||
- Added support for Millennial Media leaderboard ads | ||
|
||
## Version 1.6 (June 29, 2012) | ||
- Improved click experience by directing clicks to an in-app browser | ||
- Fixed errors loading mraid.js from disk on Android 4.0+ | ||
- Added `ThreadPoolExecutor` for AsyncTasks on Android 4.0+ | ||
- Fixed incorrect failover behavior for Custom Native Network banners | ||
|
||
## Version 1.5 (May 10, 2012) | ||
- Added support for Millennial Media SDK 4.5.5 | ||
- Fixed ANR relating to synchronization in `LoadUrlTask` | ||
- Fixed IllegalArgumentExceptions when creating HttpGet objects with malformed URLs | ||
|
||
## Version 1.4 (March 28, 2012) | ||
- Fixed some NullPointerExceptions in the AdMob and Millennial native adapters | ||
- Fixed issues in which third-party adapters might not properly fail over | ||
- Fixed a crash caused by unregistering non-existent broadcast receivers | ||
|
||
## Version 1.3 (March 14, 2012) | ||
- Fixed handling of potential SecurityExceptions from network connectivity checks | ||
- Exposed keyword APIs for interstitials | ||
- Fixed click-tracking for custom:// and other non-http intents | ||
|
||
## Version 1.2 (February 29, 2012) | ||
- Added support for custom events | ||
- Added network connectivity check before loading an ad | ||
- Added `OnAdPresentedOverlay` listener methods | ||
- Removed unnecessary permissions from the library's manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Copyright (c) 2010-2013 MoPub Inc. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
* Neither the name of MoPub nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,48 @@ | ||
mopub-android | ||
============= | ||
# MoPub Android SDK | ||
|
||
Thanks for taking a look at MoPub! We take pride in having an easy-to-use, flexible monetization solution that works across multiple platforms. | ||
|
||
Sign up for an account at [http://app.mopub.com/](http://app.mopub.com/). | ||
|
||
Help is available on the [wiki](https://github.com/mopub/mopub-android-sdk/wiki/Getting-Started). | ||
|
||
## Download | ||
|
||
The MoPub SDK is distributed as source code that you can include in your application. MoPub provides two prepackaged archives of source code: | ||
|
||
- **[MoPub Android Full SDK.zip](https://s3.amazonaws.com/mopub-android-sdk/mopub-android-full-sdk.zip)** | ||
|
||
Includes everything you need to serve HTML and MRAID MoPub advertisiments *and* built-in support for two major third party ad networks - [Google AdMob](http://www.google.com/ads/admob/) and [Millennial Media](http://www.millennialmedia.com/) - including the required third party binaries. | ||
|
||
- **[MoPub Android Base SDK.zip](https://s3.amazonaws.com/mopub-android-sdk/mopub-android-base-sdk.zip)** | ||
|
||
Includes everything you need to serve HTML and MRAID MoPub advertisements. No third party ad networks are included. | ||
|
||
## Integrate | ||
|
||
Integration instructions are available on the [wiki](https://github.com/mopub/mopub-android-sdk/wiki/Getting-Started). | ||
|
||
|
||
## New in this Version | ||
|
||
Please view the [changelog](https://github.com/mopub/mopub-android-sdk/blob/master/CHANGELOG.md) for details. | ||
|
||
|
||
## Requirements | ||
|
||
Android 1.6 and up | ||
|
||
## License | ||
|
||
The MoPub Android SDK is open sourced under the New BSD license: | ||
|
||
Copyright (c) 2010-2013 MoPub Inc. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
* Neither the name of MoPub nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTML5 AdView | ||
============ | ||
Note that this class utilizes methods that require API Level 7 (Android 2.1) or higher. When adding | ||
this file to your project, please update your project's build target accordingly. | ||
|
||
Google AdSense SDK | ||
================== | ||
Although the AdSense SDK for Android is deprecated, you can support it by doing the following: | ||
|
||
1) Copy AdSenseAdapter.java under the extras/ folder to mopub-android-sdk/src/com/mopub/mobileads | ||
2) Place the Google AdSense SDK in mopub-android-sdk/libs | ||
3) Add GoogleAdView.jar to the Java Build Path in the Properties section of mopub-android-sdk. | ||
|
||
*NOTE: At this time, Google does not allow distribution of GoogleAdView.jar so you will need to get that file from Google |
Oops, something went wrong.