Skip to content

Commit a83f31e

Browse files
authored
Updated to 1.6.1
Merge pull request #53 from TrueMLGPro/pre-1.6.1
2 parents 12df303 + 96174cf commit a83f31e

File tree

90 files changed

+3427
-2245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+3427
-2245
lines changed

.gitignore

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
.gradle
2-
.idea
3-
build/
4-
app/build/
5-
app/release/
6-
local.properties
7-
gradle.properties
1+
.gradle/
2+
.idea/
3+
.stignore
4+
.stfolder/
5+
build/
6+
app/build/
7+
app/release/
8+
local.properties
9+
gradle.properties

README.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1+
<div align="center">
2+
3+
<img align="center" width="160" height="160" src="https://raw.githubusercontent.com/TrueMLGPro/Wi-Fi_Info/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" alt="App Logo">
14
<h1 align="center">Wi-Fi Info</h1>
25

3-
<p align="center">A powerful network toolset packed into an Android app, which gathers and displays the information about the Wi-Fi network you are connected to!</p>
6+
<p align="center">
7+
A powerful network toolset packed into an Android app, which gathers and displays the information about the Wi-Fi network you are connected to!
8+
</p>
49

510
---
6-
<br>
711

812
<p align="center">
913
<a href="https://github.com/TrueMLGPro/Wi-Fi_Info/releases/">
1014
<img src="https://img.shields.io/github/release/TrueMLGPro/Wi-Fi_Info.svg?style=for-the-badge" alt="GitHub latest release">
11-
</a> <a href="https://github.com/TrueMLGPro/Wi-Fi_Info/releases/">
12-
<img src="https://img.shields.io/github/downloads/TrueMLGPro/Wi-Fi_Info/total.svg?style=for-the-badge" alt="GitHub all releases">
1315
</a>
1416
</p>
1517

18+
<p align="center">
19+
<a href="https://github.com/TrueMLGPro/Wi-Fi_Info/releases/">
20+
<img src="https://img.shields.io/github/downloads/TrueMLGPro/Wi-Fi_Info/total.svg?style=for-the-badge&logo=github" alt="GitHub Release Downloads">
21+
</a> <a href="https://play.google.com/store/apps/details?id=com.truemlgpro.wifiinfo">
22+
<img src="https://img.shields.io/endpoint?style=for-the-badge&color=green&logo=google-play&url=https%3A%2F%2Fplay.cuzi.workers.dev%2Fplay%3Fi%3Dcom.truemlgpro.wifiinfo%26gl%3DUS%26hl%3Den%26l%3DDownloads%26m%3D%24totalinstalls" alt="Play Store Downloads">
23+
</a>
24+
1625
<p align="center">
1726
<a href="https://github.com/TrueMLGPro/Wi-Fi_Info/">
1827
<img src="https://img.shields.io/github/repo-size/TrueMLGPro/Wi-Fi_Info?style=for-the-badge" alt="Github repo size">
@@ -43,9 +52,26 @@
4352
</a>
4453
</p>
4554

55+
</div>
56+
57+
<h2>Screenshots</h2>
58+
59+
<div align="center">
60+
61+
<table style="width:100%;overflow-x:auto;">
62+
<tr>
63+
<td><img src="https://github.com/TrueMLGPro/Wi-Fi_Info/assets/38999995/66d3310b-255b-4952-aa32-9b24b69abd1f" width="300"></td>
64+
<td><img src="https://github.com/TrueMLGPro/Wi-Fi_Info/assets/38999995/b71da31b-659b-4e63-b461-461a3c434c7d" width="300"></td>
65+
<td><img src="https://github.com/TrueMLGPro/Wi-Fi_Info/assets/38999995/84a1f58e-cbea-4b77-9e0e-89895067f35f" width="300"></td>
66+
<td><img src="https://github.com/TrueMLGPro/Wi-Fi_Info/assets/38999995/a77fab82-8dc9-4d4c-9619-2f6e14fc1489" width="300"></td>
67+
</tr>
68+
</table>
69+
70+
</div>
71+
4672
<h2>Downloads</h2>
4773

48-
<p align="center">
74+
<div align="center">
4975
<a href="https://play.google.com/store/apps/details?id=com.truemlgpro.wifiinfo">
5076
<img src="https://github-production-user-asset-6210df.s3.amazonaws.com/38999995/241763872-7a699ba7-5c7e-4e9f-a65a-0a8d2c596ffb.png" alt="Play Store">
5177
</a>
@@ -54,7 +80,7 @@
5480
</a>
5581
<p align="center">or</p>
5682
<h3 align="center"><strong><a href="https://github.com/TrueMLGPro/Wi-Fi_Info/releases/" style="text-align:center">Releases</a></strong></h3>
57-
</p>
83+
</div>
5884

5985
<h2>Features</h2>
6086

@@ -117,7 +143,7 @@ For contributor guidelines, see <code><a href="CONTRIBUTING.md">CONTRIBUTING.md<
117143
</a>
118144
</p>
119145

120-
<pre><code>Copyright 2022 TrueMLGPro
146+
<pre><code>Copyright 2020-2024 TrueMLGPro
121147

122148
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
123149

app/build.gradle

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'com.android.application'
22

33
android {
44
namespace "com.truemlgpro.wifiinfo"
5-
compileSdk 33
6-
buildToolsVersion '33.0.2'
5+
compileSdk 34
6+
buildToolsVersion = '34.0.0'
77

88
signingConfigs {
99
release {
@@ -14,15 +14,15 @@ android {
1414
}
1515
}
1616
compileOptions {
17-
sourceCompatibility 1.8
18-
targetCompatibility 1.8
17+
sourceCompatibility JavaVersion.VERSION_17
18+
targetCompatibility JavaVersion.VERSION_17
1919
}
2020
defaultConfig {
2121
applicationId "com.truemlgpro.wifiinfo"
2222
minSdkVersion 21
23-
targetSdkVersion 33
24-
versionCode 1600
25-
versionName "1.6"
23+
targetSdkVersion 34
24+
versionCode 1610
25+
versionName "1.6.1"
2626
}
2727
buildTypes {
2828
release {
@@ -47,9 +47,9 @@ android {
4747
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4848
}
4949
}
50-
applicationVariants.all { variant ->
51-
variant.outputs.all {
52-
outputFileName = "${APP_NAME}_${defaultConfig.versionName}_${variant.buildType.name}.apk"
50+
applicationVariants.configureEach { variant ->
51+
variant.outputs.configureEach {
52+
outputFileName = "${APP_NAME}_v${defaultConfig.versionName}_${variant.buildType.name}.apk"
5353
}
5454
}
5555
lint {
@@ -62,19 +62,23 @@ android {
6262
}
6363

6464
dependencies {
65-
implementation 'androidx.appcompat:appcompat:1.7.0-alpha01'
66-
implementation 'com.google.android.material:material:1.9.0'
65+
implementation 'androidx.appcompat:appcompat:1.7.0-alpha03'
66+
implementation 'com.google.android.material:material:1.11.0'
6767
implementation 'androidx.cardview:cardview:1.0.0'
68-
implementation 'androidx.preference:preference:1.2.0'
68+
implementation "androidx.recyclerview:recyclerview:1.3.2"
69+
implementation 'androidx.preference:preference:1.2.1'
6970
implementation 'androidx.core:core-splashscreen:1.0.1'
7071

7172
implementation 'com.github.AnwarShahriar:Calligrapher:master'
7273
implementation 'com.mikhaellopez:circularimageview:4.3.1'
7374
implementation 'com.github.sougata-chatterjee:FloatingActionButton:1.7.1'
7475

7576
implementation 'com.github.TrueMLGPro:AndroidNetworkTools:76b8feabb6' // Fork of a Kotlin rewrite of stealthcopter/AndroidNetworkTools
76-
implementation 'com.github.100rabhkr:TCWHOIS:master' // Minimum SDK version is 22, ignored in AndroidManifest.xml
77-
implementation 'org.minidns:minidns-hla:1.0.4'
77+
implementation 'com.github.100rabhkr:TCWHOIS:master' // Whois lookups (minimum SDK version is 22, ignored in AndroidManifest.xml)
78+
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1' // Helper for working with databases located in assets folder
79+
// implementation 'org.fourthline.cling:cling-core:2.1.2' // Library for locating UPnP devices on the local network; for 1.6.2
80+
implementation 'eu.agno3.jcifs:jcifs-ng:2.1.9' // Library used for locating NetBIOS devices on the local network
81+
implementation 'org.minidns:minidns-hla:1.0.4' // DNS lookups
7882
implementation 'org.minidns:minidns-android21:1.0.4'
7983

8084
implementation fileTree(dir: 'libs', include: ['*.jar'])

app/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
19+
-dontwarn org.slf4j.impl.StaticLoggerBinder

app/src/main/AndroidManifest.xml

Lines changed: 53 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<uses-sdk
66
android:minSdkVersion="21"
7-
android:targetSdkVersion="33"
7+
android:targetSdkVersion="34"
88
tools:overrideLibrary="thecollectiveweb.com.tcwhois"
99
tools:ignore="GradleOverrides" />
1010

@@ -15,25 +15,28 @@
1515
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
1616
<uses-permission android:name="android.permission.INTERNET" />
1717
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
18+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
19+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
1820
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
1921

2022
<application
23+
android:name=".App"
2124
android:icon="@mipmap/ic_launcher"
2225
android:label="@string/app_name"
2326
android:theme="@style/DarkTheme"
2427
android:largeHeap="true"
2528
android:usesCleartextTraffic="true"
26-
tools:targetApi="tiramisu"
27-
android:localeConfig="@xml/locale_config">
29+
android:localeConfig="@xml/locale_config"
30+
tools:targetApi="tiramisu">
2831

2932
<meta-data android:name="android.webkit.WebView.MetricsOptOut"
3033
android:value="true" />
3134

3235
<activity
33-
android:name="com.truemlgpro.wifiinfo.MainActivity"
34-
android:screenOrientation="fullSensor"
36+
android:name="com.truemlgpro.wifiinfo.ui.MainActivity"
37+
android:screenOrientation="unspecified"
3538
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
36-
android:theme="@style/SplashDark"
39+
android:theme="@style/Theme.App.Starting"
3740
android:exported="true">
3841
<intent-filter>
3942
<action android:name="android.intent.action.MAIN" />
@@ -44,77 +47,77 @@
4447
</intent-filter>
4548
</activity>
4649
<activity
47-
android:name="com.truemlgpro.wifiinfo.SupportersActivity"
50+
android:name="com.truemlgpro.wifiinfo.ui.SupportersActivity"
4851
android:label="Supporters"
49-
android:screenOrientation="fullSensor"
52+
android:screenOrientation="unspecified"
5053
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
51-
android:parentActivityName=".SettingsActivity">
54+
android:parentActivityName=".ui.SettingsActivity">
5255
</activity>
5356
<activity
54-
android:name="com.truemlgpro.wifiinfo.ToolsActivity"
57+
android:name="com.truemlgpro.wifiinfo.ui.ToolsActivity"
5558
android:label="Tools"
56-
android:screenOrientation="fullSensor"
59+
android:screenOrientation="unspecified"
5760
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
58-
android:parentActivityName=".MainActivity">
61+
android:parentActivityName=".ui.MainActivity">
5962
</activity>
6063
<activity
61-
android:name="com.truemlgpro.wifiinfo.SettingsActivity"
64+
android:name="com.truemlgpro.wifiinfo.ui.SettingsActivity"
6265
android:label="Settings"
63-
android:screenOrientation="fullSensor"
66+
android:screenOrientation="unspecified"
6467
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
65-
android:parentActivityName=".MainActivity">
68+
android:parentActivityName=".ui.MainActivity">
6669
<meta-data
6770
android:name="android.support.PARENT_ACTIVITY"
68-
android:value="com.truemlgpro.wifiinfo.MainActivity" />
71+
android:value="com.truemlgpro.wifiinfo.ui.MainActivity" />
6972
</activity>
7073
<activity
71-
android:name="com.truemlgpro.wifiinfo.CellularDataIPActivity"
74+
android:name="com.truemlgpro.wifiinfo.ui.CellularDataIPActivity"
7275
android:label="Cellular Data IP"
73-
android:screenOrientation="fullSensor"
76+
android:screenOrientation="unspecified"
7477
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
75-
android:parentActivityName=".ToolsActivity">
78+
android:parentActivityName=".ui.ToolsActivity">
7679
</activity>
7780
<activity
78-
android:name="com.truemlgpro.wifiinfo.RouterSetupActivity"
81+
android:name="com.truemlgpro.wifiinfo.ui.RouterSetupActivity"
7982
android:label="Router Setup"
80-
android:screenOrientation="fullSensor"
83+
android:screenOrientation="unspecified"
8184
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
82-
android:parentActivityName=".ToolsActivity">
85+
android:parentActivityName=".ui.ToolsActivity">
8386
</activity>
8487
<activity
85-
android:name="com.truemlgpro.wifiinfo.PingToolActivity"
88+
android:name="com.truemlgpro.wifiinfo.ui.PingToolActivity"
8689
android:label="Ping Tool"
87-
android:screenOrientation="fullSensor"
90+
android:screenOrientation="unspecified"
8891
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
89-
android:parentActivityName=".ToolsActivity">
92+
android:parentActivityName=".ui.ToolsActivity">
9093
</activity>
9194
<activity
92-
android:name="com.truemlgpro.wifiinfo.SubnetScannerActivity"
95+
android:name="com.truemlgpro.wifiinfo.ui.SubnetScannerActivity"
9396
android:label="Subnet Scanner"
94-
android:screenOrientation="fullSensor"
97+
android:screenOrientation="unspecified"
9598
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
96-
android:parentActivityName=".ToolsActivity">
99+
android:parentActivityName=".ui.ToolsActivity">
97100
</activity>
98101
<activity
99-
android:name="com.truemlgpro.wifiinfo.PortScannerActivity"
102+
android:name="com.truemlgpro.wifiinfo.ui.PortScannerActivity"
100103
android:label="Port Scanner"
101-
android:screenOrientation="fullSensor"
104+
android:screenOrientation="unspecified"
102105
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
103-
android:parentActivityName=".ToolsActivity">
106+
android:parentActivityName=".ui.ToolsActivity">
104107
</activity>
105108
<activity
106-
android:name="com.truemlgpro.wifiinfo.WhoIsToolActivity"
109+
android:name="com.truemlgpro.wifiinfo.ui.WhoIsToolActivity"
107110
android:label="Whois Tool"
108-
android:screenOrientation="fullSensor"
111+
android:screenOrientation="unspecified"
109112
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
110-
android:parentActivityName=".ToolsActivity">
113+
android:parentActivityName=".ui.ToolsActivity">
111114
</activity>
112115
<activity
113-
android:name="com.truemlgpro.wifiinfo.DNSLookupActivity"
116+
android:name="com.truemlgpro.wifiinfo.ui.DNSLookupActivity"
114117
android:label="DNS Lookup"
115-
android:screenOrientation="fullSensor"
118+
android:screenOrientation="unspecified"
116119
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
117-
android:parentActivityName=".ToolsActivity">
120+
android:parentActivityName=".ui.ToolsActivity">
118121
</activity>
119122

120123
<service
@@ -127,17 +130,23 @@
127130
</service>
128131

129132
<service
130-
android:name=".ConnectionStateService"
131-
android:enabled="true">
133+
android:name=".services.ConnectionStateService"
134+
android:enabled="true"
135+
android:foregroundServiceType="specialUse">
136+
<property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
137+
android:value="This service listens to the state of the Wi-Fi connection and manages the lifecycle of the NotificationService based on the changes of this state. When the user disconnects from a Wi-Fi network, this service stops the NotificationService to avoid unnecessary battery drain. Likewise, when the user reconnects to a Wi-Fi network, this service restarts the NotificationService." />
132138
</service>
133139

134140
<service
135-
android:name=".NotificationService"
136-
android:enabled="true">
141+
android:name=".services.NotificationService"
142+
android:enabled="true"
143+
android:foregroundServiceType="specialUse">
144+
<property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
145+
android:value="This service provides real-time updates of the current Wi-Fi connection information such as SSID, BSSID, RSSI, etc., even when the application is not running or is in the background." />
137146
</service>
138147

139148
<service
140-
android:name=".QSTileService"
149+
android:name=".services.QSTileService"
141150
android:label="IP Address"
142151
android:icon="@drawable/wifi_24px"
143152
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
@@ -147,14 +156,14 @@
147156
</intent-filter>
148157
</service>
149158

150-
<receiver android:name=".BootReceiver"
159+
<receiver android:name=".receivers.BootReceiver"
151160
android:exported="true">
152161
<intent-filter>
153162
<action android:name="android.intent.action.BOOT_COMPLETED" />
154163
</intent-filter>
155164
</receiver>
156165

157-
<receiver android:name=".ActionButtonReceiver"
166+
<receiver android:name=".receivers.ActionButtonReceiver"
158167
android:exported="false">
159168
<intent-filter>
160169
<action android:name="ACTION_STOP" />
1.48 MB
Binary file not shown.

app/src/main/assets/databases/oui.db

1.25 MB
Binary file not shown.

0 commit comments

Comments
 (0)