1-LAB
.docx
1 – Laboratoriyalıq jumıs
Tema: Android ortalıǵın ornatıw hám sazlaw. Android qollanbasın jaratıw hám beyimlestiriw
Jumıstan maqset: Android operacion sisteması ushın qollanbalar jaratıwda kerekli bolǵan barlıq instrumental programmalıq qurallardı ornatıw hám dáslepki mobil qollanbalardı (Android sisteması ushın) jaratıw kónlikpelerine iye bolıw. Student usı ámeliy jumıs dawamında tómendegilerdi orınlawı kerek boladı:
Java development kit (JDK) ti ornatıw
Android SDK (Software Development Kit) ti ornatıw
Eclipse IDE nı ornatıw
Android development tools (ADT) eclipse ushın plugin di ornatıw
Android virtual mashinasın (AVD) ornatıw
Androidta qollanba islep shıǵıw ushın tómendegi programmalar ornatılǵan bolıwı kerek.
Java Development Kit (JDK)
Android Software Development Kit (SDK)
Eclipse (kompilyator)
Eclipse hám SDKnıń birgeliktegi kórinisi yaǵnıy ADT (Android developer tool) di de ornatıw múmkin.
Androidta qollanbalardı iske túsiriw ushın Android Virtual Device (AVD) virtual ortalıǵı bolıwı.
Tiyis bolǵan programmalıq qurallardı ornatıw hám sazlaw tómendegi adımlar menen kórsetilgen:
1-adım: Java development kit (JDK) ti ornatıw (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
2- adım: Android SDK (Software Development Kit) ti ornatıw (http://developer.android.com/sdk/index.html)
3- adım: Eclipse IDE ni ornatıw (http://www.eclipse.org/downloads/)
4- adım: Android development tools (ADT) eclipse ushın plugin di ornatıw (https://dl-ssl.google.com/android/eclipse/)
5- adım: Android virtual mashinası (AVD) nı ornatıw
Biraq joqarıdaǵı izbe-izlik ornına biz tikkeley ADT – Android Development Toolkit (Android SDK – Software Development Kit) ornatsaqta boladı. Bunda álbette Java development kit (JDK) ornatılǵan bolıwı lazım. Tómende ADT (Android development toolkit) hám Android virtual mashinasın (AVD) ornatıw izbe-izligi keltirilgen.
JDK (Java Development Kit, offer latest version)
ADT – Android Development Toolkit (Android SDK – Software Development Kit) http://developer.android.com/sdk/index.html?utm_source=weibolife#download
Joqarıda berilgen internet siltemesinen ADT kóshirip alınadı hám arxivtan shıǵárılıp “eclipse” papkasınan eclipse.exe fayli iske túsiriledi.
Qosımsha sazlaw (SDK nı ornatıw hám AVD jaratıw)
SDK Manager (SDK nıń kerekli bolǵan atributların ornatıw: SDK Platform, ARM)
AVD (Android Virtual Device) nı jaratıw
“CreatenewAVDwindow” aynasındaǵı kórsetilgen maydanlar toltırıladı
Jaratılǵan AVD nı iske túsiriw
Create virtual Device in your PC (for example Tablet Samsung Nexus 10)
To do this log in to system if you have account (if you Do not have account, you should register by this link https://cloud.genymotion.com/page/customer/login/ )
Note: offer email in gmail.com
After registration check your email and activate your account in genymotion.com. After this you ready to download software
Download GENYMOTION software by this link (for free)
https://cloud.genymotion.com/page/launchpad/download/
Start install (genymotion-2.1.0-vbox.exe)
Genymotion works by Virtual machine (Oracle Virtual Box) and it automatically installed Virtual machine on your PC. After installation you should setting up some attributes on genymotion window
Select “No” and click “Setting”, then choose “ADB” section and put your SDK folder to “Path to Android SDK” (following picture) (in my casee:\data\Android\MC_Android\Install\adt-bundle-windows-x86_64-20131030\sdk\)
Add virtual device, to do this click “Add”
Click button “Connect” and fill required field (Username and password which you used download software)
Select available devices from “Available virtual devices” section or use “Device model” field to filtering devices type
Choose one of the Samsung Tablet type and click “Next” and then again “Next”
And then you should bind your ADT with genymotion virtual device (in my case Nexus 10 – Android OS version 4.4.2).
Open Eclipse (ADT)
Help - > Install new software
Copy the linkhttp://plugins.genymotion.com/eclipseandpaste to “Work with” location and click the “Add” button to install software (following picture)
After installation restart your eclipse (ADT) and Run your project, your result will be appear genymotion virtual device
Genymotion Virtual device like Samsung Nexus 10
Your project result (simple example)
Ózbek tilinde: http://opennet.uz/timnet4u/androidda-tezkor-emulator-genymotion-virtual-mashinasidan-foydalanish.html internet resursınan alıwıńız múmkin.