FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

Block ads on your Android phone (2010-04-15)

107 posts
Thanks Meter: 12
 
By phaelox, Senior Member on 15th April 2010, 10:52 PM
Post Reply Subscribe to Thread Email Thread
1st May 2012, 03:14 PM |#261  
lost101's Avatar
Senior Member
Thanks Meter: 3,386
 
Donate to Me
More
Tried AdAway?
The Following User Says Thank You to lost101 For This Useful Post: [ View ]
 
 
10th May 2012, 09:48 AM |#262  
Janfi_FR's Avatar
Junior Member
Flag Rognac (13)
Thanks Meter: 1
 
More
Quote:
Originally Posted by lost101

Tried AdAway?

+1.

I'm using it on Hero and on my new phone, it works very well and it's full free software (GPL v3). Give it a chance !
21st May 2012, 04:15 AM |#263  
c_shekhar's Avatar
Recognized Developer
Thanks Meter: 34
 
More
Quote:
Originally Posted by lost101

Tried AdAway?

Great suggestion....
works great!!!!
28th May 2012, 08:02 AM |#264  
Junior Member
Thanks Meter: 0
 
Donate to Me
More
AdAway is brilliant! So glad I read this thread and found it, massive thumbs up!
28th May 2012, 09:09 AM |#265  
1ceb0x's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 6,139
 
Donate to Me
More
There is AdFree also
10th July 2012, 04:12 PM |#266  
TheWall279's Avatar
Junior Member
Atlanta
Thanks Meter: 8
 
More
Sorry but this needs to be done. Your stealing from the developers. Put this in your application to view the hosts file and see if they are blocking the ads.

BufferedReader in = null;
Boolean result = true;
try {
in = new BufferedReader(new InputStreamReader(new FileInputStream("/etc/hosts")));
String line;
while ((line = in.readLine()) != null)
{
if (line.contains("admob")) // change this to whichever site you use
{
result = false;
break;
}
}
} catch(Exception e){}
if(result == false){
Toast.makeText(getApplicationContext(),"admob detected in /etc/hosts", Toast.LENGTH_LONG).show();
adBlockerFound();
}
public void adblockerFound(){
/**
Do all the bad stuff here. I usually use a dialog and simply notify the user but I still let them use the application. I pretty much give them a guilt trip. But if you wanna be nasty you can do this.finish();

Ive also seen people ask for SU and then make the hosts file writeable and edit the admob out during the readline()
**/
}
Post Reply Subscribe to Thread

Tags
hosts block filter ads
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes