Fix change some English translation in documentation

This commit is contained in:
2022-09-28 01:39:09 +08:00
parent 4070e522a0
commit 489b6dbc1b
4 changed files with 12 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ Join us [Click to join Telegram group](https://t.me/YukiHookAPI)
Find me on **Twitter** [@fankesyooni](https://twitter.com/fankesyooni) Find me on **Twitter** [@fankesyooni](https://twitter.com/fankesyooni)
## Help with maintenance ## Help with Maintenance
Thank you for choosing and using `YukiHookAPI`. Thank you for choosing and using `YukiHookAPI`.

View File

@@ -20,9 +20,9 @@ In the later period, the permissions of the Android system will become more and
> Features that `YukiHookAPI` may add later are included here. > Features that `YukiHookAPI` may add later are included here.
### Lite version supported for standalone use ### Lite Version Supported for Standalone Use
::: tip To be discussed ::: tip To be Discussed
At present, the API only supports binding to **xposed_init** through the automatic handler. At present, the API only supports binding to **xposed_init** through the automatic handler.
@@ -36,7 +36,7 @@ You can submit **issues** with us.
We have provided the Xposed native API listening interface, you can find or view the implementation method of the Demo [here](../config/xposed-using#native-xposed-api-events). We have provided the Xposed native API listening interface, you can find or view the implementation method of the Demo [here](../config/xposed-using#native-xposed-api-events).
### Support for more Hook Framework ### Support for More Hook Framework
As an API, currently only docking `XposedBridge` as a compatibility layer still has certain limitations. As an API, currently only docking `XposedBridge` as a compatibility layer still has certain limitations.

View File

@@ -300,7 +300,8 @@ class HookEntry : IYukiHookXposedInit {
object CustomHooker : YukiBaseHooker() { object CustomHooker : YukiBaseHooker() {
override fun onHook() { override fun onHook() {
// ❗ Wrong method of use, because there is no judgment object in the outer layer, you cannot start Hook directly // ❗ Wrong method of use
// Because there is no judgment object in the outer layer, you cannot start Hook directly
findClass(name = "com.example.demo.DemoClass").hook { findClass(name = "com.example.demo.DemoClass").hook {
// ... // ...
} }

View File

@@ -121,23 +121,24 @@ Add the base code to your `AndroidManifest.xml`.
android:name="xposedmodule" android:name="xposedmodule"
android:value="true" /> android:value="true" />
<!-- set your module description --> <!-- Set your module description -->
<meta-data <meta-data
android:name="xposeddescription" android:name="xposeddescription"
android:value="Fill in your Xposed Module description" /> android:value="Fill in your Xposed Module description" />
<!-- The minimum Xposed version number, if you are using EdXposed/LSPosed, the minimum recommended is 93 --> <!-- The minimum Xposed version number -->
<!-- If you are using EdXposed/LSPosed, the minimum recommended is 93 -->
<meta-data <meta-data
android:name="xposedminversion" android:name="xposedminversion"
android:value="93" /> android:value="93" />
<!-- Optional: configure support for New XSharePrefs without adjusting xposedminversion to 93 --> <!-- Optional: Configure support for New XSharePrefs without adjusting xposedminversion to 93 -->
<meta-data <meta-data
android:name="xposedsharedprefs" android:name="xposedsharedprefs"
android:value="true"/> android:value="true"/>
``` ```
Create a Hook entry class in your project, inherit from `IYukiHookXposedInit` and add the annotation `@InjectYukiHookWithXposed`. Create a Hook entry class in your project, implements `IYukiHookXposedInit` and add the annotation `@InjectYukiHookWithXposed`.
> The following example > The following example
@@ -153,7 +154,7 @@ class HookEntry : IYukiHookXposedInit {
::: tip Suggestion ::: tip Suggestion
You can inherit **Application** of your module app from **ModuleApplication** to achieve a complete user experience. You can extends **Application** of your Module App from **ModuleApplication** to achieve a complete user experience.
For more functions, please refer to [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication). For more functions, please refer to [ModuleApplication](../api/public/com/highcapable/yukihookapi/hook/xposed/application/ModuleApplication).