-
Notifications
You must be signed in to change notification settings - Fork 90
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
0 parents
commit 033d5f5
Showing
17 changed files
with
1,132 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry exported="true" kind="lib" path="libs/sdk.jar"> | ||
<attributes> | ||
<attribute name="javadoc_location" value="http://code.google.com/apis/ima/docs/sdks/androidjavadoc/"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
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,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Demo App V3</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.google.ads.interactivemedia.v3.samples.demoapp" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<uses-sdk android:minSdkVersion="7" /> | ||
<uses-permission android:name="android.permission.INTERNET"></uses-permission> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission> | ||
|
||
<application android:icon="@drawable/icon_v3" android:label="@string/app_name"> | ||
<activity android:name=".DroidDemoActivity" | ||
android:configChanges="orientation" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
</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,8 @@ | ||
Copyright 2013 Google Inc. All Rights Reserved. | ||
You may study, modify, and use this example for any purpose. | ||
Note that this example is provided "as is", WITHOUT WARRANTY | ||
of any kind either expressed or implied. | ||
|
||
This repo includes samples for the Android IMA SDK. For more information, see | ||
the documentation at | ||
https://developers.google.com/interactive-media-ads/docs/sdks/android/v3/. |
Binary file not shown.
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,11 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system use, | ||
# "ant.properties", and override values to adapt the script to your | ||
# project structure. | ||
|
||
# Project target. | ||
target=android-13 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,87 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:baselineAligned="false" | ||
android:orientation="horizontal" > | ||
|
||
<LinearLayout | ||
android:id="@+id/leftLayout" | ||
android:layout_width="wrap_content" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1" | ||
android:orientation="vertical" > | ||
|
||
<FrameLayout android:id="@+id/videoHolder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_gravity="top" /> | ||
|
||
<FrameLayout | ||
android:id="@+id/companionFrame" | ||
android:layout_width="300dp" | ||
android:layout_height="50dp" | ||
android:layout_gravity="bottom" > | ||
|
||
<TextView | ||
android:id="@+id/companionPlaceholder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/companionPlaceholder" | ||
android:textSize="25dp" /> | ||
|
||
</FrameLayout> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/rightLayout" | ||
android:layout_width="200dp" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="0.1" | ||
android:orientation="vertical" > | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Button | ||
android:id="@+id/requestAd" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/request_ad" /> | ||
|
||
<Button | ||
android:id="@+id/language" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/language" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/buttonLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Spinner | ||
android:id="@+id/tagSpinner" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
</LinearLayout> | ||
|
||
<ScrollView | ||
android:id="@+id/scroll" | ||
android:layout_width="wrap_content" | ||
android:layout_height="fill_parent" > | ||
|
||
<TextView | ||
android:id="@+id/log" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" > | ||
</TextView> | ||
</ScrollView> | ||
</LinearLayout> | ||
|
||
</LinearLayout> |
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,98 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:baselineAligned="false" | ||
android:orientation="horizontal" > | ||
|
||
<LinearLayout | ||
android:id="@+id/leftLayout" | ||
android:layout_width="wrap_content" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1" | ||
android:orientation="vertical" > | ||
|
||
<FrameLayout android:id="@+id/videoHolder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="180dp" | ||
android:layout_weight="1" /> | ||
<FrameLayout | ||
android:id="@+id/companionFrame" | ||
android:layout_width="300dp" | ||
android:layout_height="50dp" | ||
android:layout_gravity="bottom" > | ||
|
||
<TextView | ||
android:id="@+id/companionPlaceholder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/companionPlaceholder" | ||
android:textSize="25dp" /> | ||
</FrameLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/leaderboardCompanionFrame" | ||
android:layout_width="728dp" | ||
android:layout_height="90dp" > | ||
|
||
<TextView | ||
android:id="@+id/leaderboardCompanionPlaceholder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/leaderboardCompanionPlaceholder" | ||
android:textSize="25dp" /> | ||
</FrameLayout> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/rightLayout" | ||
android:layout_width="200dp" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="0.1" | ||
android:orientation="vertical" > | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Button | ||
android:id="@+id/requestAd" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/request_ad" /> | ||
|
||
<Button | ||
android:id="@+id/language" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/language" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/buttonLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Spinner | ||
android:id="@+id/tagSpinner" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
</LinearLayout> | ||
|
||
<ScrollView | ||
android:id="@+id/scroll" | ||
android:layout_width="wrap_content" | ||
android:layout_height="fill_parent" > | ||
|
||
<TextView | ||
android:id="@+id/log" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" > | ||
</TextView> | ||
</ScrollView> | ||
</LinearLayout> | ||
|
||
</LinearLayout> |
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,88 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
|
||
<FrameLayout android:id="@+id/videoHolder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="180dp" | ||
android:layout_weight="1" /> | ||
<LinearLayout | ||
android:id="@+id/spacer" | ||
android:layout_width="fill_parent" | ||
android:layout_height="10dp" | ||
android:orientation="vertical" > | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Button | ||
android:id="@+id/requestAd" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/request_ad" /> | ||
|
||
<Button | ||
android:id="@+id/language" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/language" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/buttonLayout" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<Spinner | ||
android:id="@+id/tagSpinner" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
</LinearLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/companionFrame" | ||
android:layout_width="300dp" | ||
android:layout_height="50dp" > | ||
|
||
<TextView | ||
android:id="@+id/companionPlaceholder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/companionPlaceholder" | ||
android:textSize="25dp" /> | ||
</FrameLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/leaderboardCompanionFrame" | ||
android:layout_width="728dp" | ||
android:layout_height="90dp" > | ||
|
||
<TextView | ||
android:id="@+id/leaderboardCompanionPlaceholder" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/leaderboardCompanionPlaceholder" | ||
android:textSize="25dp" /> | ||
</FrameLayout> | ||
|
||
<ScrollView | ||
android:id="@+id/scroll" | ||
android:layout_width="fill_parent" | ||
android:layout_height="200dp" | ||
android:layout_weight=".1" > | ||
|
||
<TextView | ||
android:id="@+id/log" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" > | ||
</TextView> | ||
</ScrollView> | ||
|
||
</LinearLayout> |
Oops, something went wrong.