Joke Collection Website - Blessing messages - What key wizard does Android use?

What key wizard does Android use?

Question 1: There is an Android button wizard on the market. What is its realization principle? It uses a plug-in interface: for non-self-compiling Android systems, the system signature cannot be obtained, and buttons can only be simulated in the foreground, but not in the background.

One is to use the instrument interface, which was originally reserved for testing software. After trying, it is found that this interface can simulate keys, but only if it is applied in the foreground. When it is used in the foreground, the analog key basically doesn't have much effect (the analog key operation application itself doesn't seem to have much significance).

When the application is in the background

, the detection interface is invalid. The explanation found online is that using this interface in the background requires system permissions, that is, adding it to the list.

Android: shareduserid = android.uid.system. And what problems will this cause? Only APK with system permission has system logo.

Name, which can be installed on Android devices, such as the phone and SMS that come with the system, are all APK programs in essence, but these applications have system permissions.

Android has a set.

Signature mechanism, APK can only install digital signatures. Usually when debugging, Eclipse automatically signs by default, and uses debugging signature. When publishing an application, developers use the.

APK is signed by a unique digital signature file (which can be generated by Eclipse or signed by Eclipse). When installing a new version of APK, if the signature is detected.

Inconsistent, the system will prompt that the signature is inconsistent and can only be installed by uninstalling the old version. To some extent, this mechanism prevents third parties from modifying the officially released APK or even illegally implanting viruses (of course, if

Users can voluntarily uninstall the old official application and install the new unofficial APK). And different apps with the same signature can enjoy some data.

What is the system signature?

What about the acquisition? When compiling the Android system, a digital signature file signed by the system will be compiled together. For a compilation system, or to adapt to different systems, it is inevitable that this number cannot be obtained.

Word signs files, so it is impossible to sign APK systematically. Finally, APK with uid.system attribute cannot be installed, so the plug-in interface is in the background.

The method of simulating keys can only be used if the system compiles itself.

Using reflection method to call system IWindowManager hidden API: poor compatibility, poor stability and easy to make mistakes. In addition, an error occurred during the actual compilation, and the reason is unknown for the time being.

There is another way online.

Law. There are some hidden APIs in Android system, which are usually restricted by Java, so that these APIs cannot be called. But through reflection, you can break through the permission limit of Java. exist

There is an API hidden in IWindowManager, which can simulate keystroke and touch screen events. Try the online method, download it to a jar file compiled by Android source code, add it to the project, and then

I wrote some code in emission, trying to call the hidden API. As a result, Eclipse didn't respond directly when compiling. Perhaps the computer configuration was insufficient and the jar file was too large. I tried several times, but all failed.

Work, and considering that this method has many disadvantages, it is likely to require system permissions in the end (many articles on the Internet are not very clear), so I gave up this method.

Summary of key problems in android simulation [using IWindowManager.injectKeyEvent method]

blog.csdn/...857 173

Using hidden API in Android (lots of illustrations)

......& gt& gt

Question 2: Why can't the Android version of the button wizard be explained clearly in a few words? Need systematic learning.

Question 3: Who knows how the key wizard uses the 5 points of the Android version of the mobile phone? Making scripts: collect scripts from the internet or make your own scripts according to your personal needs. If your scripts are collected from other places, please copy the script files to the scripts folder under the key wizard folder before running the key wizard.

2. Select a valid window: it is recommended that you select "Valid for all windows". If you only want the script to be valid when a window is in the foreground, select a window name, such as "Dragon".

3. Make the script to be executed "effective". Only the script checked in the "Effective" column will be executed.

4. Enter the game (or other software that needs to use the button wizard), press the "shortcut key" of the script when you need to use it, and the button wizard will work faithfully for you.

Key wizard main interface

Figure: Main interface and function buttons

Brief introduction of main interface functions:

Add: Add a new script.

Modify: Modify the currently selected script.

Delete: Delete the currently selected script; You can select multiple scripts to delete at the same time.

Recording: recording new scripts, which is the first choice for beginners to make scripts.

Upload: upload the current script to the keyboard wizard website to communicate with others.

Valid/Invalid All: Make all scripts valid or invalid.

Registration: Registration key wizard, using genuine software.

Help: Check the user help manual.

Figure: Recording function

Introduction of recording function:

Highly recommended function! You can record your actions truthfully and play them back when the script is executed. Novices can also make scripts at will. Press the ScrollLock key to start recording, press it again to stop recording, and finally save. If you need the button wizard to record the mouse movement track truthfully, just tick "Record the mouse movement track" at the back. During recording, you can move the recording toolbar at will, which will not have any influence on your recording operation.

Figure: Upload script

Brief introduction of upload script function:

Select a script in the main interface, and click the "Upload" button to enter the upload script interface.

You can upload your own scripts to our server. After your script is uploaded successfully, we will conduct manual review. Good scripts will be recommended by us to other players to learn.

The button wizard will automatically fill in some information when uploading. Please write down the purpose, production ideas and other information you think will be helpful to others in the "Script Description". Scripts without explanation or unclear explanation will not be recommended. :-)

Script editor

Figure: Script Editor Interface

Script editor description:

Select an action in the action selection area and insert it into the script content area on the right. Scripts support operations such as pasting, copying, moving and deleting.

After the script is written, make some necessary settings in the script setting area, click "Save Script" to save the currently made script, click the X symbol in the upper right corner to close the editor and return to the main interface.

Note: Our default termination hotkey is "F 12". At present, all scripts use the same termination hotkey, that is, after pressing a termination hotkey, all scripts will stop running.

Figure: Script debugging function

Brief introduction of script debugging function:

The script debugging function allows you to observe the execution order of the script at any time, and you can also pause/continue the script at will, which is convenient for finding script errors. When you click "execute", the script will start to execute, and at the same time, record which action (statement) is executed at each step. You can press the "Pause" hotkey at any time to temporarily pause the script execution, and then click the "Statement Number" to view it immediately. After reading, you can resume script execution at any time.

Execute shortcut key: ScrollLock

Pause hotkey: Pause

Stop hotkey: scroll lock

Figure: Grab Point Interface

Introduction to the function of grasping points:

Users can grab 20 coordinate points and their colors. The hot keys to grab points are numeric keys 0 to 9, and there are 10 letter keys Q to P under the numeric keys. Press the hotkey to get the coordinates and color of the current mouse position, so that it can be used when making scripts.

Offset Grab Point: When using offset grab point, what you actually grab is the coordinates and color of a point near the mouse (the specific point you grab is represented by a "sight"). This can solve the problem that the color of mouse icon will block the real coordinate color in some cases.

Introduction to key wizard operations

All actions of the key wizard need to be selected in the action selection area, and then inserted into the script content area. All the functions of the key wizard are also concentrated in the action selection area.

Press the key wizard provides a wealth of actions for everyone to choose from ... >>

Question 4: Is there any Android software similar to the Keyboard Wizard, such as Keyboard Saver, Touch Wizard, Touch Wizard, Keyboard Ranger, haha, all four can be used?

The four things I listed are all found on the application treasure, which are similar to the key wizard you mentioned.

There is an Android version, and the Android version of the software can be downloaded from AppBao.

The software in App Store is complete, and you can see it in the market.

It has all the application treasures on it. You can easily find them by opening the application treasure.

I hope it is helpful to you and I hope you will adopt it.

Question 5: How to use the Android version of key wizard with obvious unanswered questions and learn how to use key official website.

Question 6: What version of the Button Wizard is suitable for Android 4.4.4? As long as it is not a modified version of Android, no matter which version you are using now, it is applicable. It is generally recommended to use the latest version.

Question 7: What is the weakness of keystroke wizard+Android emulator? I have the usage of the keystroke script tutorial played by Haima here: zhuantilan/jiqiao/23 188.

If it is good, give some points.

Question 8: How to open the phone screen with the button wizard for Android? Button wizard is a software that simulates the actions of mouse and keyboard. By making scripts, you can let the keystroke wizard replace your hands and automatically perform a series of mouse and keyboard actions. Key wizard is easy to use and can make powerful scripts without any programming knowledge. As long as you can do actions with your hands in front of the computer, the key wizard can replace it.

About "How to open the mobile phone screen with the button wizard for Android", the code is as follows:

spread

If system time = set time

Key power key

Sliding screen unlocking

If ... it will be over.

End cycle

Question 9: If not, button wizard for Android. . To score 50 points, you must first understand the grammar and format, the meaning of each parameter in the function, and then the logic of the script.

FindPic 0, 0, 0, 0, attachment: ghost hunting by the clock. png,000000,0,0.9,intX,intY。

The four zeros in the middle, the first two represent the coordinates of the starting point and the last two are the coordinates of the ending point. If they are all zeros and the region is also zero, it will never be possible to find the graph. ..

If the judgment,

If intX & gt- 1, it means finding the plan and executing the following code.

Otherwise, it's not hard to understand, right?

End statement of End if judgment. In other words, the following statements are not included in the above judgment, and will be executed regardless of whether the judgment is established or not.

Skip to the beginning like you said. In other words, it involves a cycle. Just mark it with rem. Then use goto command to jump where you want to jump.

For example:

Rem marker a

If intX & gt, then 0

Mobile click

other

Go to mark a.

If ... it will be over.

Question 10: How to use the button wizard of Android? Who can record it? Do tell me. The button wizard needs root, so it is recommended to download the root tool from Baidu first. The script recording of the key wizard is relatively rigid and simple, suitable for card games, not suitable for online games and action games. Make, record, and then do it manually in the recording situation. I hope to adopt it. It's relatively simple, and I don't say it's easy. Download and open it yourself, and I will understand it at once.