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 Android Apps that Help You in Blogging

Top 5 Android Apps that Help You in Blogging Today, I added a new post which is totally based on my personal experiance. I am a student and i have a android phone.I run my blog by using this phone. From this experiance i chose top 5 android apps that help me in blogging(: Blogging is cool.But without P.C. it little bit difficult but not impossible. Here i discuss some android tool app that really help you in blogging from Mobile. First look at the top platform Apps for Blogging are-: Blogger Wordpress Tumblr Joomla etc.... Top 5 Android Appps that Help You in Blogging-: Photo Editor by dev.macgyver I created my all pictures in blog are edit with this app.I created post thumbnail with this app. I also created my own beautiful banner by using this app. We know images plays a big role to make your blog hit.So this photo editor gives you a big list of tools you may need to blogging. You build your contextual p

How to get Rs 5000 within one hour?

Hello Friends,Welcome to Tech With Us.Today i discuss a really easy way to earn Rs 5000 in one hour.Yes you read right.This money will be transferred to your bank account.You may have to wait for it. BUT 100% WORKING GUARANTEED. So what you have to do for Rs 5000? You just need to download an app and refer it to other.Yes this is you get from an app. This offer had been ended . How to do This ? So what you need to do and how this app referral system works.It is really easy.Lets Do it-: Go to PlayStore to install it Or Download Apk From Here Open the app Select language and Topics After it wait untill page loads Search for below banner.It will be on top. Click on it and it will loads a page. You may see a invitation code popup. Please enter here 2989097. Click on submit and wait untill submitting. After it click on start and Click on Collect and get 2500 signup bonus. Copy your invitations code or share via whatsapp and Facebook etc. Share more and more to reach