Twinning project - primary and secondary schools Android app Paper Generation System

 

The project on the basis of the personal care of the students on the project, to improve, to achieve the function.

Optimized UI, the new user registration page, send a verification code to bind phone number, the title is automatically generated and generates answer, multiple-choice answer interface.

First, add a style to optimize the login screen. Which added CirclelmageView library, use all kinds of color tag definition to be used. Custom EditText drawable input box in the style, the new style rectangle_text_view.xml file, the setting to a fillet shape, fill color set Stroke rectangular, corners.

Second, implement user registration function; use reuse the login screen to complete the user registration interface, and then implement SMS verification functions, we chose as our WghStudio short message service SMS service provider. Providing an interface via SMS a get request to the server, send text messages to a mobile phone is completed, transmits the get request is then verified by completing verification code.

Again, to achieve the title is automatically generated and generate answers. Specific ideas is to convert into a double in high school trigonometry data, square root square root of high school and are converted to double data so data have become the subject of the same type and primary schools, and finally we use postfix expression to complete the calculation.

Finally, there is the answer interface. We have adopted, specific ideas ViewPager plus Fragment of the structure is to be implemented in an array list inside, there will be double [] title stored inside answers, the score there is an array.

Elaborate answer function to achieve:

School part: by determining whether the sin, cos, tan, if, after the value taken perform trigonometric calculations, the original character positions in the calculated result is stored. Eventually all sin, cos, tan function is to complete the conversion.

 

 

 

Junior parts: for ^ (1/2) ^ and (2) determines the two-character, if it is determined that there is transformation, the calculated result of the positions corresponding to fill, if the number of bits is insufficient,! Up, finally! Deleted.

 

 

 

 

 

 

Primary part: The numbers and characters stored in the array, is calculated using the suffix expression, using two stacks to complete the calculation.

 

 

 

Eventually we realize settle all the needs of the project, but also a great harvest I never know how to write white interface, know the implementation of the interface, but also know some of the technical development of the Android app, more skilled use of Java program.

 

Guess you like

Origin www.cnblogs.com/hnuhujian/p/11601005.html