BY request note description and feedback page

BY request note description and feedback page

Android works 4 years ago (2015-06-21) Views: 6 Comments: 0

First, software introduction This software is an Android user's big job: BY leave article means to provide students with basic functions such as leave request, counselor's leave, teacher confirmation, notification push, email notification and password reset. Interactive features such as live chat and chat (time is limited, this feature is not implemented). Second, software function introduction 1. Connected to the virtual host to achieve network login function, and remember the password and other details; 2. Use database management BY leave articles, course information, class information, leave records, class selection records; 3. Passing data in the form of a JSON packet: The server queries the database for the PHP language and the client resolves to the Android java language. 4. Two ways to deal with leave request: the counselor can use the Android client or click on the link in the email to directly approve and reject the student's leave request through the browser GET method; 5. Implementation of email reminder notification: Use the email address of leavepaper@wangbaiyuan.cn, when the student has a new leave request, counselor approval or refusal to take leave, notify the relevant personnel in a timely manner; 6. Sharing function: BY leave request for you to automatically

Detailed AndroidFragment life cycle

Detailed AndroidFragment life cycle

Hundred Encyclopedias Software development 4 years ago (2015-06-15) Views: 4 Comments: 0

1 two charts of life cycle Fragment life cycle diagram:   Fragment and Activity life cycle comparison chart: 2 Life cycle analysis 1. When a fragment is created, it goes through the following states. onAttach() onCreate() onCreateView() onActivityCreated() 2. When this fragment is visible to the user, it goes through the following states. onStart() onResume() 3. When this fragment enters "background mode", it will experience the following state. onPause() onStop() 4. When this fragment is destroyed (or the activity holding it is destroyed), it will experience the following state. onPause() onStop() onDestroyView() onDestroy() // originally missed this callback, thanks to xiangxue336. onDetach() 5. Just like activitie, in the following state, you can use the Bundle object to save a fragment of the object. onCreate() onCreateView() onActivityCreated() 6. Most of the states of the fragments are similar to activitie, but the fragment has some new states. onAttached() - called when the fragment is added to the activity (in this method you can get the activity). onCreateView() - This method is called when the activity wants the layout of the fragment. Fragment creates its own layout in it. onActivityCreated() - This method is called after the activity's onCreated() method returns onDestroyView() -

Android development using FontAwesome icon font

Android development using FontAwesome icon font

Front end and interface Software development 4 years ago (2015-06-11) Views: 4 Comments: 0

English original reference: https://github.com/liltof/font-awsome-for-android In a previous article, I introduced to you in the WEB front end using FontAwesome fonts. Font-Awesome is an icon collection font designed for Bootstrap, which contains more than 300 commonly used icons.Using Font-Awesome also has the following advantages: 1. Reduced drawing of icons 2. Can set the color and size of the icon 3. Reduce the size of the icon and reduce the size of the apk. Only one icon font file is required. There are no icon files of various sizes, such as HDPI, XHDPI, and other icon sizes. Android development using FontAwesome icon font Go to the Font-Awesome homepage and download the Font-Awesome font (fontawesome-webfont.ttf) file and place it under the project's assets directory. Find the string corresponding to the icon you want to use (font-awsome-for-android contains an icon and The corresponding file of the string, the latest correspondence is found in the font-awesome.css file in the css directory of the downloaded Font-Awesome font), the desired icon text is set in the TextView, and then the TextView font is set to Font-Awesome font defined.   Xml layout file code   Java code In addition, if you need to use the Font-Awesome icon in

Android development to achieve immersive status bar

Android development to achieve immersive status bar

Front end and interface Software development 4 years ago (2015-05-27) Views: 6 Comments: 0

After coming out of android4.4, the immersive status bar fired inexplicably, and recently, the Android phone of the extremely guest had inadvertently updated a few common software, such as everyday sounds, wps office, and found that these softwares have not changed substantially. However, they have gradually achieved immersive status bar effects.When the very guests first saw the term, they thought it was a very big technology and they didn't know whether or not you thought it.However, when we really know what the so-called and legendary immersive status bar is after, it is really discovered that it is not as famous as it is to meet. Whether or not immersive is tall, but it is very hot, it also becomes the highlight of each brush pack speculation in Brush Forum. .Extreme guests here are still introducing how to implement immersive status bar effects for mobile apps with Android 4.4 and above in Android development. Android's code to implement an immersive status bar is fairly simple.Add the following code in the activity code: Android development to achieve immersive status bar code:   Code analysis: Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT This sentence is to obtain the current mobile phone SDK version number is greater than

Android Virtual Machine Acceleration – Intel HAXM Accelerates the Real Machine

Android Virtual Machine Acceleration – Intel HAXM Accelerates the Real Machine

Software development 4 years ago (2015-05-04) Views: 6 Comments: 0

Quote: Android virtual machine is inherently slow? The speed of the Android virtual machine has always been known as slow. Frequent Caton's Android virtual machine is a very painful thing for developers, which greatly affects the developer's efficiency and mood.Now I would like to introduce a way to speed up the Android virtual machine. If your computer has an Intel CPU supporting Intel(R) Virtualization Technology (VT) (you can use VT technology, if you are an i5 or higher intel CPU , generally have this technology, if it is AMD's CPU should not be able to enjoy the following "welfare"), you may wish to try it, very guests since the use of Android virtual machine acceleration, run, debug the application of the speed to achieve true Speed. First, download the CPU/aBI for the intel atom Android system image Certainly taking into account compatibility issues and other reasons unknown to most guests, the off-the-shelf Android virtual machine downloaded from the Internet is often "armeabi-v7a", and the CPU system image of this architecture is not hardware of Intel(R) Virtualization Technology (VT). Acceleration, which is the reason for the slowness of the Android virtual machine card, may be the same as previous thoughts of

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW