Skip to main content

How to use Blogger and Google drive combination to build Download sites

Blogger and Google drive both are offered by Google. One is for blogging and other for cloud storage. Both are used by millions of people. Blogger gives way to share anything you have and Google drive gives the power of securely save any file and share them with others. So if we take the combination of these two we can create any type of download site.Today you learn, how to build download sites by using these two services of Google. Before Start-: Before creating a download site, first you need to choose one purpose of your site. In other words,which users will come to your site.You need to Choose the content type and collect the required data. e.g.if you want to offer free music you need to collect the music files you want to share via your blog. Let start by creating your blogger blog.As we all know you need a Google account to use all products of google. First, create a google account if you not have one.If you already have a Google account, follow this guide to create a b

How to add Leadbolt Ads to Android

How to add Leadbolt Ads to Android

Leadbolt is award wining Ad network which offers Android app monetization. It is the company who wins the trust of millions of users (publishers and advertisers) by fulfil their need in four-five year after launch.They gives an easiest way for app developers to add ads to their apps.Leadbolt offers multiple platform and ways to monetize apps.

Why Leadbolt?

You may know that you can't use Admob by Google to monetize your app if you not have a Play Store developer account.Developer like me who does not have 25 dollars pay for Play Store Developer can't use Admob. In this manner Leadbolt is big alternative of Admob for such developer.You can earn money with Leadbolt and can publish your app to Play Store . Let us know other advantages quickly-:
Quick and Easy Setup - Setup of Leadbolt to Android apps is as easy as Admob.With 4-5 lines of code in 1-2 minutes.Any beginner developer can easily add it.
Fast Payments- One of the big cause of their success in the ad network is their honest snd fast payment system.They give payment as they mentions in the docs. This makes their network better than others.
Multiple Types of Ads - Leadbolt offers multiple types of Android apps which helps you to the right for your app.They offers native, Interstitial, direct deals, Rewarded Ads , Video Ads.
Support Multiple Platform - Leadbolt support multiple platform so it another cause of its popularity.it supports Android (Java),IOS,Corona ,Admob,Cocos2d,SDKbox,Phonegap, Titanium ,Mopub etc.
Referral System- They also offer an referral system with which you can a little by referring publishers and big by referring advertiser.
Approval Process -
Fast and easy approval process is a big advantage of the Leadbolt. There are many other features you can know only by using it.

Get's Ready

Let's get ready for the integration of Leadbolt ads to your Android App.To start first do these 4-5 steps-:

  1. Go to Leadbolt Website and Signup or login with Google.
  2. After it Go to Apps and click on Create New App as shown below
    How to add Leadbolt Ads to Android
  3. Enter App name,select it type and category and click on next.

  4. How to add Leadbolt Ads to Android
  5. Copy and note down your App Api key.Go to download sdk page by clicking on "Click Here "

  6. How to add Leadbolt Ads to Android (Above 3 img Source: Leadbolt)
  7. Download the Android sdk Unzip it.
In above steps we complete the registration and we add up our app to Leadbolt. Now open the unzipped folder and search for "AppTracker.jar" file.After finding it copy it to your project's libs folder.If there is no folder in your project create one in the "app" folder and paste the copied jar file in it. After it open you project in Android Studio and go to File->Project Structure. Click on app and select the dependencies Tab. Click on + button in right top corner of project structure dialog and select module dependency from list and click on "AppTracker.jar" file. Ater it again click the + button and select library dependency.In the list select the play services library(Without Play Services Ads Not Works) and click OK. You need to sync your project . This is only the setup. Coding integration start below.

Adding Code

We divided this section into two parts. In one we setup our manifest file for ads and in second we add some java code to our activity class file to show ads on different events.
Adding code to Android Manifest
For showing any kind of ads we need to add two network permissions which is need to app for check and use the Internet connection to show the ads. Add below code or permissions to your Android Manifest file

<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> After this we need to add the ad activity and service which are needed to show and track the ads.After last closing "activity" tag add below code.
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:name="com.apptracker.android.module.AppModuleActivity" android:hardwareAccelerated="false"/> <service android:name="com.apptracker.android.track.AppTrackerService"/> Android Manifest section completed.
Open your MainActivity.java class file or any other in which you want to add Leadbolt Ads. After the "setcontentview(R.layout.maim)" in the onCreate function or simply in OnCreate method . Add code as below
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if(savedInstanceState==null) { AppTracker.startSession(getApplicationContext(),"YOUR_APP_API_KEY",AppTracker.ENABLE_AUTO_CACHE); } AppTracker.loadModuleToCache(getApplicationContext(),"inapp"); } Relpace YOUR_APP_API_KEY with your api key which we noted above. Simply Add following code to show the ads on trigger of any event. e.g. you can show ads when user click on any button.
if(AppTracker.isAdReady("inapp")) { AppTracker.loadModule(getApplicationContext(),"inapp"); } There is a good way to show ads on back key get presses.
Showing Ads on Back key Pressed

Add below code to your activity class to show ads on back press

public void onBackPressed() { if(AppTracker.isAdReady("inapp")){AppTracker.loadModule(getApplicationContext(),"inapp"); } super.onBackPressed(); } Above code shows the interstitial test ads only. After adding code built the app and try. If you see a ads your integration is successed.

Now login to Leadbolt publisher portal and select the Apps from navigation.Click on the test mode situated below the app we added in the first steps. Select Submit for review and approval. Thats all,wait for 1-3 days. After your app is ready ass it to free stores.

Last Lines-:

You can show video ads as well as Rewarded apps,direct deal ads after the approval.You can also contact the advertisers directly. If you have any problem during above process please comment below.We tries to solve it and don't forget to Like Us

Comments

Popular posts from this blog

How to trim multiple images in Photoshop

Photoshop a great tool for photo editing.I love to use this tool.I am a beginner so sometimes i stuck in problems.Yesterday i want to trim multiple images and want to remove unwanted space.But not find a solution on internet.Suddenly i checked a forum named Stock Exchange and got a little bit instructions which is not cleared.I tried them but failed.After 3-4 times i got the success.And this post result of it. So How? To trim multiple images we use automatic batch.Automatic batch means we record the steps we done with one image and then applied to all images in a folder.It is very useful tool given by the Photoshop. Lets start-: Create a folder named "Trimed " or anything you like. Add all the images you want to trim in it. Now open the Photoshop. Go to Window->Actions It will add a small window in right of the Photoshop In the added Window Create a new folder under actions tab named it anything .(There are some small buttons in bottom of actions tab.Took your

Top 5 Website to Download Paid Android Apps Free

Android as all know most famous and used OS in the world. It has a biggest app store which is full of paid and free apps.Here we suggest you some great sites which offers paid Android Apps download absolutely free of cost.These are sites which are chosen after a long experience. All the sites have working, direct download link. Unlike any other sites,they don't confuse the user by giving multiple ad link or malware app links.These sites are easy to explore and has less or no ads compare to other. There are millions of paid apps are available on these sites which you would not get free on Android app store (Google Play Store). All the sites have direct download links with 100% working guaranteed. You can also submit your apps on these sites for free.You can also submit your Suggestions. Here is Top 5 Website to Download Paid Android Apps Free of cost HiAppHere ApkHere Android-Apk.Org Mob.org Android Paid Apks Take a look all of them,one by one- 1.Hiapphere It is a bi

Easiest way to add Facebook Like Button to your website

Facebook, world's top social network gives a new way represents the love of a user for a site by giving it Like. As the time passed population and popularity of Facebook both increases. Facebook gives us Like button. Facebook plays a big role in SEO. Facebook is big source of traffic. Also Facebook pages are high ranked in Google Search. So it is very important to have a website fan page. More likes your page get more popular your site become and more people get engaged to your site. For any site the method to promote his facebook page is own site.So how to add the Facebook like button and where should be placed it? Easiest Way to Add Facebook Like button to any website- As we go to facebook developer and create a like button we get two ways to integrate it to our site. One is js sdk and other is iframe. In this tutorial i taught you the iframe method. Why Iframe? Ifame actually a html tag which is used to add other web pages to our site in a form of container. Actually i