摘要: ///**获取手机各种信息**/String phoneInfo = "Product: " + android.os.Build.PRODUCT; phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI; phoneInfo += ", TAGS: " + android.os.Build.TAGS; phoneInfo += ", VERSION_CODES.BASE: " + android.os.Build.VERSION_CODES.BASE; phon 阅读全文
posted @ 2013-04-18 20:27 linsen@java 阅读(265) 评论(0) 推荐(0) 编辑
摘要: public static final HashMap<String, String> cmap = new HashMap<String,String>(){{ put("上海","330100"); put("杭州","310000"); } };Iterator iterator = Constands.cmap.keySet().iterator(); int ij = 0; String[] cityname = new String[Constands.cmap.size()]; 阅读全文
posted @ 2013-04-18 16:59 linsen@java 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 报如下错误:android.util.AndroidRuntimeException: You cannot combine custom titles with other title features这个问题主要是由下面语句造成的。 requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.main); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);原因暂时不是很清楚,在1,android4 阅读全文
posted @ 2013-04-18 14:28 linsen@java 阅读(2763) 评论(0) 推荐(0) 编辑