Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for renaming resource files of Android engineering project in batches,equipment and medium

A technology of resource files and engineering projects, which is applied in the field of batch renaming of resource files of Android engineering projects, can solve problems such as renaming of resource files that cannot be batched, and achieve the effect of improving reliability and stability

Pending Publication Date: 2021-07-23
广州宸祺出行科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the technical defect that the above-mentioned existing Android development environment software cannot rename batches of resource files and needs to be renamed one by one, the present invention provides a method that does not affect the normal compilation of resource files and can perform resource files in batches. Renamed method, system, device and medium for renaming resource files of Android engineering projects in batches

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 and system for renaming resource files of Android engineering project in batches,equipment and medium
  • Method and system for renaming resource files of Android engineering project in batches,equipment and medium
  • Method and system for renaming resource files of Android engineering project in batches,equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as Figure 1 ~ Figure 2 As shown, it is a schematic flowchart of the steps of the method for batch renaming resource files of Android engineering projects according to the present invention. The invention discloses a batch renaming method for resource files of Android engineering projects, which specifically includes:

[0041] Step S1: Set renaming rules, the renaming rules include file prefixes and / or file suffixes that need to be added in batches.

[0042] Specifically, the user opens the corresponding application program through the terminal, and sets the corresponding renaming rules in the application program according to the modules in the development process. To the original file name of the resource file, so as to realize the renaming of the resource file. According to the actual situation, the renaming rules are divided into adding a single prefix name, adding a single suffix name, and adding both a prefix name and a suffix name. According to different d...

Embodiment 2

[0062] Such as image 3 As shown, the present invention also discloses a system for renaming resource files of Android engineering projects in batches, which specifically includes:

[0063] The renaming rule module M1 is configured to set renaming rules, and the renaming rules include file prefixes and / or file suffixes that need to be added in batches.

[0064] The matching rule module M2 is used to obtain matching rules for each file type according to project characteristics.

[0065] A sub-step M21 is also included, which is used to obtain the latest version number through the network based on the matching rules, and update the matching rules.

[0066] The renaming list module M3 is used to select a target project folder, and sequentially obtain the original file names of the resource files in the target project folder to form a renaming list.

[0067] It also includes a submodule M31 for performing content detection on the target project folder; if the target project fold...

Embodiment 3

[0074] The present invention also discloses an electronic device, at least one processor, and a memory communicated with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by The at least one processor executes, and when the at least one processor executes the instruction, specifically implement the following steps: set the renaming rule, the renaming rule includes the file prefix and / or file suffix that need to be added in batches; according to the project Features Acquire the matching rules of each file type; select the target project folder, and sequentially obtain the original file names of the resource files in the target project folder to form a rename list; based on the matching rules, sequentially perform file types on the original file names in the rename list According to the renaming rules and matching rules, add the corresponding file prefix and / or file suffix to the original...

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 and system for renaming resource files of an Android engineering project in batches, equipment and a medium, and the method comprises the following steps: setting a renaming rule which comprises file prefixes and / or file suffixes needing to be added in batches; obtaining a matching rule of each file type according to the engineering characteristics; selecting a target project folder, and sequentially obtaining original file names of resource files in the target project folder to form a renaming list; on the basis of a matching rule, performing file type distinguishing on the original file names in the renaming list in sequence; according to a renaming rule and a matching rule, sequentially adding corresponding file prefix names and / or file suffix names into the original file names to obtain corresponding new file names; and respectively updating the new file names to the corresponding resource files to realize renaming, and sequentially compiling and verifying the renamed resource files. According to the method, batch renaming of the resource files in the development process of the Android system can be achieved.

Description

technical field [0001] The present invention relates to the technical field of a method for renaming resource files of an Android system, in particular to a method, system, device and medium for renaming resource files in batches of Android engineering projects. Background technique [0002] With the popularization of smart devices, especially the smart devices running the Android system continue to develop, the development of application programs installed in the system is also becoming more and more popular. Along with the increase of the amount of software development of the Android system, a large amount of Android development environment software (AndroidStudio) for the Android system application program has occurred. [0003] In the development process of the existing Android development environment software, component-based development is adopted. Generally, the application program is divided into several modules (moudles) according to the different functions of the a...

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
IPC IPC(8): G06F16/16
CPCG06F16/166Y02D10/00
Inventor 喻奇
Owner 广州宸祺出行科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products