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

Android platform based language switching method and system

A technology for switching systems and languages, which is applied in the field of language switching methods and systems based on the Android platform, can solve problems such as slow switching speed, cumbersome language switching process, and low switching efficiency, so as to improve switching efficiency, improve language switching speed, and simplify language switching. The effect of the switching process

Active Publication Date: 2015-09-30
TCL CORPORATION
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a language switching method and system based on the Android platform, aiming to solve the problems of the existing Android platform language switching process is cumbersome, low switching efficiency, and slow switching speed

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
  • Android platform based language switching method and system
  • Android platform based language switching method and system
  • Android platform based language switching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention provides a language switching method and system based on the Android platform. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] see figure 1 , figure 1 It is a flow chart of a preferred embodiment of the language switching method based on the Android platform of the present invention, as shown in the figure, it includes steps:

[0044] S101. When a language switching instruction is received, obtain the index value of each currently visible display panel, and determine the priority of each currently visible display panel;

[0045] S102. Perform language switching on each currently visible display panel according to the preset priority sorting rules, the language switch...

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 an Android platform based language switching method and system. The method includes the steps: A, when receiving a language switching command, acquiring an index value of each current visible display module, and determining priority of each current visible display module; B, performing language switching on each current visible display module according to preset priority ordering rules, wherein the language switching process includes acquiring character string information of each control on the current display module and determining coding formats of the target language type according to preset multilanguage resource files so as to form and display target language type character strings. The display modules are subjected to language switching according to the preset priority ordering rules, and accordingly languages can be switched automatically without restarting the entire UI (user interface); besides only the multilanguage resource files have to be read during switching so as to start a corresponding database without starting the UI, further the switching process is simplified, and switching efficiency is increased.

Description

technical field [0001] The invention relates to the field of Android platform interface, in particular to a language switching method and system based on the Android platform. Background technique [0002] In the Android 3D UI development process, we need to change different texts to display on the UI interface according to the languages ​​of different countries. The traditional approach is to put all the internationalized resources in the So dynamic library according to the skin-changing principle. One language corresponds to one dynamic library. When the program is running, it loads different So dynamic libraries to realize the switching of multi-language functions. The disadvantage of this is: you can’t switch languages ​​dynamically, and you have to restart the UI if you change the language; in addition, if you use the dynamic library method, if the program needs to modify resources, you need to update all the dynamic libraries, which is a cumbersome and easy-to-miss job...

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): G06F9/48G06F9/50
Inventor 赵智宝卢伟超
Owner TCL CORPORATION
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