Skip to main content

Installing the AdMob 6 library into Android project

STEP 1: Download the AdMob SDK currently SDK 6.1.0 at https://developers.google.com/mobile-ads-sdk/download#downloadandroid

make money from your android appFig. 1

Extract the zip file downloaded and you will get a file named GoogleAdMobAdsSdk-6.1.0.jar.

make money from your android appFig. 2

ANd copy this JAR file into the Android project file. If you’re using Eclipse, it suppose to be in the Workspace.

STEP 2: Add an External JAR (library) in the project.

In your Android project create another directory called libs in your project. Notice the name, it will be used later as the path to you additional XML scheme in the apps view. (more on creating a new Android project in Eclipse –> http://blog.kerul.net/2011/06/creating-new-android-project-in-eclipse.html)

Copy GoogleAdMobAdsSdk-6.1.0.jar into libs

Create the new folder libs by right-click on your project->New->Folder. Copy the GoogleAdMobAdsSdk-6.1.0.jar into the libs folder.

Adding an additional library

Click on the project you’re currently working, hit Project->Properties on the Eclipse menu. Click on the Java build path as in the Fig 3, and hit Add External JARs button.

adding admob on android appFig. 3

Locate the GoogleAdMobAdsSdk-6.1.0.jar file in the workspace/project/libs .

adding admob on android appFig. 4

And you’ll see the GoogleAdMobAdsSdk-6.1.0.jar in the libs folder, as in Fig 5.

imageFig 5

Comments

Popular posts from this blog

Several English proverbs and the Malay pair

Or you could download here for the Malay proverbs app – https://play.google.com/store/apps/details?id=net.kerul.peribahasa English proverbs and the Malay pair Corpus Reference: Amir Muslim, 2009. Peribahasa dan ungkapan Inggeris-Melayu. DBP, Kuala Lumpur http://books.google.com.my/books/about/Peribahasa_dan_ungkapan_Inggeris_Melayu.html?id=bgwwQwAACAAJ CTRL+F to search Proverbs in English Definition in English Similar Malay Proverbs Definition in Malay 1 Where there is a country, there are people. A country must have people. Ada air adalah ikan. Ada negeri adalah rakyatnya. 2 Dry bread at home is better than roast meat home's the best hujan emas di negeri orang,hujan batu di negeri sendiri Betapa baik pun tempat orang, baik lagi tempat sendiri. 3 There's no accounting for tastes We can't assume that every people have a same feel Kepala sama hitam hati lain-lain. Dalam kehidupan ini, setiap insan berbeza cara, kesukaan, perangai, tabia...

Simple search – result appears in the same page

This PHP code is a simple search example. It needs the user to enter a name and the PHP script will to the searching by the name provided by the user in the text box. <form name='search' method='get' action=''> Insert the firstname <input type='text' name='txtname'> <input type='submit' value='search name'> </form> <?php //database connect $db=mysqli_connect("localhost","root","","mycompanyhr"); //checking database connection if ($db==false) { echo "Connect failed: ". mysqli_connect_error($db); exit(); } else { echo "Connection successful"; } $n=$_GET['txtname']; $sql="select EMPNO, FIRSTNAME, LASTNAME, WORKDEPT, PHONENO from employee where FIRSTNAME like '%$n%' "; $rs=mysqli_query($db,$sql); if($rs==false){ echo ("Query cannot be executed!<br>"); echo ("SQL Error : ".mysqli_error($db)); } else...

WebDev

http://blog.kerul.net PHP DEVELOPMENT TOOLS Download the XAMPP latest version from www.apachefriends.org . This installation file contains the Apache web server, PHP 5 and 4 interpreter, and the MySQL 5 Community edition. - download latest version MozillaFireFox (OpenSource web browser firefox) – download latest version Google Chrome – fastest web browser on earcth – fast download chrome here TEACHING PLAN Download the teaching plan here for Web/Internet Programming ( download ) NOTES HTML references HTML Editor -  http://www.sublimetext.com/ Lab 1: HTML Basics -  http://www.w3schools.com/html/ Lab 2: Responsive Design:  http://www.w3schools.com/html/html_responsive.asp Lab 3: HTML Forms  http://www.w3schools.com/html/html_forms.asp Lab 4: HTML 5  http://www.w3schools.com/html/html5_intro.asp Lab 5: Bootstrap for responsive Web -  http...

Filter setting in new AdMob panel

The new AdMob interface was launched last week (I was invited on early May 2014). The transition was smooth however from my experience I lost all my account balance in the old interface. One thing I do not like with the new apps is, it do not want to support PayPal payment. (Update – later I found out that the new AdMob facility provide direct wired-transfer to you favorite local banks. Just provide your account number and bank SWIFT-BIC and wait till your balance achieve the threshold value. This is normally a three day compared to two weeks PayPal transfer.You can change this in the Account > Payments > Payment Settings )  I have not figured out how to channel my commission payment to my local bank account. The thing I’d like to elaborate is the ads filtering panel. After you have logged-in to the new system (at https://apps.admob.com/ ), find the Account panel on the top-right of the page. Inside the Account panel, click on the Legacy AdMob data menu . Then choose the ...

Submit your blog address here

Create your own blog and send the address by submitting the comment of this article. Make sure to provide your full name, matrix and URL address of your blog. Refer to the picture below. Manual on developing a blog using blogger.com and AdSense, download here … Download Windows Live Writer (a superb offline blog post editor)