資源描述:
《[Android.in.Practice(2011)].Charlie.Collins.文字版》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、CharlieCollinsMichaelGalpinMatthiasK?pplerINPRACTICEIncludes91TechniquesMANNINGAndroidinPracticeAndroidinPracticeCHARLIECOLLINSMICHAELD.GALPINMATTHIASK?PPLERMANNINGSHELTERISLANDForonlineinformationandorderingofthisandotherManningbooks,pleasevisitwww.m
2、anning.com.Thepublisheroffersdiscountsonthisbookwhenorderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.20BaldwinRoadPOBox261ShelterIsland,NY11964Email:orders@manning.com?2012byManningPublicationsCo.Allrightsr
3、eserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodist
4、inguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthebook,andManningPublicationswasawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’sp
5、olicytohavethebookswepublishprintedonacid-freepaper,andweexertourbesteffortstothatend.Recognizingalsoourresponsibilitytoconservetheresourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlo
6、rine.ManningPublicationsCo.Developmenteditor:CynthiaKane20BaldwinRoadCopyeditor:BenjaminBergPOBox261Typesetter:GordanSalinovicShelterIsland,NY11964Coverdesigner:MarijaTudorISBN9781935182924PrintedintheUnitedStatesofAmerica12345678910–MAL–161514131211b
7、riefcontentsPART1BACKGROUNDANDFUNDAMENTALS......................................11■IntroducingAndroid32■Androidapplicationfundamentals403■Managinglifecycleandstate73PART2REALWORLDRECIPES......................................................994■Getting
8、thepixelsperfect1015■ManagingbackgroundtaskswithServices1556■Threadsandconcurrency1897■Storingdatalocally2248■Sharingdatabetweenapps2669■HTTPnetworkingandwebservices29510■Locationiseverything33411■Appealtothesensesusingmultimedia36312■2Dand3Dd