dbjorge / airpush-detector Goto Github PK
View Code? Open in Web Editor NEWAndroid App to detect which other apps which are using the AirPush ad framework
License: Apache License 2.0
Android App to detect which other apps which are using the AirPush ad framework
License: Apache License 2.0
You can add the following package names to your list:
"com.urbanairship.", "com.tapjoy.", "com.sellaring."
Using AirPush Detector on Samsung Galaxy J7 2016. The applications halts when scanning app 157.
Under which license is this project?
If you want to license it for example under GPLv3, add a header like in this file (https://gitorious.org/adaway/adaway/blobs/master/org_adaway/src/org/adaway/helper/ImportExportHelper.java) and a COPYING file like (https://gitorious.org/adaway/adaway/blobs/master/COPYING).
This would enable projects like FDroid to include your app.
LeadBolt is another ad network that uses the same annoying notification tactics as AirPush. From what I can tell it registers a receiver with the name "com.Leadbolt." Here is a quick patch that adds detection support for LeadBolt-enabled apps to AirPush-Detector.
diff --git a/src/com/brosmike/airpushdetector/AirPushDetectorActivity.java b/src/com/brosmike/airpushdetector/AirPushDetectorActivity.java
index bb7f6b7..3181bd9 100644
--- a/src/com/brosmike/airpushdetector/AirPushDetectorActivity.java
+++ b/src/com/brosmike/airpushdetector/AirPushDetectorActivity.java
@@ -103,24 +100,6 @@ public class AirPushDetectorActivity extends ListActivity {
}
}
+ for(ApplicationInfo appInfo : appInfos) {
+ try {
+ PackageInfo pkgInfo2 = pm.getPackageInfo(appInfo.packageName, PackageManager.GET_RECEIVERS);
+ if(pkgInfo2.receivers == null)
+ {
+ continue;
+ }
+ for(ActivityInfo receiver: pkgInfo2.receivers ){
+ if(receiver.name.startsWith("com.Leadbolt.")) {
+ airPushPackages.add(pkgInfo2);
+ break;
+ }
+ }
+ } catch (NameNotFoundException e) {
+ Log.e(TAG, "Managed to not find a package we know about");
+ }
+ }
+
return airPushPackages;
}
}
\ No newline at end of file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.