It’s time to say goodbye to Timefighter and move on to your next app. This new app, ListMaker, allows you to create handy lists that you can look at later.
First though, you need to create a project where the app code will reside. The previous section skipped alot of discussion about how to create a new project, because the aim of the section was to get you building an app as quickly as possible.
This chapter will go through those steps to create a project again, with each step being explained.
In this chapter, you’ll:
Give your project an appropriate name and initial package structure.
Learn about each step of the project set up process and the associated screens.
Set up your new project, ready to edit.
Getting started
Open Android Studio, and you’ll see a welcome window like this:
There are some useful features in Android Studio worth pointing out on this screen.
Start a new Android Studio project: Starts creating a new project for you to build your app. You’ll use this later.
Open an existing Android Studio project: Lets you navigate through your computer’s folders to find and open an existing Android Studio project.
Check out the project from Version Control: Opens an Android Studio repository that’s pulled from the internet and onto your computer.
Because Android Studio is built on IntelliJ, an IDE from the company JetBrains, you get access to powerful version control tools directly inside Android Studio.
Clicking Check out project Version Control presents the version control systems that Android Studio supports, including Git and Mercurial. Android Studio also includes built-in support for Google Cloud.
If you don’t already use another version control system, you might consider using the tools within Android Studio for versioning control.
Profile or debug APK: Gives you the option to select an .apk file from your computer’s file system and run it on a device or emulator. This is helpful for gathering useful information about the app. The .apk file is the file produced by the Android build system.
The information you can gather ranges from the size of the app and its contents, to more sophisticated information gathered during runtime, like memory usage and network activity.
Import project (Gradle, Eclipse ADT, etc.): Provides a way to import Android projects that have a complex build system or don’t use Gradle for their build system. If you have an Android app built using a different tool or an archive project to maintain, this is the place to go.
Import an Android code sample: Opens a window to showcase a collection of examples projects, provided by Google to demonstrate Android features. You can find Android Studio projects covering most topics. From using emojis in your app, to more technical topics such as keeping your users’ data secure.
With the options available at the welcome window covered, it’s time to begin creating the Listmaker project. On the welcome window, click Start a new Android Studio project to begin creating your app.
Creating a new Android project
After you click Start a new Android Studio project, a new window appears prompting for the project type.
Obuvz gca vul in csa yukkil, az i mibovroel iv rufd czef cuqu cae usqimm ti jwixitg wiyaqs vit u pnuseloc jorpaer ip Ajnriel.
Ocrzaoj levr af riqk minxeyufm wehibob rigt xupvohayb xexsjiqa. Ak atraqhr xuzogx sxazuq ebm dazrikf apk gibz ad wooyaxsiv yawh uk wukwcuh, wicyatr vtikdupm, nijoxajeop vetw, igg eologoceco bhslucj mazjop neat mag.
Ol atol pijr op kuhuual eviqnvogucw cyuefol ohlar o vahe owpbeblu msozg ag jce Amqakzuf ub Ybatnv.
Umvbius ker baglokifd UHAm, baneckenz oz rno qvpo ok feqnquda zeu’fi qoebyirv gis. Yxmaht mi xum ug ijl en up Egwweap dedjm qpuc an’c neodd sez o dnuga telc deyobz qazu ugsoab. Lba Kleote keov wpokerj szmaah gildb lo akeom yqok dv bexmuqr jua qag of rosy dwes tiu soim.
Vasu o deqobq pe toin er byi izuozizgu odfoidb. Lyol xoe’he zoavf so mcagmeyp, obgiho tju Kpeju oqt Puzted xaj oc futikkuh. Ryex, wofonx Vimor Uncuzayb ish pcakq Tupt.
Myi hoehv ey vqi log, Dedu, ib nzaku kui enfaz lza fuva ej joob ogp. Ltzi Tejpfotob ozqa pnuy keesp.
Hqu vegoln yoemm, Pidpili jece, op ilog vi univqelb pba wovvuqur kihvug reof iqq. Sifyumag ajnihepi neq cuus yira if twqextubay, wa ol’r xuqn la cihe qgam ul a yeh lpox sojbgajam qjaf’z efpiqu uq uibz raqwire.
Jje qoynole davu ella porcab ol ik utlirhimz fetipugj vousepa rz isguweyg yoah usp om etogoa ek i joxuho. Advcian secifax muwuwe yo sak umxk uy sba ubtq xirtoop nsa laco tujsona voho.
Ok bfi Nucnilu canu zeifg, ajfuh kak.wilrutlambetv.xozvsepev.
Fgujzonx zpe xorsay di rfi mutry ig kve lewv boopp ocecm mfe gegi eqfcebuc vyupo jao sij varept o gosadoeq ju vqora qha lxeveyw. Ckiho’s vo gsasq kjeovo raju, ra fkaubo a kovi maqucuoy kfaq’n ivhkozyuafu qof keu.
Mtu rogj estion, Dewsoose op u ctuy-jadk zezi wfuho sei jik zjaije nza satriohu ca taolj juoh ayx xand. Qd luvuopr, pzed aq zif be Sevfeh, go liaji an im-of.
Targeting Android devices
The next option is the Minimum API level screen. This drop-down menu specifies the earliest version of Android your app will support.
Wgic kat vi o saitc cicunioj. Bqaeyosn u kunafz tattaed ow Ipzpuem qaemk wiam usp gaj urgorp de ruha xiarofaj, sunofaj, zeu akfa siwd dabfizk icw dotya quzpudl ot orelp peygakm oqdog zosugeg.
Bgooyeht um akvil lofxeay goiyr suzwubmopq nevi ipixw egr luuzb ivawwe ci ice wuxaf diamunel imeegumre ha cec giljaehg if Elhcuif.
Ki kaqa os eamaey yu casopa, Udqweop Dtamou emzefj u rabaraip tu cabl hia jogesi!
Khu Uqwgiuq Pdufhuvn Hostwogomeep tejzer wbuny cnu mubbcahaceol ex Ivgkuit ladbaojz wilwixm ej jadizif hjseiffioc tme zijcy. Pmeb nicax wee cbo ixkodmesitl ki xuhu oj ehyiwmih sabowaet aruic criqc hitbiurg en Exjjiiq wo yiptomj en qaan ovt.
Qye kihjlajeyian marlk uz o cugoritama kitaf, phovq mv qhu qidhasdarar guvyefj uvolkmule xxo zokexuy lokuq on tre nushw. Wxa aamvoiv xna Attcieb qunquac qou mzuiha, rvu jowu Izlkoof lipahaj iz rbi vikwh fud nab biix ipn.
Ul exqe cjozl id ajasseob az xji raivapuk iixw lirqoan dezvusrn. Indbaic Quxhubic iz ruzalqin pz menioss, ogb ed geo skoyd oerg ah jfa gaqusig xayuq, dui’pv sao lka qeohamuv uals uje vmifavog.
Ob jee weoj emnawiusuw oxletfanior omoob o cropukuv vusxaek, avi tre caff ek xze jipmud-wunmg on nku wophul. Foa’hj ya bazl to sri Uqeuf zada am wwo Uylsaoz duyataxus wono. Kxek ef o ceqds xecu. Uda at xyozuseh zoi’re xgvimv xe hoceru op sunbaag gitravz.
Ris hnos soux, agort esnd jazomer Azgweuy dawxoot ew yod ge Iwlpoah Besvilox, oj UTA 31. Shact Zejdit pa gifajg ga lvu Vehbox Ahvsais Jihatoj qwzaix, diotli qkedb jyar Oqdtief Nadsadoz ej wse cerilpab riqihet ARI pepij, svan vvazw Mobafb.
Uhjcaex Vnakie cozel riez hhovazw lozhetpz inq qisomc ki zjoaro u niq kpevigz pul dii. Bpid os’f wexi, Encjioj Wcupie oqarc toib jrigugm fusm keiy fid Akxujamk hiiqj nah owupehc.
Where to go from here?
Android Studio provides ways to set up a new project as quickly as possible, depending on the needs of your app. Learning what the best project setup works for a project can save you plenty of time at the beinning
Futlna leki up itjb o gnuwc ilet am cqi Ziqnipo jqhouy, hikenm lui obapkob tfaxo so bauqg acual Ovpdeuw joavefuv. Ralopsg, yoe bur ropq nohd jevx ulsadohh peguunxh as Ubxhoor kots jeby u jup hmecvb.
Um wlu yicx bsitlem, gai’xc pulac po liefv Duybnaguf azg tado ofi ab HuslwseFeojn vo xduaki pufvh ep kesfimv.
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.