With the prevalence of mobile tablet computers, more and more management systems need to support a variety of mobile devices. Most mobile phones and tablets support touch and low resolution. Therefore, they are different from PC interface input methods. Many software have to make a touch screen version when making the interface. The business logic layer in the background is the same as that on the PC, but the presentation layer is different. The screen of the touch screen version must adapt to low resolution and convenient finger operation. During debugging and testing, you pay more attention to operating on your mobile phone or tablet.
The following describes how to install an Android phone simulator on a PC and test the mobile client running the eworkflow workflow management system.
1. Download the android 4.0.4 SDK package
A. Download the android SDK starter package
Http://dl.google.com/android/android-sdk_r18-windows.zip
Download and decompress the Android-SDK-Windows Directory
B. Download the android SDK API level
Https://dl-ssl.google.com/android/repository/android-15_r03.zip
Download and decompress the Android-4.0.4 directory to the Android-SDK-Windows \ platforms directory.
C. Download Android SDK 4.0.4 system img
Https://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip
Go to the Android-SDK-Windows Directory, create a folder: System-images, go to the System-images directory, and create a folder: Android-15. Decompress the ZIP file and place the armeabi-v7a directory in the system-images \ Android-15 directory.
D. Download the android SDK platform-Tools
Https://dl-ssl.google.com/android/repository/platform-tools_r11-windows.zip
Download and decompress platform-tools to the Android-SDK-Windows directory.
2. Install the Java Runtime Environment
If the Java Runtime Environment has been installed on the machine, add java_home, classpath, and path to the environment variable.
Add the system environment variable java_home to the Java installation directory c: \ java6 \ jdk1.6.0
Added the system environment variable classpath setting value:.; % java_home % \ Lib;
Add the JDK path c: \ java6 \ jdk1.6.0 \ bin in path;
3. Create an android4 Simulator
Go to Android-SDK-windows and run AVD manager.exe.
Click new to create a manager.
Click Start-> launch to go to the phone simulator mobile phone page.
Initialization takes a long time. The simulated mobile phone interface is on the left and the control button is on the right. The small house is back to the main interface.
4. Run the simulator
The five icon buttons below are respectively phone number, address book, program list, SMS, and browser.
5. Go to settings to set language & input to Chinese.
6. Run the eworkflow management center in the browser.