Quickly launch some pages and create shortcuts by applying the activity package name.
Developmen & Design: Gnayoah
SettingPro can be used to enable a page/function that has been developed but hidden by the developer. It can also be used to quickly start some pages that are very hidden (such as very difficult to find functions). SettingPro relies on the network, and you need to configure the backend server yourself. You can modify the configuration at any time to update, instead of releasing a new version, which is beneficial to the user experience.
1. Create a configuration
Create a txt file create a configuration using the following format:
<settingpro>
<name>TITLE</name>
<des>DESCRIPTION</des>
<pac>PACKAGE NAME</pac>
<act>ACTIVITY PACKAGE NAME</act>
</settingpro>
<settingpro>
<name>TITLE</name>
<des>DESCRIPTION</des>
<pac>PACKAGE NAME</pac>
<act>ACTIVITY PACKAGE NAME</act>
</settingpro>
...
Please edit only uppercase text!
The PACKAGE NAME
is the Android application package name, for example: com.android.settings
,
And the ACTIVITY PACKAGE NAME
is based on PACKAGE NAME
, for example: com.android.settings.wifi.WifiConfigInfo
.
2. Clone this repository to your local machine:
git clone https://github.com/Gnayoah/SettingPro.git
3. Navigate to the project directory:
cd settingpro
4. Configure to program
Replace the default http://example.com/xxx.txt
in the main.dart
with your domain name and file name.
Global.textContent = 'http://example.com/xxx.txt';
5. Packaging Program
Make sure you have configured Dart and Flutter environment. If not, please go to Flutter.dev.
flutter build apk --release
This line of code is used to package the Flutter program. Please make sure you have configured your app signature and changed the app package name. If you have any confusion, visit docs.flutter.dev.
In principle, we do not provide Demo, but to let you better understand the function of the program, we provide a sample program of SettingPro based on Android settings (based on MIUI/HyperOS). You can use this sample program to open a page in some Android settings. You can download this sample on Releases.
Note that this example only supports Simplified Chinese.
This project is basically open source under the AGPL-3.0 license, but there are additional terms, please refer to the LICENSE for details.
Clicking the Star and helping to improve this project is the best donation to us