Skip to content

Commit

Permalink
Updated to 1.5
Browse files Browse the repository at this point in the history
Merge pull request #41 from TrueMLGPro/patch-pre-v1.5
  • Loading branch information
TrueMLGPro authored Jul 29, 2022
2 parents 60e1226 + 81dad54 commit 4c19122
Show file tree
Hide file tree
Showing 63 changed files with 3,806 additions and 3,018 deletions.
176 changes: 115 additions & 61 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,115 @@
# Wi-Fi Info

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub release](https://img.shields.io/github/release/TrueMLGPro/Wi-Fi_Info.svg)](https://GitHub.com/TrueMLGPro/Wi-Fi_Info/releases/)
[![Github all releases](https://img.shields.io/github/downloads/TrueMLGPro/Wi-Fi_Info/total.svg)](https://github.com/TrueMLGPro/Wi-Fi_Info/releases/)
[![GitHub contributors](https://img.shields.io/github/contributors/TrueMLGPro/Wi-Fi_Info.svg)](https://GitHub.com/TrueMLGPro/Wi-Fi_Info/graphs/contributors/)
[![GitHub issues](https://img.shields.io/github/issues/TrueMLGPro/Wi-Fi_Info.svg)](https://github.com/TrueMLGPro/Wi-Fi_Info/issues/)
[![GitHub issues-closed](https://img.shields.io/github/issues-closed/TrueMLGPro/Wi-Fi_Info.svg)](https://GitHub.com/TrueMLGPro/Wi-Fi_Info/issues?q=is:issue+is:closed)
[![Website truemlgpro.github.io](https://img.shields.io/website-up-down-green-red/https/truemlgpro.github.io/Wi-Fi_Info.svg)](https://truemlgpro.github.io/Wi-Fi_Info/)

[![Discord](https://img.shields.io/discord/601107291915419658.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/qxE2DFr)
[![Patreon](https://img.shields.io/badge/dynamic/json?color=ff424d&logo=patreon&logoColor=ffffff&label=&labelColor=fa2530&query=data.attributes.patron_count&suffix=%20patrons&url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F5328784)](https://patreon.com/truemlgpro)

[![CodeFactor](https://www.codefactor.io/repository/github/truemlgpro/wi-fi_info/badge/master)](https://www.codefactor.io/repository/github/truemlgpro/wi-fi_info/overview/master)

## Downloads

[![IzzyOnDroid](https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroid.png)](https://apt.izzysoft.de/fdroid/index/apk/com.truemlgpro.wifiinfo)
or
**[Releases](https://github.com/TrueMLGPro/Wi-Fi_Info/releases/)**

## Features

***Shows all possible information about Wi-Fi network you are connected to.***

- **Public IP Address**
- **SSID**
- **BSSID**
- **IPv4 (Local)**
- **IPv6 (Local)**
- **Gateway IP**
- **DNS (1)**
- **DNS (2)**
- **Subnet Mask**
- **Network ID**
- **MAC Address**
- **Network Interface**
- **Loopback Address**
- **Frequency**
- **Network Channel (2.4 GHz & 5 GHz)**
- **RSSI (with percentage!)**
- **Lease Duration**
- **Network Speed**
- **Transmit Link Speed**
- **Receive Link Speed**
- **WPA Supplicant State**
- **Feature Support Detection**

## Tools

- **URL to IP Converter**
- **Cellular Data IP**
- **Router Setup Page**
- **Ping Tool**
- **LAN Devices Scanner**
- **Port Scanner**
- **Whois Tool**

## Links

[![Discord Banner 4](https://discordapp.com/api/guilds/601107291915419658/widget.png?style=banner4)](https://discord.com/invite/qxE2DFr)
<h1 align="center">Wi-Fi Info</h1>

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

<p align="center">
<a href="https://github.com/TrueMLGPro/Wi-Fi_Info/">
<img src="https://img.shields.io/github/repo-size/TrueMLGPro/Wi-Fi_Info?style=for-the-badge" alt="Github repo size">
</a> <a href="https://github.com/TrueMLGPro/Wi-Fi_Info/">
<img src="https://img.shields.io/github/languages/code-size/TrueMLGPro/Wi-Fi_Info?style=for-the-badge" alt="GitHub code size">
</a>
</p>

<p align="center">
<a href="https://github.com/TrueMLGPro/Wi-Fi_Info/issues/">
<img src="https://img.shields.io/github/issues/TrueMLGPro/Wi-Fi_Info.svg?style=for-the-badge" alt="GitHub issues">
</a> <a href="https://github.com/TrueMLGPro/Wi-Fi_Info/issues?q=is:issue+is:closed">
<img src="https://img.shields.io/github/issues-closed/TrueMLGPro/Wi-Fi_Info.svg?style=for-the-badge" alt="GitHub issues-closed">
</a>
</p>

<p align="center">
<a href="https://discord.gg/qxE2DFr">
<img src="https://img.shields.io/discord/601107291915419658.svg?label=&amp;logo=discord&amp;logoColor=ffffff&amp;color=7389D8&amp;labelColor=6A7EC2&amp;style=for-the-badge" alt="Discord">
</a> <a href="https://patreon.com/truemlgpro">
<img src="https://img.shields.io/badge/dynamic/json?color=ff424d&amp;logo=patreon&amp;logoColor=ffffff&amp;label=&amp;labelColor=fa2530&amp;query=data.attributes.patron_count&amp;suffix=%20patrons&amp;url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F5328784&amp;style=for-the-badge" alt="Patreon">
</a>
</p>

<p align="center">
<a href="https://www.codefactor.io/repository/github/truemlgpro/wi-fi_info/overview/master">
<img src="https://www.codefactor.io/repository/github/truemlgpro/wi-fi_info/badge/master?style=for-the-badge" alt="CodeFactor">
</a>
</p>

<h2>Downloads</h2>

<p align="center">
<a href="https://apt.izzysoft.de/fdroid/index/apk/com.truemlgpro.wifiinfo">
<img src="https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroid.png" alt="IzzyOnDroid">
</a>
<p align="center">or</p>
<h3 align="center"><strong><a href="https://github.com/TrueMLGPro/Wi-Fi_Info/releases/" style="text-align:center">Releases</a></strong></h3>
</p>

<h2>Features</h2>

<p><strong><em>Shows all possible information about Wi-Fi network you are connected to.</em></strong></p>
<ul>
<li><strong>Public IP Address</strong></li>
<li><strong>SSID</strong></li>
<li><strong>BSSID</strong></li>
<li><strong>IPv4 (Local)</strong></li>
<li><strong>IPv6 (Local)</strong></li>
<li><strong>Gateway IP</strong></li>
<li><strong>DNS (1)</strong></li>
<li><strong>DNS (2)</strong></li>
<li><strong>Subnet Mask</strong></li>
<li><strong>Network ID</strong></li>
<li><strong>MAC Address</strong></li>
<li><strong>Network Interface</strong></li>
<li><strong>Loopback Address</strong></li>
<li><strong>Frequency</strong></li>
<li><strong>Network Channel (2.4 GHz &amp; 5 GHz)</strong></li>
<li><strong>RSSI (with percentage!)</strong></li>
<li><strong>Lease Duration</strong></li>
<li><strong>Network Speed</strong></li>
<li><strong>Transmit Link Speed</strong></li>
<li><strong>Receive Link Speed</strong></li>
<li><strong>WPA Supplicant State</strong></li>
<li><strong>Feature Support Detection</strong></li>
</ul>

<h2>Tools</h2>

<ul>
<li><strong>URL to IP Converter</strong></li>
<li><strong>Cellular Data IP</strong></li>
<li><strong>Router Setup Tool</strong></li>
<li><strong>Ping Tool</strong></li>
<li><strong>LAN Devices Scanner</strong></li>
<li><strong>Port Scanner</strong></li>
<li><strong>Whois Tool</strong></li>
<li><strong>DNS Lookup Tool</strong></li>
</ul>

<h2>Links</h2>

<p>
<a href="https://discord.com/invite/qxE2DFr">
<img src="https://discordapp.com/api/guilds/601107291915419658/widget.png?style=banner4" alt="Discord Banner 4">
</a>
</p>

<h2>License</h2>

<p>
<a href="https://opensource.org/licenses/Apache-2.0">
<img src="https://img.shields.io/badge/Apache%202.0-blue.svg?style=for-the-badge&amp;logo=apache" alt="License: Apache 2.0">
</a>
</p>

<pre><code>Copyright 2022 TrueMLGPro

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

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
</code></pre>
24 changes: 13 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 30
compileSdk 31
buildToolsVersion "30.0.3"

signingConfigs {
Expand All @@ -12,12 +12,16 @@ android {
keyPassword KEY_PASSWORD
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
defaultConfig {
applicationId "com.truemlgpro.wifiinfo"
minSdkVersion 21
targetSdkVersion 30
versionCode 1410
versionName "1.4.1"
targetSdkVersion 31
versionCode 1500
versionName "1.5"
}
buildTypes {
release {
Expand All @@ -41,17 +45,13 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
lint {
abortOnError false
checkReleaseBuilds false
}
}

dependencies {
api ('android.arch.core:runtime:+') {
force = true
}

implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
Expand All @@ -63,7 +63,9 @@ dependencies {
implementation 'com.mikhaellopez:circularimageview:3.2.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.stealthcopter:AndroidNetworkTools:0.4.5.3'
implementation 'com.github.100rabhkr:TCWHOIS:2.0' // Minimum SDK version is 22, ignored in AndroidManifest.xml
implementation 'com.github.100rabhkr:TCWHOIS:master' // Minimum SDK version is 22, ignored in AndroidManifest.xml
implementation 'org.minidns:minidns-hla:1.0.2'
implementation 'org.minidns:minidns-android21:1.0.2'
// api 'com.getkeepsafe.taptargetview:taptargetview:1.12.0'
// api 'com.pes.materialcolorpicker:library:1.2.5'
implementation fileTree(dir: 'libs', include: ['*.jar'])
Expand Down
43 changes: 32 additions & 11 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="30"
android:targetSdkVersion="31"
tools:overrideLibrary="thecollectiveweb.com.tcwhois" />

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Expand All @@ -24,13 +24,16 @@
android:theme="@style/DarkTheme"
android:largeHeap="true"
android:usesCleartextTraffic="true">

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

<activity
android:name="com.truemlgpro.wifiinfo.SplashActivity"
android:screenOrientation="portrait">
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Expand Down Expand Up @@ -94,6 +97,11 @@
android:label="Whois Tool"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.truemlgpro.wifiinfo.DNSLookupActivity"
android:label="DNS Lookup"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.truemlgpro.wifiinfo.SettingsActivity"
android:label="Settings"
Expand All @@ -118,49 +126,62 @@
android:name=".QSTileService"
android:label="IP Address"
android:icon="@drawable/ic_wifi_qs_tile"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>

<receiver android:name=".ConnectionStateReceiver">
<receiver android:name=".ConnectionStateReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<receiver android:name=".WiFiConnectivityReceiver">
<receiver android:name=".WiFiConnectivityReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<receiver android:name=".CellularDataConnectivityReceiver">
<receiver android:name=".CellularDataConnectivityReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<receiver android:name=".NetworkConnectivityReceiver">
<receiver android:name=".NetworkConnectivityReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<receiver android:name=".BootReceiver">
<receiver android:name=".BootReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>

<receiver android:name=".ActionButtonReceiver">
<receiver android:name=".ActionButtonReceiver"
android:exported="false">
<intent-filter>
<action android:name="ACTION_STOP" />
<action android:name="ACTION_STOP_CONN_STATE_SERVICE" />
<action android:name="ACTION_NTFC_SETTINGS" />
</intent-filter>
</receiver>


<receiver android:name=".NotificationServiceStopReceiver"
android:exported="false">
<intent-filter>
<action android:name="ACTION_STOP_FOREGROUND" />
</intent-filter>
</receiver>
</application>
</manifest>
Binary file added app/src/main/assets/fonts/Gilroy-Semibold.ttf
Binary file not shown.
Binary file removed app/src/main/assets/fonts/GoogleSans-Medium.ttf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

public class ActionButtonReceiver extends BroadcastReceiver
{

@Override
public void onReceive(Context context, Intent intent)
{
if (intent.getAction() != null && intent.getAction().equals("ACTION_STOP")) {
context.sendBroadcast(new Intent(context, NotificationService.NotificationServiceStopReceiver.class).setAction("ACTION_STOP_FOREGROUND"));
context.stopService(new Intent(context, NotificationService.class));
context.stopService(new Intent(context, ConnectionStateService.class));
MainActivity.isServiceRunning = false;
Expand All @@ -28,9 +28,4 @@ public void onReceive(Context context, Intent intent)
context.sendBroadcast(StatusBarCloseIntent);
}
}

public ActionButtonReceiver() {

}

}
4 changes: 1 addition & 3 deletions app/src/main/java/com/truemlgpro/wifiinfo/BootReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@

public class BootReceiver extends BroadcastReceiver
{

@Override
public void onReceive(Context context, Intent intent)
{
Boolean keyBoot = new SharedPreferencesManager(context).retrieveBoolean(SettingsActivity.KEY_PREF_BOOT_SWITCH, MainActivity.startOnBoot);

if (keyBoot == true) {
if (keyBoot) {
Intent ServiceIntent = new Intent(context, ConnectionStateService.class);
if (android.os.Build.VERSION.SDK_INT < 26) {
context.startService(ServiceIntent);
Expand All @@ -21,5 +20,4 @@ public void onReceive(Context context, Intent intent)
}
}
}

}
Loading

0 comments on commit 4c19122

Please sign in to comment.