Microsoft Word 2-deadline docx



Download 1,51 Mb.
bet1/2
Sana13.11.2022
Hajmi1,51 Mb.
#865201
  1   2
Bog'liq
Abduraximov Elbek 612 19 guruh, lab 6 - 10 mobil


FISH

GURH

Abduraximov Elbek

612-19

Labaratoriya ishi № 6.


Mavzu: Android Studio dasturini o`rnatish.
Android Studionni Windows 10 x64-bit ga o’rnatish
Ko’chirib bo’lganingizdan so’ng sizda xuddi shu ekran ochilishi kerak. Android Studio Setup (Figure 1)

Next tugmasini bosgan holda keyingi oynaga o’tamiz, ya’ni Android Virtual Device paneliga (AVD).

Men default bo’lgan sozlamalarni turganini ma’qul deb bildim.Yana Next tugmasini bosamiz va Configuration Settings bo’limiga o’tamiz. Bu yerda siz Android Studioni qayerga o’rnatish kerakligini belgilaysiz.

Next tugmasini bosamiz, va Choose Start Menu Folder paneliga o’tamiz.

Bu yerda ham hech narsaga tegmagan holda Install tugmasini bosamiz.

O’rnatish jarayoni tugagandan so’ng sizda ushbu oyna ochiladi.



Va Next tugmasini bosgandan keyin jarayon yakunlanadi va Finish tugmasi ochiladi.

Finish tugmasi bosilishi bilan Android Studio avtomat ishga tushadi va birinchi bo’lib sizdan android studioga tegishli loyihani ya’ni proektni ochishni yoki ochmaslikni so’raydi.

Bu yerda agar proektingiz bo’lsa 1 radio buttoni tanlasangiz bo’ladi yoki ikkinchisi tanlab jarayonni davom ettiramiz.


Android Studio kerakli bo’lgan SDK ko’chirishni boshlaydi
Bundan so’ng Android Studio Setup Wizard dialogi chiqadi.

Next tugmasini bosgan holda sozlamalarni sozlab ketaveramiz:



Bundan so’ng yana Next tugmasini bosamiz va keyingi bosqichda o’zingiz ko’rib turgandek theme tanlaymiz ya’ni o’zimiz qulay bo’lgan UI theme.



O’zingizga yoqqan theme tanlab bo’lgandan so’ng Next tugmasini bosib keyingi oynaga o’tamiz:

So’nggi qism barcha kerakli fayllar yuklash jarayoniga ham yetib keldik.Finish tugmasini bosib bir oz kutamiz kerakli fayllarni yuklash jarayoni bir oz muddatni o’z ichiga oladi.

Finish tugmasini bosgan holda Welcome Android Studio oynasiga o’tamiz.



Android Studio sizdan loyihangiz uchun kerakli faktorlarni tanlashingizga imkoniyat beradi ya’ni target devices… Buni boshida shunday qoldirsangiz ham bo’ladi va Next.

Endi activityni sozlashga ham keldik, o’zingiz uchun kerak bo’ladigan activity turini tanlang va davom ettiring Next. (Men Empty Activity da davom ettirdim).


Labaratoriya ishi № 7.


Mavzu: Android Studioda ikki sonni qo`shish dasturi.

package com.example.labor7;


import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle;
import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView;

public class MainActivity extends AppCompatActivity { EditText numberOne, numberTwo;


TextView natija; Button plus; @Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);

numberOne =(EditText)findViewById(R.id.numberOne); numberTwo =(EditText)findViewById(R.id.numberTwo); natija = (TextView)findViewById(R.id.natija);


plus = (Button) findViewById(R.id.plus);

plus.setOnClickListener(new View.OnClickListener(){ @Override


public void onClick(View view) {
int a=Integer.parseInt(numberOne.getText().toString()); intb=Integer.parseInt(numberTwo.getText().toString()); int sum=a+b;
natija.setText("Natija "+sum);

}
});





Labaratoriya ishi № 8
Mavzu: Android Studioda jadvallar bilan ishlash.

Familya

Ism

Yosh

Tug`ilgan joy

Abduraximov

Elbek

22

Farg’ona

Xamma o`zini familiya, ism, yosh va tug`ilgan joyini yozsin.



tools:context=".MainActivity">

android:background="@color/sariq">
android:layout_height="wrap_content" android:text="@string/col1" android:textColor="@color/black" android:padding="10sp" android:textSize="14sp" android:layout_weight="4" android:gravity="center_horizontal"/>
android:layout_height="wrap_content" android:text="@string/col2" android:textColor="@color/black" android:padding="10sp" android:textSize="14sp" android:layout_weight="4" android:gravity="center_horizontal"/>
android:layout_height="wrap_content" android:text="@string/col3" android:textColor="@color/black" android:padding="10sp" android:textSize="14sp" android:layout_weight="4" android:gravity="center_horizontal"/>




android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal" android:padding="10sp" android:text="@string/col4" android:textColor="@color/black" android:textSize="14sp" />


android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal"
android:padding="10sp" android:text="@string/col5" android:textColor="@color/black" android:textSize="14sp" />


android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal" android:padding="10sp" android:text="@string/col6" android:textColor="@color/black" android:textSize="14sp" />




android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal" android:padding="10sp" android:text="@string/col7" android:textColor="@color/black" android:textSize="14sp" />


android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal" android:padding="10sp" android:text="@string/col8" android:textColor="@color/black" android:textSize="14sp" />

android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="4" android:gravity="center_horizontal" android:padding="10sp" android:text="@string/col9" android:textColor="@color/black" android:textSize="14sp" />












8labor
FIO
YOSH
Manzil
Ne'matov
22
Andijon
Bahodirjon
22
Andijon

Labaratoriyaishi № 9


Mavzu: Android Studioda mini kalkulyator yasash.





xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ffbb99"
tools:context=".MainActivity">
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/Num1"
android:ems="15"
android:hint="Birinchi_nsonni_kiriting"
android:inputType="number"
android:layout_gravity="center"
android:layout_margin="50dp"
android:gravity="center"
android:autofillHints=""
/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/Num2"
android:ems="15"
android:hint="ikkinchi_nsonni_kiriting"
android:inputType="number"
android:layout_gravity="center"
android:layout_margin="50dp"
android:gravity="center"
android:autofillHints=""
android:inputTure="number"

/>

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/sumbtn"
android:ems="15"
android:hint="Kopayrtirish"
android:layout_gravity="center"
android:gravity="center"
/>
Labaratoriya ishi № 10.
Mavzu: Android Studioda ma’lumotlar bazasi bilan ishlash bo`yichanazariy.

Download 1,51 Mb.

Do'stlaringiz bilan baham:
  1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish