摘要:public class DbOpenHelper extends SQLiteOpenHelper { private static String name = "test.db"; /* 数据库名称 */ private static int version = 1; /* 数据库版本号 */ public DbOpenHelper(Context context) { ... 阅读全文
posted @ 2019-11-15 19:54 福彩快三预警软件—thomas_blog 阅读 (63) 评论 (0) 编辑
摘要:出现问题原因:编译socket.dll时,用到了openssl库。使用libeay32.lib、ssleay32.lib生成socket.dll,就会报这样的错误解决办法:使用libeay32.dll、ssleay32.dll生成socket.dll 阅读全文
posted @ 2019-11-09 17:25 福彩快三预警软件—thomas_blog 阅读 (100) 评论 (0) 编辑
摘要:完成共享参数的读写public class SharedPreference { private Context context; public SharedPreference(Context context) { // TODO Auto-generated constructor stub this.context = context; } ... 阅读全文
posted @ 2019-11-06 16:43 福彩快三预警软件—thomas_blog 阅读 (65) 评论 (0) 编辑
摘要:出现如下错误:DDMS files not found: xxx\hprof-conv.exeThe connection to adb is down, and a severe error has occuredPlease ensure that adb is correctly located at 'D:\tools\android-sdk\platform-tools\adb.exe'... 阅读全文
posted @ 2019-11-05 22:53 福彩快三预警软件—thomas_blog 阅读 (27) 评论 (0) 编辑
摘要:private NotificationManager manager; private Notification.Builder builder; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... 阅读全文
posted @ 2019-11-05 20:14 福彩快三预警软件—thomas_blog 阅读 (80) 评论 (0) 编辑
摘要:protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); ... 阅读全文
posted @ 2019-11-05 18:35 福彩快三预警软件—thomas_blog 阅读 (56) 评论 (0) 编辑
摘要:private int hourOfDay, minute; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ... 阅读全文
posted @ 2019-11-05 15:43 福彩快三预警软件—thomas_blog 阅读 (22) 评论 (0) 编辑
摘要:private int year; private int monthOfYear; private int dayOfMonth; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC... 阅读全文
posted @ 2019-11-05 15:27 福彩快三预警软件—thomas_blog 阅读 (26) 评论 (0) 编辑
摘要:public class CustomDilaog { private Context context; private Dialog dialog; public CustomDilaog(Context context) { this.context = context; dialog = new Dialog(context); } ... 阅读全文
posted @ 2019-11-05 14:17 福彩快三预警软件—thomas_blog 阅读 (34) 评论 (0) 编辑
摘要:protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); ... 阅读全文
posted @ 2019-11-05 13:10 福彩快三预警软件—thomas_blog 阅读 (26) 评论 (0) 编辑