Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

1-LAB

.docx
Скачиваний:
1
Добавлен:
27.11.2023
Размер:
2.57 Mб
Скачать

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.

  1. Java Development Kit (JDK)

  2. Android Software Development Kit (SDK)

  3. Eclipse (kompilyator)

  4. Eclipse hám SDKnıń birgeliktegi kórinisi yaǵnıy ADT (Android developer tool) di de ornatıw múmkin.

  5. 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.

  1. JDK (Java Development Kit, offer latest version)

  2. ADT – Android Development Toolkit (Android SDK – Software Development Kit) http://developer.android.com/sdk/index.html?utm_source=weibolife#download

  3. 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.

  4. 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

  1. Create virtual Device in your PC (for example Tablet Samsung Nexus 10)

    1. 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

    1. After registration check your email and activate your account in genymotion.com. After this you ready to download software

    2. Download GENYMOTION software by this link (for free)

https://cloud.genymotion.com/page/launchpad/download/

    1. Start install (genymotion-2.1.0-vbox.exe)

    1. 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

    1. 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\)

    1. Add virtual device, to do this click “Add”

    2. Click button “Connect” and fill required field (Username and password which you used download software)

    1. Select available devices from “Available virtual devices” section or use “Device model” field to filtering devices type

    1. Choose one of the Samsung Tablet type and click “Next” and then again “Next”

    1. 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.

Соседние файлы в предмете Mobil qosimshalar