Skip to content

Commit

Permalink
Merge pull request #6 from KaKaVip/develop
Browse files Browse the repository at this point in the history
Check with IP and some edit
  • Loading branch information
Phạm Quý Hải committed May 30, 2016
2 parents 571b35e + cc3bdcd commit e851ca4
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 524 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ Thumbs.db

# Android Studio
.idea/

*.iml
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ allprojects {
Step 2. Add the dependency
```groovy
dependencies {
compile 'com.github.framgia:android-emulator-detector:1.1.1'
compile 'com.github.framgia:android-emulator-detector:1.2.0'
}
```

Expand Down Expand Up @@ -61,6 +61,7 @@ Example:
```java
EmulatorDetector.with(this)
.setCheckTelephony(true)
.addPackageName("com.bluestacks")
.setDebug(true)
.detect(new EmulatorDetector.OnEmulatorDetectorListener() {
@Override
Expand All @@ -72,16 +73,21 @@ EmulatorDetector.with(this)

- `setCheckTelephony` Check Imei, Operator network, Device ID...

If `true` we need permission. Please add line below into `AndroidManifest.xml`
```xml
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
```
If `true` we need permission `android.permission.READ_PHONE_STATE`
- `setDebug` Show log

- `addPackageName` To add the package but only on VMs
- Add permission `android.permission.INTERNET` to detect Virtual Networking

About
Description
-------

To update the virtual machine device detection with highest accuracy,
We are going to check periodically the virtual machine latest version and combine with the statistics that we experienced from our actual project.

Project have refered the idea of some other projects.

If there are problems, please notify us. Create issue [here] (https://github.com/framgia/android-emulator-detector/issues/new)

License
-------
Expand Down
19 changes: 0 additions & 19 deletions android-emulator-detector.iml

This file was deleted.

2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 8
targetSdkVersion 23
versionCode 1
versionName "1.1.1"
versionName "1.2.0"
}
buildTypes {
release {
Expand Down
108 changes: 0 additions & 108 deletions library/library.iml

This file was deleted.

Loading

0 comments on commit e851ca4

Please sign in to comment.