摘要: public Notification(int icon, CharSequence tickerText, long when)Deprecated. Use Notification.Builder inst... 阅读全文
posted @ 2014-07-04 21:45 lyyh.victory 阅读(238) 评论(0) 推荐(0) 编辑
摘要: public void onItemClick(AdapterView parent, View view, int position, long id){ TextView idTV=(TextView)findViewById(R.id.ID); Strin... 阅读全文
posted @ 2014-06-22 21:56 lyyh.victory 阅读(714) 评论(0) 推荐(1) 编辑
摘要: 错误代码: LVbook=(ListView)findViewById(R.id.booklistID); try { LVbook.addHeaderView(getLayoutInflater().inflate(R.id.booklist_headid,... 阅读全文
posted @ 2014-06-22 11:37 lyyh.victory 阅读(293) 评论(0) 推荐(0) 编辑
摘要: ALTER TABLE语句:ALTER TABLEsql-statement ::= ALTER TABLE [database-name .] table-name alterationalteration ::= RENAME TO new-table-namealteration ::= ... 阅读全文
posted @ 2014-06-17 21:51 lyyh.victory 阅读(312) 评论(0) 推荐(0) 编辑
摘要: String [] from ={Books.Id,Books.Name,Books.Author,Books.Category}; int [] to={R.id.ID,R.id.nameID,R.id.authorID,R.id.categoryID}; ... 阅读全文
posted @ 2014-06-17 21:37 lyyh.victory 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: ListAdapter bookAdapter = new SimpleCursorAdapter(this,R.layout.booklist,cursor,from,to);提示:The constructor SimpleCursorAdapter(Context, int, Cursor,... 阅读全文
posted @ 2014-06-16 21:57 lyyh.victory 阅读(1098) 评论(0) 推荐(0) 编辑
摘要: 今天在Ubuntu下面使用adb安装软件包(成功):/sdk/platform-tools$ ./adb install ~/Downloads/com.douban.book.reader_31.apk 2271 KB/s (21646370 bytes in 9.304s) pkg: ... 阅读全文
posted @ 2014-06-15 11:29 lyyh.victory 阅读(863) 评论(0) 推荐(0) 编辑
摘要: 占没有查到替换的方法,先记着!The method startManagingCursor(Cursor) from the type Activity is deprecatedThe constructor SimpleCursorAdapter(Context, int, Cursor, St... 阅读全文
posted @ 2014-06-02 12:14 lyyh.victory 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 06-02 11:49:53.676: E/AndroidRuntime(12974): FATAL EXCEPTION: main06-02 11:49:53.676: E/AndroidRuntime(12974): java.lang.RuntimeException: Unable to s... 阅读全文
posted @ 2014-06-02 11:59 lyyh.victory 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: 布局代码: 错误信息:E/AndroidRuntime(2728): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.*****.Main}:java.lang.RuntimeExceptio... 阅读全文
posted @ 2014-06-01 21:52 lyyh.victory 阅读(146) 评论(0) 推荐(0) 编辑