POS machine log acquisition method based on java language
The invention discloses a POS machine log acquisition method based on a java language. The method comprises the following steps of defining and packaging an editing method of a Log; compiling a user-defined broadcast receiver, and packaging the editing method and the user-defined broadcast receiver...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
14.01.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a POS machine log acquisition method based on a java language. The method comprises the following steps of defining and packaging an editing method of a Log; compiling a user-defined broadcast receiver, and packaging the editing method and the user-defined broadcast receiver into Log.jar; developing a tool application with a self-defined broadcast sending function based on Log.jar; adding Log.jar and tool applications to the application of the to-be-obtained POS machine log, and adding the authority of reading the SD card; statically registering the self-defined broadcast receiver on the application of a to-be-obtained POS machine log, and calling a required Log editing method; and using the tool application to send the self-defined broadcast, allowing the application to-be-obtained POS machine log to receive the self-defined broadcast, and calling the log editing method according to the control parameter information so that the POS machine log file is controlled to be generated. Accor |
---|---|
Bibliography: | Application Number: CN202111237523 |