Method for simultaneously realizing laser code scanning PDA (Personal Digital Assistant) and mobile phone code scanning and suitable for intelligent logistics system

A logistics system and laser technology, applied in the direction of computer parts, cooperative operation devices, program control design, etc., can solve the problems of laborious and laborious, cost consumption, and inconvenient operation of Android application maintenance and upgrade, so as to reduce costs and ensure development progress, development cost reduction effect

Inactive Publication Date: 2021-09-21
江苏中车数字科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Purpose of the invention: In view of the fact that two sets of codes are generally used in the prior art to configure PDAs and ordinary mobile phones respectively, which takes a lot of time and effort, and causes great inconvenience and cost consumption to the maintenance and upgrade operations of subsequent Android applications, the present invention proposes a A code scanning mechanism implementation method that is applicable to laser code scanning PDA and mobile phones at the same time, and proposes a comprehensive technical solution by combining computer program design and biological principles

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for simultaneously realizing laser code scanning PDA (Personal Digital Assistant) and mobile phone code scanning and suitable for intelligent logistics system
  • Method for simultaneously realizing laser code scanning PDA (Personal Digital Assistant) and mobile phone code scanning and suitable for intelligent logistics system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0016] A code scanning mechanism implementation method applicable to both laser code scanning PDA and mobile phone described in the present invention, the process is as follows figure 1 shown, including the following steps:

[0017] S1: In the Android layout xml file, set a text input box EditText with a width of 1 pixel and a height of 1 pixel, and the ID is scan_input; this EditText is set to be visible, otherwise the text input box will not be able to obtain the scan code value; at the same time, ensure that the current layout has and only One EditText does not allow multiple EditTexts to avoid focus conflicts.

[0018] S2: The Android APP application integrates a software decoding library, such as Zxing / Zbar, and adds a content change monitoring TextWatcher to the text input box scan_input;

[0019] S3: The output mode o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for simultaneously realizing laser code scanning PDA (Personal Digital Assistant) and mobile phone code scanning suitable for an intelligent logistics system, and belongs to the technical field of Android application development. Aiming at the problem that two sets of codes are generally required to be developed because the same APP in the technical field normally realizes the code scanning mechanism in both Android PDA and Android mobile phone, the invention provides a code scanning mechanism realization method simultaneously suitable for laser code scanning PDA and mobile phone, a comprehensive technical solution is provided by combining computer program design and biological principles, the method can be simultaneously applied to industrial Android PDA equipment with a laser scanning head or common Android mobile phone / tablet equipment with a camera function under the condition of not changing a row of codes. According to the method provided by the invention, under the condition that the test PDA is lacked, a developer can realize code scanning function development by using a common Android mobile phone, and the PDA equipment does not need to be adapted for the code scanning function subsequently, so that the production efficiency is improved, the development progress is guaranteed, and the cost for application maintenance and upgrading is reduced.

Description

technical field [0001] The invention belongs to the technical field of Android application development, and in particular relates to a method applicable to a smart logistics system for simultaneously realizing code scanning by a PDA and a mobile phone. Background technique [0002] In recent years, during the development and application of industrial Internet of Things APP, industrial Android PDA code scanning terminals have been widely used. This type of terminal generally adopts laser scanning code technology and has a laser scanning terminal, which can scan and read one-dimensional code / two-dimensional code information. In terms of development technology, SDK integration, Android system broadcast output or simulated focus text output are generally used. Decoding is realized by the hardware decoder that comes with the terminal, and the scanning and decoding functions need to rely on the capabilities of the hardware device itself. [0003] When developing an Android applica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06K17/00
CPCG06F9/44505G06K17/0029
Inventor 景宁李峰郭凯房作仁纪文
Owner 江苏中车数字科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products