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

正文內(nèi)容

android應(yīng)用程序校園通軟件的設(shè)計-資料下載頁

2025-07-07 11:38本頁面
  

【正文】 OUNT = account。 public static String TAB_TAG_SEARCH = search。public static String TAB_TAB_MORE = more。ImageView mBut1, mBut2, mBut3, mBut4, mBut5。TextView mCateText1,mCateText2, mCateText3, mCateText4, mCateText5。Intent mHomeItent, mChannelIntent, mSearchIntent, mAccountIntent, mMoreIntent。先聲明了用到的組件。從代碼中可以看出,MainActivity的主要功能就是軟件的導(dǎo)航欄。(2) :private void findviews(){ fun =(Button)findViewById()。 movie=(Button)findViewById()。 record=(Button)findViewById()。 tourism=(Button)findViewById()。 publicity=(Button)findViewById()。 clips=(Button)findViewById()。 }private void setListensers() { (clickfun)。 (clickmovie)。 (clickrecord)。 (clicktourism)。 (clickpublicity)。 (clickclips)。 }Private clickfun=new (){ public void onClick(View v){ Intent funint = new Intent()。 (, )。 startActivity(funint)。 }}。從代碼中可以看出,WidgetEntity類中有fun,movie,record,tourism,publicity,clips這6個功能模塊。而該頁的功能就是作為這六個功能的實現(xiàn)也簡單描述一下。(3)ExpandableListView expandableList。 TreeViewAdapter adapter。 SuperTreeViewAdapter superAdapter。 Button btnNormal, btnSuper。設(shè)置了二級菜單顯示校內(nèi)娛樂,三級菜單顯示校外娛樂 (adapter)。 (new OnChildClickListener() { @Override public boolean onChildClick(ExpandableListView arg0, View arg1, int parent, int children, long arg4) { String str = 歡迎各位同學(xué)積極參加 。 (, str, 300).show()。 return false。 } })。用Toast做了友情小提示。以上是Toast(透明試彈出型提示框)的實現(xiàn)代碼,其中包括了顯示內(nèi)容,顯示類型及顯示時間。 public static final int ItemHeight = 40。// 每項的高度 public static final int PaddingLeft = 30。// 每項的高度 private int myPaddingLeft = 0。// 如果是由SuperTreeView調(diào)用,則作為子項需要往右移 static public TextView getTextView(Context context) { lp = new ( , ItemHeight)。 TextView textView = new TextView(context)。 (lp)。 ( | )。 return textView。 } public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { TextView textView = getTextView()。 (getChild(groupPosition, childPosition).toString())。 (myPaddingLeft + PaddingLeft, 0, 0, 0)。 return textView。 } public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { TextView textView = getTextView()。 (getGroup(groupPosition).toString())。 (myPaddingLeft + (PaddingLeft 1), 0, 0, 0)。 return textView。 }二級菜單的具體代碼。菜單內(nèi)容實現(xiàn)方式,數(shù)據(jù)繼承位置的設(shè)定,及具體顯示方式。(4) 。 public View getView(int position, View convertView, ViewGroup parent) { ViewHolder viewHolder。 if (convertView == null) { convertView = (, null)。 viewHolder = new ViewHolder()。 = (TextView) ()。 = (ImageView) ()。 (viewHolder)。 } else { viewHolder = (ViewHolder) ()。 } ((position).getTitle())。 ((position).getImageId())。 return convertView。 }}使用gridView控件來實現(xiàn)圖片的顯示,并綁定一個textview來實現(xiàn)文字和圖片成組顯示。 用戶界面在用戶界面設(shè)計上,采用了咨詢軟件框架結(jié)構(gòu),提供直觀的交互操作。五個用戶界面風(fēng)格簡約、操作簡便,用戶體驗將非常好。 系統(tǒng)測試至此已經(jīng)完成了MySchool工程的代碼編寫工作,在這一節(jié)對MySchool工程進行測試,步驟及結(jié)果如下:(1) 啟動Android虛擬機在工程名Myschool上點右鍵,然后選擇“Run As”,然后選擇“Android Application”。 Android虛擬機啟動較慢。如下圖所示:(2) “分類”頁功能演示 5 總結(jié)經(jīng)過一個多月的努力,Android平臺手機資訊軟件終于完成了。由于對JAVA濃厚的興趣引發(fā)了我對Android的好奇心,從一開始什么都不懂一直摸索完成了這個軟件。 在這個過程中,我學(xué)會了很多知識,比如Android環(huán)境的搭建、Intent、Activity、Service、ContentProvider、SQLite等,但我學(xué)會的最重要的一點是,利用現(xiàn)有的資源去解決問題,在圖書館、在網(wǎng)絡(luò)上尋找答案。雖然,這個軟件目前運行良好,但是我認(rèn)為代碼的健壯行還很差,在整個工程的構(gòu)思方面也不足,用戶操作界面還不夠靈活,這些問題還需要今后逐一解決。與此同時,這個軟件還可以進一步擴展,例如“新聞模塊”、“信息分享”等,使功能更加強大,帶給用戶更好的體驗與生活的便捷。 參考文獻(xiàn)[1]GONG Lei,ZHOU and Research of Mobile Termination Application Based on Android[J]. Computer And Modernization. [2]Shane Conde.Android Wireless Application Development[M]. [3]Enck,W., Ongtang,M.,McDaniel,P. Understanding Android Security[J]. Security amp。 Privacy, ,7(1),P5057 [4]Sandeep Kumar. Location Based Services using Android[C]. Internet Multimedia Services Architecture and Applications (IMSAA), 2009 IEEE International Conference. P15[5]劉昌平,范明鈺. Android手機的輕量級訪問控制[J].計算機應(yīng)用研究,2010,7[6]Enck,W., Ongtang,M.,McDaniel,P. Understanding Android Security[J]. Security amp。 Privacy, ,7(1),P5057[7] 楊豐盛.Android應(yīng)用開發(fā)揭秘[M]. 北京:機械工業(yè)出版社, 2010.[8] 余志龍,陳昱勛,鄭名杰.Android SDK開發(fā)范例大全[M]. 北京:人民郵電出版社, 2010.[9] 張運芳.Android 創(chuàng)贏路線與產(chǎn)品開發(fā)實戰(zhàn)[M]. 北京:電子工業(yè)出版社, 2010.[10] 羅偉.Android平臺的即時通訊系統(tǒng)的研究與實現(xiàn)[D].碩士學(xué)位論文. 湖南師范大學(xué),2008[11] Frank Ableson.Introduction to Android development[EB/OL].,.[12] 胡偉 .Android系統(tǒng)架構(gòu)及其驅(qū)動研究[J] 廣州廣播電視大學(xué)學(xué)報,[13] 李苑.基于Android移動平臺的警務(wù)查詢系統(tǒng)[D].碩士學(xué)位論文. 南昌大學(xué),2009[14] 鄭建,賀超.Android和Chrome的發(fā)展與未來[J] .移動通信 ,[15] 張鵬.中國企業(yè)為什么青睞android[J] .通信世界
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1