LAB 7 · 2020-03-08 · iv. Then select About phone and tap Build number seven times ( some...

Preview:

Citation preview

1

• Done by:

Student.Muneera ALSubaie

LAB 7

1.1 By USB cable

2.2 By making APK version

1.1 By USB CABLE :

i. Connect your phone with your laptop with a

USB cable, then choose transfer files.

ii. Open settings in your android phone.

iii.Scroll down and select System.

Note: you don’t need to repeat this step only for the first time.

iv. Then select About phone and tap Build

number seven times ( some versions

require it three times only ) until it shows

you a message “ you’re developer now “.

Note :

You only need this step if it’s your first

time running app in your phone, while

Other steps are required everytime

You run it.

v. Return to the previous screen, scroll

down and tap Developer options.

Vi . scroll down and enable USB

debugging.

VII. Now from the android studio you’ll see your phone name instead of

the emulator. Press run and the app will show up with your apps in your

phone.

1.2 By making APK version :

Some phones doesn’t work with the previous steps. Thus we need to

have APK version.

An Android Package Kit ( APK ) is the file format used by the Android

operating system for distribution and installation of mobile apps.

Steps :

i. Open android studio.

ii. Go to Build > Build bundle(s) / Apk(s) > Build APK(s)

iii. Then the message below will appear :

Iv . Go to your android studio projects folder and choose the folder of

the project that you want to run in your device.

V. Go to app > build > outputs > apk > debug , then you’ll find a file

named : app-debug.apk.

VI. Now upload this file in either dropbox or google drive and send

the link to yourself through email for example.

VII. Once you have the link in your phone, open it and the following message

will appear:

VIII. It will open a new window

to ask you to download the app,

press install.

IX. Once it finish downloading it will show the following screen :

This is how your app icon will appear when you install it in your phone :

To have your own logo do the following steps :

1. Open android studio

2. Go to file > new > image asset

This is how your app icon will appear when you install it in your phone :

To have your own logo do the following steps :

1. Open android studio

2. Go to file > new > image asset, the following screen will appear :

You can choose the pic from (

path ) colored in red in the

picture. Then choose the way

you want it to look.

Recommended