| | |
| | | |
| | | |
| | | |
| | | import java.lang.reflect.InvocationTargetException; |
| | | import java.lang.reflect.Method; |
| | | import java.util.Map; |
| | | import java.lang.reflect.InvocationTargetException; |
| | | import java.lang.reflect.Method; |
| | | import java.util.Map; |
| | | |
| | | import android.content.Context; |
| | | import android.content.SharedPreferences; |
| | | import android.content.Context; |
| | | import android.content.SharedPreferences; |
| | | |
| | | public class SPUtils |
| | | { |
| | |
| | | public static final String DES_HEX_PWD = "des_pwd"; |
| | | public static final String PLATFORM_IP = "platform_ip"; |
| | | public static final String PLATFORM_PORT = "platform_port"; |
| | | public static final String MAP_PATH = "map_path"; |
| | | public static final String CAR_PATH = "car_path"; |
| | | |
| | | /** |
| | | * 保存数据的方法,我们需要拿到保存数据的具体类型,然后根据类型调用不同的保存方法 |