Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:15:06+00:00 2026-06-11T14:15:06+00:00

can anyone provide me a sample for integrating adwhril into android.I tried this sample

  • 0

can anyone provide me a sample for integrating adwhril into android.I tried this sample

http://paste2.org/p/2168910

I used the same code as that one replacing the sdk key of mine But i am getting warnings saying

enter image description here

Can anyone suggest me

updated the code as suggested and got this warning

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:15:08+00:00Added an answer on June 11, 2026 at 2:15 pm

    Yea, i have also faced this problem and solved in this way

    Add those if you didn’t already added in your menifest

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    

    In your activity where you want to show the add

    <meta-data android:value="---- Your Key ----"
                android:name="ADWHIRL_KEY"/>
    

    Now add all the jar of the add provider you used, in your ad-whirl network. Add them to your app’s libs folder and then add them to build path by right clicking on them from libs.

    For example if you use Admob then add admob’s jar to libs and add it to build path. And then add this line to menifest as this is needed to show add from admob individually or by using adwhirl

    <activity android:name="com.google.ads.AdActivity"
                android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" >
            </activity>
    

    Now you will see the adds of admob.

    Thank you

    Ps: i have added the full code with image

    Menifest

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.example.expadwhirl"
        android:versionCode="1"
        android:versionName="1.0" >
    
        <uses-sdk
            android:minSdkVersion="8"
            android:targetSdkVersion="15" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
        <application
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" >
            <activity
                android:name=".MainActivity"
                android:label="@string/title_activity_main" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
    
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
                <meta-data android:value="2f120f401e9a40d0afa55557d3a3a58c"
                    android:name="ADWHIRL_KEY"/>
            </activity>
    
            <activity android:name="com.google.ads.AdActivity"
                android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" >
            </activity>
        </application>
    
    </manifest>
    

    Layout

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >
    
        <com.adwhirl.AdWhirlLayout
            android:id="@+id/adwrl"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            />
    
    </RelativeLayout>
    

    Activity

    import android.app.Activity;
    import android.os.Bundle;
    
    import com.adwhirl.AdWhirlLayout;
    import com.adwhirl.AdWhirlLayout.AdWhirlInterface;
    
    public class MainActivity extends Activity implements AdWhirlInterface {
    
        AdWhirlLayout adwrl;
    
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
        }
    
        @Override
        public void adWhirlGeneric() {
            // TODO Auto-generated method stub
        }
    }
    

    Overall project

    Libs And Referenced Library

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone provide a working sample code to convert following Oracle DB table with
Can anyone provide any sample code/instructions for implementing draggable pins in OS 4.0 using
Can anyone please provide me a sample build file demostrating the use of the
Can anyone provide sample pseudocode or share some existing link that has sample code.
Can anyone provide sample integration or please let me know any 3rd party api
Can anyone provide a clear example of how to remove a supercolumn in Java
Can anyone provide some links to good information on setting up Silverlight 2.0 to
Can anyone provide me with a hello world example for a major mode in
Can anyone provide me an example of how to use WM_CLOSE to close a
Can anyone provide details on what the three of these mean? System::ContainerStartTime System::CreationDate System::StartTime

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.