freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

無(wú)線(xiàn)與移動(dòng)網(wǎng)絡(luò)終端開(kāi)發(fā)課程設(shè)計(jì)性實(shí)驗(yàn)報(bào)告-圖書(shū)管理app軟(更新版)

  

【正文】 獲取參數(shù)*/ String barcode = new String((barcode).getBytes(iso88591),UTF8)。 (barcode)。 (utf8)。 String sql = select * from users where userName= 39。 ResultSet rs = ()。 /*圖書(shū)所在類(lèi)別*/ private int bookClassId。 } public void setBookName(String bookName) { = bookName。 } public void setPublishDate(Timestamp publishDate) { = publishDate。 //圖書(shū)庫(kù)存文本框 private EditText ET_count。 private ListBookClass bookClassList = null。 btnAdd = (Button) findViewById()。 btn_bookImage = (Button) findViewById()。 // 設(shè)置圖書(shū)類(lèi)別下拉列表的風(fēng)格 ()。 } (().toString())。 ()。 /*獲取出版日期*/ Date publishDate = new Date(()1900,(),())。 String result = (book)。 (, )。 (, (out))。 = true。 (, 30, jpgOutputStream)。 = (opts, 1, 300*300)。 } })。 } })。 /*操作完成后返回到圖書(shū)管理界面*/ Intent intent = new Intent()。 if(() != null) { //如果圖片地址不為空,說(shuō)明用戶(hù)選擇了圖片,這時(shí)需要連接服務(wù)器上傳圖片 (正在上傳圖片,稍等...)。 } ((().toString()))。 (true)。 // 添加事件Spinner事件監(jiān)聽(tīng) (new BookClassIdSpinnerSelectedListener())。 int bookClassCount = ()。 ET_bookName = (EditText) findViewById()。 protected String carmera_path。 // 聲明圖書(shū)圖片框 private ImageView iv_bookImage。 } public void setBookImage(String bookImage) { = bookImage。 } public void setBookClassId(int bookClassId) { = bookClassId。 /*圖書(shū)數(shù)量*/ private int count。 } }catch (SQLException e) { ()。 and password=39。 (result)。 (bookImage)。 String bookImage = new String((bookImage).getBytes(iso88591),UTF8)。 (bookImage).value(())。 try{ ()。 String result = (barcode)。 (price)。 float price = ((price))。 (utf8)。 if((publishDate)!=null) publishDate = ((publishDate))。 } /** * see HttpServletdoPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Autogenerated method stub String action = (action)。 } catch (Exception e) { ()。 sql += () + ,publishDate=39。 } return book。 ((bookClassId))。 } return result。 String result = 。)。 sqlString += () + 39。 } } catch (Exception e) { // TODO Autogenerated catch block ()。 ((barcode))。% + barcode + %39。點(diǎn)擊更新按鈕,(url,params,”UTF8”)。獲取所有圖書(shū)類(lèi)別。(bookClassListItemListener)。在BookClassAddActivity中初始化xml布局中的控件。判斷獲取到的幾個(gè)重要字段對(duì)應(yīng)的組件EditView填入的值不是為空,(book),將頁(yè)面上獲取到的Book對(duì)象作為參數(shù)傳遞,并調(diào)用Service層中的方法。將可選內(nèi)容與ArrayAdapter連接起來(lái),bookClassId_adapter=newArrayAdapterString(this, m)。啟動(dòng)BookQueryActivity,并將BookListActivity先f(wàn)inish,等待之后在使用。在服務(wù)端和客戶(hù)端相結(jié)合這才能很好地完成整個(gè)項(xiàng)目。綜合性設(shè)計(jì)性實(shí)驗(yàn)報(bào)告實(shí)驗(yàn)項(xiàng)目名稱(chēng): 圖書(shū)管理App軟件 所屬課程名稱(chēng): 無(wú)線(xiàn)與移動(dòng)網(wǎng)絡(luò)終端開(kāi)發(fā) 學(xué)生姓名/學(xué)號(hào):魏連瑩041440512薛歡歡041440513楊紫舒041440514張 蒙041440515 董迎順041440516黃駿濱041440519李 俊041440521 學(xué)生所在班級(jí): 網(wǎng)絡(luò)14405班     依托實(shí)驗(yàn)室: 綜C701 實(shí)驗(yàn)學(xué)期:  2017年大三下學(xué)期 計(jì)算機(jī)科學(xué)技術(shù)學(xué)院 實(shí)驗(yàn)名稱(chēng)綜合實(shí)驗(yàn)  無(wú)線(xiàn)與移動(dòng)端開(kāi)發(fā)的綜合設(shè)計(jì)實(shí)驗(yàn)地點(diǎn) 綜C701實(shí)驗(yàn)日期2017621一、實(shí)驗(yàn)?zāi)康模罕驹O(shè)計(jì)是在學(xué)習(xí)Android平臺(tái)軟件開(kāi)發(fā)的課程基礎(chǔ)上進(jìn)行的一次綜合實(shí)踐。程序框架圖2 程序框架圖程序框架說(shuō)明:左側(cè)為服務(wù)器的數(shù)據(jù)操作框架,對(duì)前臺(tái)頁(yè)面?zhèn)魅氲臄?shù)據(jù)在后臺(tái)進(jìn)行增刪改查操作,并且對(duì)前臺(tái)傳過(guò)來(lái)的用戶(hù)信息在數(shù)據(jù)庫(kù)中進(jìn)行對(duì)比,對(duì)比成功之后才可以進(jìn)行登錄;右側(cè)為用戶(hù)端的設(shè)計(jì),就是用戶(hù)能看見(jiàn)的安卓頁(yè)面設(shè)計(jì)都在這里進(jìn)行編寫(xiě),界面設(shè)計(jì)都在layout里面,然后對(duì)界面的相應(yīng)控件進(jìn)行綁定,把適配器代碼寫(xiě)在activity包里。創(chuàng)建了三個(gè)按鈕,“添加圖書(shū)”、“查詢(xún)圖書(shū)”、“返回主界面”,點(diǎn)擊“查詢(xún)圖書(shū)”按鈕,(, )。獲取出版日期。在BookAddActivity中初始化xml布局中的幾個(gè)控件。,設(shè)置當(dāng)前activity界面布局setContentView()。 刪除圖書(shū)類(lèi)別功能,把不喜歡的圖書(shū)分類(lèi)刪除掉,實(shí)現(xiàn)效果如下:圖11 長(zhǎng)按顯示上下問(wèn)菜單圖圖12 成功刪除圖實(shí)現(xiàn)功能:刪除圖書(shū)類(lèi)別實(shí)現(xiàn)方法:,分別是“添加圖書(shū)類(lèi)別”、“返回主界面”兩個(gè)選項(xiàng)“刪除圖書(shū)類(lèi)別”、“編輯圖書(shū)類(lèi)別”,這里我負(fù)責(zé)的是刪除圖書(shū)類(lèi)別這一部分。 編輯圖書(shū)信息功能,用戶(hù)可以對(duì)圖書(shū)的信息進(jìn)行修改,實(shí)現(xiàn)效果如下:圖13 選編輯圖書(shū)信息圖圖14 進(jìn)行編寫(xiě)圖圖15 圖書(shū)更新圖實(shí)現(xiàn)功能:修改圖書(shū)信息實(shí)現(xiàn)方法:長(zhǎng)按菜單,觸發(fā)響應(yīng)函數(shù)onContextItemSelected(MenuItem item),點(diǎn)擊編輯圖書(shū)信息按鈕,初始化當(dāng)前Activity界面布局,通過(guò)findViewById方法實(shí)例化組件,將圖書(shū)信息回顯到EditText中,()。修改圖書(shū)類(lèi)別,在類(lèi)別名稱(chēng)選擇框里面把第八個(gè)“法律類(lèi)”進(jìn)行修改為“法律類(lèi)啊”。 if (!()) sql += and barcode like 39。 while (()) { Book book = new Book()。 (book)。,39。 sqlString += () + 39。 } /* 刪除圖書(shū) */ public String DeleteBook(String barcode) { DB db = new DB()。 } finally { ()。 ((barcode))。 } finally { ()。 sql += () + ,count=。 result = 圖書(shū)更新成功!。 // TODO Autogenerated constructor stub } /** * see HttpServletdoGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Autogenerated method stub (request, response)。 Timestamp publishDate = null。 } (/Books).append(\r\n)。 int count = ((count))。 (count)。 BookDAO bookDAO = new BookDAO()。 //客戶(hù)端查詢(xún)對(duì)象信息,返回json數(shù)據(jù)格式 //將ListPerson組織成JSON字符串 JSONStringer stringer = new JSONStringer()。 (publishDate).value(())。 int bookClassId = ((bookClassId))。 (bookClassId)。 PrintWriter out = ()。+userName +39。 while(()) { result=(id)+。 /*圖書(shū)價(jià)格*/ private float price。 } public int getBookClassId() { return bookClassId。 } public String getBookImage() { return bookImage。 // 出版日期控件 private DatePicker dp_publishDate。 /*要保存的圖書(shū)信息*/ Book book = new Book()。 ET_barcode = (EditText) findViewById()。 // 獲取所有的圖片類(lèi)別 bookClassList = ()。 // 將adapter 添加到spinner中 (bookClassId_adapter)。 /*驗(yàn)證獲取圖書(shū)名稱(chēng)*/ if(().toString().equals()) { (, 圖書(shū)名稱(chēng)輸入不能為空!, ).show()。 return。 (new Timestamp(()))。 (getApplicationContext(), result, 1).show()。 startActivityForResult(intent,REQ_CODE_SELECT_IMAGE)。 startActivityForResult(intent, REQ_CODE_CAMERA )。 (carmera_path, opts)。// 把數(shù)據(jù)寫(xiě)入文件 Fil
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1