Showing posts with label Android Tips n Hacks. Show all posts
Showing posts with label Android Tips n Hacks. Show all posts

Sunday, 8 June 2014

How To Block Ads In Android Apps, Games And Browsers

Ads are a necessary evil. Many websites and applications are providing you with free service, free content and free software because someone else is paying them to keep them up. Thus, the service provider has to serve ads to you in return for the income that is keeping them in business, and in development. As the user, you reap the benefit of using the product for free.


However, sometimes the ad placements can be really annoying, contributing to not-so-appealing user experience. In this post we will look at methods to block ads from showing up on Android. You can block ads from appearing in apps and games, or only on browsers.

The methods here may work for both rooted and non-rooted devices. It will be specified for each method. Before we begin, you need a File Manager, e.g. Astro File Manager. Any other file manager will work fine.

Disclaimer: Attempt ad-blocking at your own risk. We cannot be held responsible for any effects on your device resulting from these methods.


1. Adblock Plus (ABP)

This method uses ad-blockers (apps) to block all ads in your device, including the ads shown in various apps and games. There are many ad-blockers for Android, thanks to the ever-growing Android developers. The top two would be Adblock Plus (ABP) and AdAway; we wil discuss the former, but you can install AdAway if that’s your preference.


Using Adblock Plus

We’re going with Adblock Plus as it is an open source project and has the option to allow non-intrusive ads. This method works for both rooted and non-rooted devices. Installing an ad-blocker app requires your device to allow applications from unknown sources.

Sideloading is required as Google has removed ad-block apps from Google Play Store. You need to sideload any ad-blocker, i.e. install ad-blockers using its APK file and not from Google Play Store.

Follow the given steps to set this configuration:

Go to Settings > Applications (or Security on 4.0 and above) on your Android device.
Navigate to the Unknown sources option.
If unchecked, tap the checkbox, and then tap OK on the confirmation popup.
Your Android device is ready to install ad-blockers.


Installing And Configuring Adblock Plus

1. Open a browser in your device and download Adblock Plus for Android. Your device will receive the APK file: adblockplusandroid-version.apk.

2. Navigate to where your downloaded files are kept, then tap on the file and install. (If you open the APK file using a file manager, select Open App Manager and then click on Install.)

3.1 On rooted devices: after installing, open Adblock Plus. It will request for super user permissions. Allow super user permissions to Adblock Plus and you are good to go.

3.2 On non-rooted devices: you need a few more steps, to manually set up proxy in your Android. You will need to follow the instructions here as instructions are different for Android versions up to 3.1 and 4.0+.s

Now Adblock Plus will start blocking ads. You can set more options in Adblock Plus like ads filter lists, non-intrusive ads, etc in Settings.



Adblock Plus – Browser Extension

Adblock Plus is also available as a browser extension for Firefox. With this method, only the ads shown on web pages inside the browser are blocked. Ads in apps or games are not affected. This method works for rooted as well as non-rooted devices.


Setting Up Adblock Plus (Extension)

1. If you are not using Firefox as a browser on your Android yet, get it here. Run the browser on your device and go to the Adblock Plus add-on here. Add it to Firefox and Install it.

2. Restart Firefox and browse ad-free. You can set more options in Adblock Plus by going to the Menu > Adblock Plus and going through the options you can configure.

2. Block Ads Using ‘Hosts’ File
This method uses ‘hosts’ file to block ads. This method blocks all ads in your device, including the ones shown in various apps and games. This method works only for rooted devices.


What Is A ‘Hosts’ File?

hosts’ file is a plain-text file in an operating system to map hostnames (like anything.com) to its IP address. Whenever you try to launch a website using its hostname, the operating system will usually search the ‘hosts’ file to find the corresponding IP address first.

If the search is successful, then its mapped IP address is used; otherwise a query is sent to DNS (Domain Name Service) to find the IP address of that hostname.


Setting Up ‘Hosts’ File

1. On the computer, open MVPS (or pgl.yoyo.org or hostfile.mine.nu) on your browser. A plain-text page will open. Save this page as the name hosts in the computer.


2. Using Bluetooth or a USB connection, copy this hosts file from your computer to your Android device. Note the file path.

3. On your Android, open the file manager in your device and copy the hosts file to /etc or /system/etc. Accessing this location may require you to ‘allow super user permissions’ to the file manager.


4. Rename the original hosts file (if present) to a .txt or .bak extension. Paste the saved hosts file here. Reboot your Android and your Android is now ad-free.


Wrap Up

Although ads are annoying, they are also a great way to try out new apps, products or sites. Allowing non-intrusive ads is a way to be exposed to these new and sometimes great apps via ads. Alternatively many apps offers you the option to buy an ad-free version of the app, so you can support your favorite apps without being annoyed by the ads.

Enable "OK Google" Hot-word Outside Of The US [Quick-tip]

One of the best features of the new Google Experience Launcher is its support for Google Now‘s new "OK Google" hot-word. The hot-word lets you open Google Now’s voice assistant feature by simply saying "OK Google" to your Android device while on any one of the home-screens.



There have been complaints about how this feature is not available, by default, to users outside of the US. However, the "OK Google" hot-word isn't actually disabled according to region and can be easily enabled in just two steps.


How To Enable "OK Google"

Firstly, take note that the hot-word only works with the Google Experience Launcher. If you’re not using a Nexus 5, check out how to get the Google Experience Launcher on your Android 4.4 device.

Secondly, the hot-word only works with the US English voice input. So, if you’re outside of the US but want to use the hot-word, you have to change the language of your voice input.



To do this, go into Settings > Language & input. Scroll down and tap on Voice Search. You’ll see your currently selected voice input language at the top of the list of settings. Tap it, go into English… then select English (US).



Once you've done that, go back into the Language & input settings menu, then enter Voice Search again. You should now see an extra option that wasn't there before, Hot-word detection. Enable this and you’re good to go.




10 Useful Android Tips And Tricks You Should Know

Whether you are new to Android and eager to try out every available option you see on the screen, or familiar with the system, including the annoyances that plague you on a daily basis, tips and tricks to get around a system is always helpful. We are here to help you with that.



In this post, we are featuring 10 useful Android tips and tricks that may improve your experience while using your Android device. Do note that the steps may vary a little from one Android phone to another due to the differences in the build and the OS version, but if you play around with it, the next step isn’t too far off.


1. Disable App Notifications

Bugged by annoying app notifications that just keep coming? If you don’t know already, these app notifications also drain your phone’s battery. If you want to turn them off, and you are on Jelly Bean 4.1 and above, here’s how:

On any of your unwanted notifications in your notification bar, long press on the notification for a message box to appear.
Tap on App Info > Untick Show Notifications > OK.



2. Disable Mobile Data

Whenever you don’t need to stay connected, disabling the Mobile Data can help keep your smartphone battery from draining too quickly. Turning off mobile data is as easy as:

Going to Settings > Data Usage.
Disable Mobile data by toggling the setting from ON to OFF.



3. Set Mobile Data Limit

Want to keep track of how far your usage is from your monthly mobile data limit? If you have ICS and above, there is a feature which lets you keep track of how much of the quota you have left.

Head over to Settings > Data Usage.
Set your data limit by dragging the orange line to reflect your monthly quota.
Set your data usage cycle based on when your "month" starts and ends, and you’re done.
You will be alerted once you hit the limit you have set. Note that the tracked data usage of your phone may vary slightly than your carrier’s tracking.



4. Add Multiple Google Accounts

You need a Google account to use an Android phone but did you know you can choose to run more than one Google account on your Android device. This is convenient if you use more than one account for several of your Google services. To add multiple Google accounts:

Go to Settings > Add account.
Select Google and setup your New or Existing Google account.
Once added, choose what you want to sync with the account.
Repeat all the steps above if you want to add more accounts.



5. Disable Automatic App Updates

Prefer to read through app permissions and manually pick which app updates to adopt? You can, but first you need to disable your automatic app updates. Here are the steps:

Open Play Store and head over to Settings.
Tap on Auto-update apps.
Choose Do not auto-update apps.
If you want to enable the auto updates, follow the same path and choose Auto-update apps at any time or via Wi-Fi (available for certain Android devices only).


To update your apps manually, just open Play Store, and on the main page swipe in from the left and tap on My apps. You can tap on apps with pending updates and update them manually, or if you like to update them all at once, just tap on Update All.


6. How To Check For Android System Updates

For Android users that are using stock ROM, you may want to look for new updates to your system. To check for updates:

Go to Settings > About phone/tablet.
Tap on System updates.
Tap Check now to look for system updates.



7. Changing Default Apps

If you have already set some default apps for particular tasks (e.g. using Chrome for opening web links) but wish to change this:

Go to Settings > Apps.
Swipe right and look for the All tab.
Select the app you want to remove as default.
Tap on Clear defaults.



8. Organize Homescreen Shortcuts With Folders

Once you have a lot of apps installed, your homescreen might be filled with app shortcuts. Unlike the app drawer, the apps on your home screen are not arranged alphabetically. So, you might want to create some folders for your homescreen shortcuts.

Assuming you have more than a handful of shortcuts already on your homescreen, long press on any of the shortcuts and drag it onto another shortcut.
A circle should now appear around the apps, indicating that a folder has been created.
By tapping on the newly created folder, a mini window will pop up with your apps in it.
You can drag and drop additional apps into the folder if you like. You can also rename the folder by tapping on the text area at the bottom of the mini window.



9. Disable Animations

Here’s a tip on how to make your Android device run a bit smoother: disable its animations. You will need to have access to Developer Options which can be found under Settings or About device.

Note: For some phones, you may need to go to Build number and tap on it repeatedly until you see "You are now a developer!". Developer options are now enabled.

Under enabled Developer options, look for Window animation scale, Transition animation scale, and Animator duration scale. Then, turn them off (disable) them one at a time.



10. How To Turn Off Auto-Correction

Hate the fact that your phone is going English teacher mode on you? Turn off auto-correction for peace of mind when texting.

Go to Settings > Language & input.
Tap on the settings icon next to the keyboard that you are using, e.g. Google Keyboard.
Look for Auto-correction and tap on it.
Select Off to turn auto-correction off.