安卓android网上订餐点餐菜系统源代码.docx
《安卓android网上订餐点餐菜系统源代码.docx》由会员分享,可在线阅读,更多相关《安卓android网上订餐点餐菜系统源代码.docx(9页珍藏版)》请在优知文库上搜索。
1、privateclassIoadAsyncTaskextendsAsyncTask0OverrideprotectedvoidonPreExecute()dialog=PrOgreSSDiaIog.s/?。W(DiSheSLiStACtivity.this,“提示二”获取中“);0VerrideprotectedStringdoInBackground(String.params)Stringjson=null;ServerUrl=AppConstant.gettrL(getApplicationContext()+ServletService?Action=getdisheslist&msg
2、=+params0;json=httpHelper.HttpRequest(ServerUrl);returnjson;0OverrideprotectedvoidOnPostExecute(Stringresult)super.OnPostExecute(result);dialog.dismiss();list=newArrayList();if(result!=null&result.trim().length()0)tryjSonArray=newJSoNArray(result);for(inti=0;i0VerrideprotectedvoidonPreEecute()dialog
3、=ProgressDialog.sho(PlaceOrderActivity.this,提示“,”获取中,请稍后.”);0VerrideprotectedStringdoInBackground(String.params)StringUrlString=AppConstant.gett/rL(getApplicationContext()+,ServletServicePAction=getOneRow;UrlString=UrlString+&Table=seats;Stringjson=httpHelper.HttpRequest(UrlString);returnjson;0Verri
4、deprotectedvoidOnPostExecute(Stringresult)super.OnPostExecute(result);dialog.dismiss();if(result.trim().length()0)tryjSonArray=newJSONArray(result);LinearLayout11=null;for(inti=0;iInteger.VaIUeof(id);setSel(););11.addView(imageview);if(i%6=0)IlSeat.addView(ll);catch(JSONExceptione)e.printStackTrace(
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- android 网上 餐点 菜系 源代码
