[Tutorial] Create Android Application For Your Website/Blog In Android Studio

Do you want to convert your Website/ Blog into Android Application?
Are you a Beginner to Android Application Development?
If above question's answer is yes then go through this article because this article is just for the beginners.

So let's start how you can create your First Android Application in Android Studio.


  • First of all, Start a new Project.
android application in android studio
  • Now Enter your Application Name, Domain Name and click on Next.
Android Studio 2
  • Then choose platform Phone & Tablet as you going to make Android Application for Mobile.
android activity platform
  • Now select any one of the Activity.(Here I'm choosing Google AdMob Ads Activity) and click on Finish.
android studio admob activity

  • On the next step, you will get two files MainActivity.java and activity_main.xml
  • In the activity_main.xml file, go to Design tab and delete "Hello World".
  • Now select Containers and Drag & Drop the WebView to your application.
  • Then Go to text tab of activity_main.xml and add this one line inside WebView.

android:id="@+id/activity_main_webview"

  • after adding the code will be like

<WebView
android:id="@+id/activity_main_webview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true"
android:layout_above="@+id/adView" />

  • Now you need to add some lines of code to your MainActivity.java file.Go to MainActivity.java and add the below codes  after setContentView(R.layout.activity_main); this line.

myWebView = (WebView) findViewById(R.id.activity_main_webview);
WebViewClient webViewClient = new WebViewClient();
myWebView.setWebViewClient(webViewClient);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
myWebView.loadUrl("http://www.trickscloud.net");

  • Now add these lines to the above of MainActivity.java file.

import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

  •  Then add one more line below public class MainActivity extends AppCompatActivity this line.

private WebView myWebView;

  • The complete MainActivity.java code...

package net.trickscloud.trickscloud;

import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Toast;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends AppCompatActivity {
    private WebView myWebView;
    @Override    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        myWebView = (WebView) findViewById(R.id.activity_main_webview);
        WebViewClient webViewClient = new WebViewClient();
        myWebView.setWebViewClient(webViewClient);
        WebSettings webSettings = myWebView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        myWebView.loadUrl("http://www.trickscloud.net");
        // Load an ad into the AdMob banner view.        AdView adView = (AdView) findViewById(R.id.adView);
        AdRequest adRequest = new AdRequest.Builder()
                .setRequestAgent("android_studio:ad_template").build();
        adView.loadAd(adRequest);
    }


    @Override    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;
    }

    @Override    public boolean onOptionsItemSelected(MenuItem item) {
       int id = item.getItemId();

        if (id == R.id.action_settings) {
            return true;
        }

        return super.onOptionsItemSelected(item);
    }

}

  • Now just you need to give internet permission to your Application.Go to AndroidManifest.xml and paste this one line...

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

  • If you want to add your AdMob Ad Unit in your App then in activity_main.xml file enter your Ad Unit Id...

ads:adUnitId="ca-app-pub-3940256099942544/6300978111" />
Congratulation!You have completed building your First Application in Android Studio.

If you have any queries related to this tutorial then you can comment below....
I hope you like this tutorial on building your first android application for your website.If so, then share this tutorial using sharing buttons below....

How To Enable HTTPS/Install SSL On BlogSpot Blog With Custom Domain

Do you want to Enable HTTPS on your Blogger Blog?
Don't worry...This tutorial is only for you....
As you know now Blogspot is giving free SSL for the blogs with blogspot.com subdomain.If you're using custom domain on Blogger then it doesn't allow you to Enable HTTPS on your blog.But here I have found a tricky method to Enable HTTPS on your Blog.So in 15 minutes, you will be able to see your blog live on HTTPS Connection.

Let's start...
Enable HTTPS/Install SSL On BlogSpot Blog

How to Enable HTTPS On Blogger Blog With Custom Domain:

To enable HTTPS on our blogger blog we are going to use CloudFlare CDN(Content Delivery Network).


Enter YOUR Domain

  • Enter your domain name and click on Scan DND Records.
  • After the scanning process, click on Continue, then you will get two Nameservers.
Nameservers


  • Now login to your domain registrar Account and change DNS to Nameservers given by CloudFlare.Now you may log out from your domain registrar account.



  • Again, go to your CloudFlare account.You will see several tabs for managing your blog on CloudFlare.
  • Click on Crypto tab as shown in the below image.

Crypto Cloudflare


  • Then select Flexible in SSL section.You have successfully enabled HTTPS on your blog but now you need to redirect all your Domain, Sub-domains, and URLs from HTTP to HTTPS.



  • So now move to Page Rules tab and here you need to add 3-page rules as shown in the below Images.(Maintain the order of adding page rules).

Page Rule 1

Page Rule 2

Page Rule 3


  • Now move to Firewall tab and select Security Level Low. You have completed your work in CloudFlare.



  • Now you need to make some changes in your blog template.So just go to your blog HTML Editor section and Find </head>

Add below codes just before the </head> tag.
<script>
$(document).ready(function()
{           $("a").each(function()
{             var i = $(this).attr("href"); 
 var n = i.replace(http://www.trickscloud.net, "https://www.trickscloud.net");
$(this).attr("href", function() {               return n             })           })         });
</script>

  • Now Find

<b:include data='blog' name='all-head-content'/>

  • and replace it with below code

<link href='https://www.trickscloud.net/favicon.ico' rel='icon' type='image/x-icon'/>
<meta content='blogger' name='generator'/>
<link href='https://www.trickscloud.net/feeds/posts/default' rel='alternate' title='BLOGTITLE - Atom' type='application/atom+xml'/>
<link href='https://www.trickscloud.net/feeds/posts/default?alt=rss' rel='alternate' title='TITLE - RSS' type='application/rss+xml'/>
<link href='https://www.blogger.com/feeds/BLOGID/posts/default' rel='service.post' title='TITLE - Atom' type='application/atom+xml'/>
<!--[if IE]><script type="text/javascript" src="https://www.blogger.com/static/v1/jsbin/2591933621-ieretrofit.js"></script>
<![endif]-->
<meta expr:content='data:blog.url' name='og:url:domain'/>
<!--[if IE]> <script> (function() { var html5 = ("abbr,article,aside,audio,canvas,datalist,details," + "figure,footer,header,hgroup,mark,menu,meter,nav,output," + "progress,section,time,video").split(','); for (var i = 0; i < html5.length; i++) { document.createElement(html5[i]); } try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} })();</script> <![endif]-->

  • Now Save your blog template.


An Important step left now....you need to fix mixed content errors.

Maybe some Javascript file or CSS files included in your template is uploaded over an HTTP connection.

So find all URLs start with http:// and change those URLs to https://
Before changing, check the file is available over HTTPS or not.(Just add https:// instead of http:// and enter into your browser address bar).

If the file is not available over HTTPS then upload it to any free file hosting websites and get the HTTPS URL.

Important Things to do After Enabling HTTPS:

Change Robots.txt File:


  • Change URL in Robots.txt file.If your sitemap in robots.txt is http://www.trickscloud.net/sitemap.xml
  • Then just change it to https://www.trickscloud.net/sitemap.xml

Add a New Property in Google Webmaster tool:


  • In GWT add a new property with HTTPS version your blog then add a new Sitemap.XML file from Sitemap section in Google Webmaster Tool.


Now you have done all your work and now your blog is ready with HTTPS.So I hope you like this tutorial.If so, then share it using share buttons below....and if you have any queries related to this post then comment below...

How To Change IMEI Number of iPhone

Are you searching for a way to change IMEI number of your iPhone? If yes, then here is the step by step guide to change IMEI number of your iOS device with IMEI changer tool.

Every mobile phone, GSM modem or device with a built-in phone has a unique 15 digit IMEI number. Based on this number, recognizes that network on the cellular network and this identity is by default set by the maker of that device.You can check your mobile IMEI number by dialling *#06# on your phone.

You can't change your iPhone IMEI permanently, using this method you can change IMEI on a temporary basis.

You can use this trick to enjoy some benefit from free recharge apps or you can use one coupon code or promo code multiple times on your device.

So let's begin....

Change IMEI Number of iPhone

How To Change IMEI Number of iPhone

Points to Remember:

Changing IMEI will void your iPhone warranty.
This IMEI changing method works only on Jailbreak iPhone.

Step 1: First of all download the PC tool Ziphone which will let you change your iPhone IMEI and extract it.

Step 2: Now start your iPhone in recovery mode.(Press the Sleep/Wake and Power button and hold till the Apple logo is visible).In recovery mode Connect your phone with a cable to PC.
Change IMEI Number of iPhone

Step 3: Open the folder where you extracted the Ziphone and press Shift+Right Click then click on Open command window here.

Step 4: Now type Ziphone and press Enter.
Change IMEI Number of iPhone

Step 5: Enter ziphone -u -i a123456789012345(Replace 123456789012345 with your desired IMEI of your choice).
Change IMEI Number of iPhone

Step 6: Now your device will reboot within 2-3 minutes.You have successfully changed IMEI of your iPhone.After reboot, you can check your device IMEI by dialling *#06#.

I hope you like this easy method of changing IMEI of iPhone.If so then share it using share buttons below...

How to Minify CSS and JavaScript in Blogger to Speed Up Your Blog

Minify CSS and JavaScript in your BlogSpot Blog to Speed Up Your Blog.It increases page load speed of your blogger blog.This guide will help you to learn almost everything about minifying CSS and javascript in your blogger blog.You can increase the page load speed by minifying CSS and javascript in your blogger template.
In WordPress blogging platform they provide so many free plugins to use.For minifying CSS and javascript, they have W3 Total Cache and Better Wordpress Minify these two plugins are very good if you are a WordPress lover then you can use any one of these two plugins.I have tested Better Wordpress Minify result is good.Blogger a is free blogging platform and it is easy to use for a new blogger.On the other side WordPress is the powerful blogging platform but configuring a blog on WordPress platform is hard for a new blogger and it gives you free blog with WordPress ads as their credit.You need to buy a hosting plan for WordPress but blogger provides us free.Now I also using blogger platform.In blogger, you can minify CSS and javascript Manually.
This guide will help you to complete minification of CSS and JavaScript in Blogger template so let's begin......................





What is Minifying CSS and JavaScript?


As the name suggests, Minifying is the process to reduce the size of a web page by reducing CSS, JavaScript and HTML content from a website.It reduces the number of requests.It combines two or more CSS and JavaScript file to one file.

Actually, this removes following parts from a CSS or JavaScript code.

White spaces, new line characters, comments and any other unwanted codes.

This CSS example will help to understand clearly about minification
Before Minify

.site-innernbt,
.wrapnbt {
margin: 0 auto;
max-width: 1140px;
}

.site-innernbt {
clear: both;
padding-top: 40px;
padding-top: 4rem;
    padding-bottom: 40px;
    padding-bottom: 4rem;
}

After Minify
.site-innernbt,.wrapnbt{margin:0 auto;max-width:1140px}.site-innernbt{clear:both;padding-top:40px;padding-top:4rem;padding-bottom:40px;padding-bottom:4rem}



Importance of Minification:

The only one reason for minifying is to speed up your web page load speed by reducing the CSS and JS file size of your web page.Google also recommend us to minify CSS and JS for higher search engine ranking and this also helps to give a good experience to the user.Minification is the big part of SEO.

So let's enter into the process of minification........
There are so many online tools available to minify CSS and Javascript.

Best Online Tools to Minify CSS-
http://csscompressor.net
www.cssminifier.com
Best Online Tools to Minify JavaScript-
www.jscompress.com
www.javascript-minifier.com

Now I will introduce you to an online tool by this you can minify CSS and JavaScript Both.

www.minifier.org

How To Minify CSS and JavaScript from Blogger Template:

First login to your blogger dashboard then click on Template>>Edit HTML


If you want to  Minify CSS then go to header section and Find <b:skin> by pressing Ctrl+F.

Now scroll down you will find CSS codes copy those codes.As shown in  example below



If you want to Minify JavaScript then Find <script> by pressing Ctrl+F.Copy JS codes available between Open and close script tags   <script>JS codes</script>  


Now open www.minifier.org then paste CSS/JavaScript Code in the box.

Now click on MINIFY
You will get minified version of CSS/JS codes.Copy minified code and paste it from where you copied from blogger template.


Then Click On Save template.


Now check your page speed on google page speed insight.You will get a better result.

I hope this tutorial will help you to speed up your blogger blog......
Let me know which method you use to speed up your blogger blog put your comment in comment box......and please share this post using the share button below...........

How To Download and Install Android 8.0 Oreo On Your SmartPhone

Google recently announced the latest version name of Android OS is Android 8.0 Oreo.Now Android users are excited to get Android 8.0 Oreo Update maybe you're also one of them.

Android updates usually go through a long process, because of carrier testing the OS before releasing it.But you want to update now? Yes, there is a way to get the update now follow the below steps to get Android 8.0 Update right now.
Google Pixel and Nexus devices will get the update first.The list of compatible devices includes Google Pixel, Pixel XL, Pixel C  tablet, the Nexus 5X, the Nexus 6P and the Nexus Player.

How To Get Android 8.0 Oreo Update Now?

Step 1: First of all head over to the Android Beta Program Page and sign in your google account.

Step 2: Once Signed In, Now you need to check if your device supports Android 8.0 by clicking "Enroll Device".

Step 3: Now accept Terms & Conditions.

Step 4: Once done, an update will be available on your device.It might take 24 hours to get an update notification on your device.

Step 5: After getting the update notification just download and install the Android 8.0 Oreo Update.


This Android 8.0 Oreo is a Beta Version, it might have bugs So it will be better if you backup your device before installing the Update.

Manufacturers such as LG, HTC, Samsung, and Motorola, among others, will also be updating their supported smartphones with Android 8.0 Oreo. However, as OEMs usually have their own customizations and UIs, it may take a few months before the update is rolled out.

Have you updated your phone to Android 8.0 Oreo.If so, comment below about your experience...

TubeBuddy: The Best Tool To Grow Your YouTube Channel

TubeBuddy

Are you a YouTuber or want to start a new YouTube channel? If yes, then this post might be helpful for you.Here in this post, I am with a YouTube channel management tool.This tool will help you to grow and optimize your YouTube channel.

YouTubers are struggling to get more views and Subscribers on their videos but they are not getting.Maybe you are also one of them....Are You??

The reason is simple for this....
Because they are not doing keyword research and optimization of video Title, Tags & Description.And only these things matter in YouTube Video SEO.

You can get a huge number of views and subscribers by doing some keyword research and optimizing video Title, Tags & Description.To do all these things and to make videos it takes lots of time.But you can do all these things easily and quickly with TubeBuddy.So you can save your time by TubeBuddy and focus more on making your videos better.

TubeBuddy has lots of more features that will make your work easy.And the best part of this tool is that all its features are embedded inside your YouTube interface only, no need to switch to any other external tool or software.


This tool has premium version also with lots of more features but you can start with TubeBuddy free version.

TubeBuddy Features:


This is the only one top tool available for every YouTubers that can do some of your work automatically so that you can save your time.So here are some of its features....


  • Tag Explorer - You can find log-tail search terms and Trending Tags for your Videos.
  • Thumbnail Generator - Make best Thumbnail from your Videos.
  • Publish on Facebook - It can publish your YouTube Videos automatically on Facebook.
  • Description Promotion(Vid2Vid Promotion) - You can promote your new videos in the description of your existing videos.
  • Copy Video Tags - You can copy tags from any videos which are already ranked.
  • Best Time to Publish - Get the best time for publishing your videos according to your audience activity.
TubeBuddy has lots of more features you can read it here.

How To Install TubeBuddy Extention

This extension is available for Chrome and Firefox browser.Here I am showing TubeBuddy installation on chrome.If you are using Firefox then also you can follow this installation process.



Then Click On ADD TO CHROME Button.
TubeBuddy-Add-to-Chrome


After Downloading the extension you need to click on Add Extention.
TubeBuddy-Add-Extention


Now you will see TubeBuddy icon on the top right corner of your browser.
Install-TubeBuddy


Your TubeBuddy installation is done now you have to add your YouTube Channel.

To add your channel to TubeBuddy just go to My Account and click on Add Channel.
Add-Channel-to-TubeBuddy



After adding your channel go to YouTube and you will find a new drop-down panel with lots of new features embedded on your YouTube channel.

Install-TubeBuddy

The main part of YouTube video SEO is the use of proper Tags in your video and the best way to find proper Tags for your video is Tag Explorer inside your TubeBuddy tool.

Here is how to find Tags for your YouTube Video using Tag Explorer...

Open youtube and just click on TubeBuddy icon.Now you have to select Tag Explorer.

TubeBuddy-Tag-Explorer
Enter one keyword of your video topic and rest of work TubeBuddy will do automatically.You will get related Tags for your video.But in the TubeBuddy free version, you will have limited access to all of its features.In Tag Explore also you have limited access.You can see the above image 
Note: Only 3 of 9 total results are shown if you Upgrade your License, You can view all results.

For now, TubeBuddy has three different premium plans.You can upgrade if you want to access some important features.(You Can Use Our 20% Discount Coupon Code Given Below)
Here are the premium plans of TubeBuddy...
TubeBuddy-Premium-Plans
20% Discount Coupon: TricksCloud

If you're just a starter you can use its free version....
Final Words:
TubeBuddy is the best tool for a YouTuber.It has lots of powerful features.The best part of this tool is it is embedded inside your youtube interface only.So save your time with TubeBuddy and make your channel more successful.
If you like this review you can share it with your friends using share buttons below and comment below if you're facing any problem with TubeBuddy.

How To Hide Files & Folders Inside Calculator On Android

How To Hide Files & Folders Inside Calculator On Android

We all have some secret Images, Videos, Documents on our Android smartphone that we don't want to show everyone.There are so many methods to hide important files on android but this method is something different.This method is different because we are going to hide files inside a calculator.Yes, Calculator!We are going to use a calculator called "Smart Hide Calculator".You can hide images, videos, and personal documents inside this calculator.You can easily access your hidden files, you just need to enter your password and then press "=" button to access your hidden files.I am sure you will like it.So let's start.....
Hide-Files-Folders-Inside-Calculator

How To Hide Your Private Files Inside Calculator App On Android Smartphone

Step 2: Now Open Smart Hide Calculator and set a new password.Remember this password because this password will let you unlock your hidden files.
Hide-Files-Folders-Inside-Calculator

Step 3: After completing password setup you will see a fully functional calculator on the screen.
Hide-Files-Folders-Inside-Calculator
Step 4: Now just enter password and press "=" to Hide/Unhide files.
Step 5: After entering your password you will see Hide Files and Unhide Files option.
Hide-Files-Folders-Inside-Calculator

Step 6: Now select Hide Files option and then select the Folder or Individual files you want to hide.
Hide-Files-Folders-Inside-Calculator

Step 7: Press OK.Now you have hidden your files inside calculator.
Now if you want to Unhide Files then repeat Step 4 and select Unhide Files option.

Smart Hide Calculator Password Reset
If you forget your password then your can reset your password using this password 123456789+987654321.


I think this the best method to hide your personal files because everyone doesn't know this process.So hide your personal files inside android calculator.

If you liked this post then Subscribe to our weekly newsletter to stay updated with us.

How to Create a Social Content Locker in Blogger Blog

Do you want to increase your social media subscribers? If yes then social content locker might be useful for you.But the problem is there is no plugin in blogger like WordPress.So we need to add Social Content Locker manually by adding some code to blogger template.Let's start.....

Social-Content-Locker-Blogger-Blog

What is Social Content Locker?

Social content locker allows you lock some part of your blog content.That part will not be visible until a user clicks on the social locker button(Facebook Like, Tweet, Google+).

When a user clicks on those buttons you will get more tweet, shares, facebook like etc that gives you huge exposure.

We all have added a social share widget to share our post but we not get enough Likes, Shares ...because there is no valuable reason to share your post.

But after adding this widget you will get a good number of shares, likes etc...
So now without wasting your time I am going to introduce you with Social content Locker Widget.

Here is the way to Add Social Content Locker in Blogger blog.

How To Add Social Content Locker On Blogger:

Step 1: First, Open Theme section in your blog.
Social-Content-Locker-Blogger-Blog

Step 2: Now click on Edit HTML and find </head> in your template(Press Ctrl+F to search).After searching </head> place the below code before </head>.


<script src=’http://code.jquery.com/jquery-1.10.2.min.js’ type=’text/javascript’/>


Step 3: Now place the below code above </head>
Social-Content-Locker-Blogger-Blog


<link href=’https://www.dropbox.com/s/6qd3m0lkch2oirl/MyBloggerGuides-Social-Locker.css?dl=1’ rel=’stylesheet’/>
<script src=’https://www.dropbox.com/s/rtbr4bakvd7xjuy/MyBloggerGuides-Social-Locker.js?dl=1’ type=’text/javascript’/>
<script type=’text/javascript’>
//<![CDATA[
jQuery(document).ready(function ($) {
$(‘#default-usage .to-lock’).sociallocker({

buttons: {order:[“facebook-like“,”twitter-tweet“,”google-plus“]},

twitter: {url:”http://twitter.com/TricksCloud“},
facebook: {url:”https://www.facebook.com/Iamsaifuddinsk“},
google: {url:”https://plus.google.com/109967908100828887767“},

text: {
header: “Like us To Unlock This Content“,
message: “This content is locked. Like us on Facebook, Twitter or Google plus to unlock it.”
},

locker: {close: false, timer: 0,},

theme: “secrets”

});
});
//]]>
</script>


Step 4: Replace below links with your own links-

http://twitter.com/TricksCloud
https://www.facebook.com/Iamsaifuddinsk
https://plus.google.com/109967908100828887767

Step 5: Now you have completed setup process.To lock your blog post content just add below given code in your HTML blog post editor.

<article class=”socialLocker”>
<div class=”to-lock” style=”display:none;”>
ADD YOUR CONTENT HERE
</div>
 </article>


Step 6: Now replace ADD YOUR CONTENT HERE with your post content.
You have done your work now publish your article.From now if your reader want to see hidden content they need to like or share your post.

I hope this post will help you to gain some social subscribers and if you face any difficulties to add social content locker to your blog post then drop a comment in comment box.....
So now share this article....