Android中有很多方法存储数据,如SharedPreferences.SQLite数据库等.简单数据的存储适用SharedPreferences. 本文使用SharedPreferences写入和读出address_server.port_server和port_client三个数据. 首先,需要先定义sp和editor两个变量: // SharedPreferences变量 public static SharedPreferences sp; public static Editor e
[0]写在前面 0.1) these codes are from 基于Apache POI 的从xlsx读出数据 0.2) this idea is from http://cwind.iteye.com/blog/2187670 , adding some comments for easy understanding proves to be my work. package com.cwind.poi; import java.io.File; import java.io.FileIn