Android Report Internship

Embed Size (px)

Citation preview

  • 7/24/2019 Android Report Internship

    1/38

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    2/38

    2

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    3/38

    Acknowledgements

    First, I would like to thanks Mr Suenaga, my tutor during this internship, who gave me this

    interesting project, and gave me his help , his time and the tools to make my project properly

    I also would like to thanks Mr !atrick Le"egue, my #rench tutor, "ecause it is thanks to him that I

    had the possi"ility, to do my internship in $apan

    %e&t I would like to thanks Mr Ousaka, Mr 'aino, Mr (ajima, and all the sta## #rom the S%)*, #or

    their kindness and #or their welcome

    Finally, I would like to thanks the students o# my la"oratory, especialy *akeasumi Sato, #or their help,

    #or their #riendship and #or helping me to discover *he "est parts o# $apanese culture

    3

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    4/38

    Abstract

    I #inished my studies at iut +a+ o# Lille with an internship a"road, an internship with the aim to

    improve my technical a"ilities in computer science, English, "ut also in $apanese, "ecause this course is held

    in $apan, a country that I love #or many years

    My topic #or this internship was to learn how to create an application in android, the oogle

    operating system #or mo"ile devices *he design o# such an application is made in slightly modi#ied $ava *he

    purpose o# the #inal application is to help students to speak easily with the $apanese It is a system o#

    data"ases that allows the user to have English phrases and their translations in $apanese So I also used my

    knowledge o# data"ases during my internship

    *his internship allowed me to increase my knowledge in $ava, a language with which I had many

    di##iculties, "ut also to discover di##erents aspects o# $apanese culture and wonder#ul people who made this

    internship really enriching #or me

    4

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    5/38

  • 7/24/2019 Android Report Internship

    6/38

    Contents

    Acknowledgements..........................................................................................................................3

    Abstract............................................................................................................................................4

    Introdution.......................................................................................................................................5

    1.Presentation of the work environment. .............................................................................................7

    1.1 a!an......................................................................................................................................7

    1.2 "#$%....................................................................................................................................&

    1.3 'aborator(.............................................................................................................................) 1.3.1 Presentation............................................................................................................)

    1.3.2 *+ui!ment available ..............................................................................................)

    2.,( !ro-ect /ow to create Android a!!lication.............................................................................10

    2.1 Android................................................................................................................................10

    2.1.1 hat is android ....................................................................................................10

    2.1.2"!ecifications ........................................................................................................10

    2.1.3$haracteristic of the market ...................................................................................11

    2.1.4. h( Android is better .........................................................................................13

    2.2 irst !ro-et task killer........................................................................................................14

    2.2.1 %he basics of creating a!!lications........................................................................14

    2.2.2 %he !ro-ect..............................................................................................................172.2.3 Im!rovements ........................................................................................................21

    2.3 "econd !ro-ect ..................................................................................................................22

    2.3.1 atabases...............................................................................................................22

    2.3.2 %he !ro-ect..............................................................................................................22

    2.3.3 im!rovements.........................................................................................................33

    3. hat did I learn ...........................................................................................................................34

    3.1. %echnical(..........................................................................................................................34

    3.2. /umanl(............................................................................................................................34

    $onclusion..........................................................................................................................................34

    A!!endies.........................................................................................................................................35

    6

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    7/38

    1.Presentation of the work environment.

    ,-, Japan

    Since the "eginning o# my studies, I wanted to do my internship a"road, "ut I didn+t know i# I could

    do it *hen I discovered that there was opportunity #or me to go to $apan, so I did not hesitate, it is a

    country that I love #or many years now - country with a culture so special, "athed in a contradiction

    "etween high technology and persistent traditions

    $apan is an archipelago o# 8,9:; islands *he #our largest islands are

  • 7/24/2019 Android Report Internship

    8/38

    *oday, $apan is one o# the leading nations in the #ields o# scienti#ic research, particularly technology,

    machinery and "iomedical research %early @, researchers share a USDB "illion research and

    development "udget, the third largest in the world $apan is a world leader in #undamental scienti#ic

    research, having produced thirteen %o"el laureates in either physics, chemistry or medicine,three Fields

    medalistsand one auss !ri5e laureate

    ,-* SNCT

    3ith rapid progress and remarka"le technological developments in $apan during the early D?8+s,

    every #ield o# our society #elt the need #or trained technical e&perts *his led to the esta"lishment o# a new

    type o# a higher educational institution, the college o# technology - college o# technology admits students

    #rom junior high school, who then study one organi5ed curriculum #or #ive years

    *he esta"lishment that welcomed me #or my placement is one o# them It is called S%)* that means

    Sendai %ational )ollege o# *echnology It educate junior high school graduates who will work as engineersStudents are here #or at least #ive years, and can o"tain an associate degree *hey can also continue #or two

    more years in advanced courses to have a "achelor+s degree (ou can #ind the choices that a student has #or

    "eing engineer in the appendi&es *he college mottoes are spirit o# independence, sel#Crespect and

    e&ploration o# possi"ilities

    *here are several departments in this college whiich are 4 eneral Sciences, In#ormation and

    )ommunication Engineering, Electronic Engineering, Electronic )ontrol Engineering, In#ormation

    &

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    9/38

    Engineering *he advanced courses are also divided in two categories which are Electronic Systems and

    In#ormation Systems

    ,-( "a#orator%

    ,-(-, Presentation

    I am in the la"oratory o# !ro#essor Suenaga *he la"oratory is part o# Electronic )ontrol Engineering

    .epartment, "ut since this year, a new perspective o# work was put in place, which is .epartment o#

    Intelligent Systems and Electronics *he pro#essor is currently working on human inte#ace, and more

    particulary on mo"ile devices inter#aces Gecause it+s more e##icient and more convenient than "ig

    computers *hat+s why my su"ject #or this placement was to study the way to create android application

    ,-(-* E.uip'ent availa#le

    *o do my internship in good conditions, I had at my disposal the tools necessary #or my

    advancement First I worked with my own laptop, which allowed me to work e##ectively immediately *hen

    the teacher Suenaga "rought me a Mo"ile .evelopment !lat#orm, which serves to developers *his device

    can emulate any mo"ile OS, and has all the #eatures o# the latest mo"ile phones *his device is called HOOM

    OM-! ; and is manu#actured "y *e&as I didn+t used a lot this device, "ecause it was mostly #or the camera,

    "ut i didn+t work 0uckly enough to code the use o# the camera

    Finally, the documentation I #irst I got a "ook called -ndroid -pplication .evelopment, "ut the

    pro"lem with this "ook is that it is in $apanese *he only thing I could do was to look at the sample codes

    and try to understand *he second "ook is !rogramming Gi"le #or -ndroid ;D *here was two pro"lems

    with this "ook *he #irst was that it was in japanese too, ans the second pro"lem was that it was as its name

    suggests #ocused on -ndroid ;D, whereas I was working on -ndroid D: so, many possi"ilities that -ndroid

    ;D does o##er could not assist me in -ndroid D: *he last "ook is -ndroid 3ireless -pplication

    .evelopment *his "ook talked a"out wireless application "ut it had all the "asics that I needed *he only

    pro"lem with this "ook was that I received it in the lasts weeks

    )

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    10/38

    *-M% pro+ect : /o0 to create Android application-

    *-, Android

    *-,-, 1hat is android 2

    -ndroid is "asically an operating system #or smartphones Gut we #ind now integrated into !.-s,

    touch pads or televisions, even cars /trip computer1 or net"ooks *he OS was created "y the startCup o# the

    same name, which is owned "y oogle since ;:

    2.1.2Specifications :

    *his operating system is "ased on version ;8 o# Linu&, so it has a monolithic system kernel, what

    means that all system #unctions and drivers are grouped into one "lock o# code

    -rchitecture 4

    -ndroid consists o# #ive layers4

    C*he Linu& kernel ;8Cwhich includes use#ul drivers that allow #or e&ample 3iFi or Gluetooth

    C*he li"rary written in ) and ) J J that provide higher level #unctionality such as an

  • 7/24/2019 Android Report Internship

    11/38

    C*he user applications written in $ava /3e" "rowser, contact manager etc 1

    )urrent ersion

    *oday android is in its :th version, -ndroid ;D Each version is designed to gradually correct the lack

    o# -!Is, to enhance the user inter#ace and add #unctionality *he latest version adds such things as support

    in

  • 7/24/2019 Android Report Internship

    12/38

    created

    C!alm OS devices on !.-

    CGlack"erry4 which team the same name smartphones

    C3indows Mo"ile4 which team smartphones and !.-s

    CSy"ian4 )urrent Market Leader

    'ey partners

    *o help launch -ndroid, oogle has created an alliance o# thirty companies in order to develop

    standards #or mo"ile devices *here is, among others4

    COperators such as %** .okomo, *CMo"ile or Gouygues *elecom

    CO#Ce0uipment manu#acturers like Sony Ericsson or Samsug

    CManu#acturers o# semiconductors, including Intel and %vidia

    C)orporate "usinesses

    market share

    *he android market share continues to increase since its inception, and is likely to continue

    clim"ing "ecause it is #avored "y "ig players like

  • 7/24/2019 Android Report Internship

    13/38

    2.1.4. Why Android is better

    Applications

    C google applications

    -ndroid includes most o# the time many oogle applications like mail, (ou*u"e or Maps

    *hese applications are delivered with the machine most o# the time, e&cept in certain cases, such as some

    phones running android on which the provider has replaced oogle applications "y its own applications

    Cwidgets

    3ith android, it is possi"le to use widgets which are small tools that can most o#ten get

    in#ormation *hese widgets are directly visi"le on the main window

    C-ndroid Market

    *his is an online so#tware store to "uy applications .evelopers who created applications

    can add them into the store, and these applications can "e downloaded "y users, they can "e "oth #ree and

    paid

    Multitasking

    -ndroid allows multitasking in the sense that multiple applications can run simultaneously

    3ith *ask Manager it is possi"le view all running tasks and to switch #rom one to another easily

    SDK

    - development kit has "een put at disposal o# every"ody -ccordingly, any developer can

    create their own applications, or change the android plat#orm *his kit contains a set o# li"raries, power#ul

    tools #or de"ugging and development, a phone emulator, thorough documentation, F-Ks and tutorials

    13

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    14/38

    Modifiability:

    *his allows everyone to use, improve or trans#orm the #unctions o# -ndroid #or e&ample trans#orm

    the inter#ace in #unction o# uses , to trans#orm the plat#orm in a real system em"edded Linu&

    *-* 3irst pro+et : task killer

    *-*-, The #asics o$ creating applications

    *o "egin to program #or -ndroid I needed some "asics, "ecause some elements are very di##erent,

    even i# programming an application in -ndroid uses the $ava language, there#ore, an o"ject oriented

    language Firstly, in an -ndroid application, there is no main method4

    pu#lic static void 'ain4String56 args78---9

    *his method that allows to launch a program in java is not present in an application android *his

    e&ample is only the #irst o# a long list So I+ll try to e&plain what I had to learn to use to create my #irst

    application which is the *ask 'iller

    Activity4

    -n activity is a user inter#ace that allows the user to interact with the screen, to per#orm actions

    For e&ample, a te&t messaging application could have an activity that displays a list o# contacts to send

    messages Once the contact is selected , activity could send in#ormation to a second activity that could

    serve to send the message to the contact

    3hen an application is launched, what it displays is the result o# an activity -t the code level, #or

    create an activity , you must create a class that e&tends the -ctivity class -n activity has a re0uired

    on)reate /1 method It is the main method *o interact with the program, through the activity, there must "e

    something displayed, that is why the activity, contains what is called views

    14

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    15/38

    View4

    a iew is the "asic "uilding "lock #or user inter#ace components - iew occupies a rectangular area

    on the screen iew is the "ase class #or widgets, which are used to create interactive UI components

    /"uttons, te&t #ields, etc1*here is di##erents kinds o# views, #or e&ample a Listiew is a"le to display only an

    interactive list o# what you want to display, while a 3e"iew allows you to to display a we" page -s said

    "e#ore, - view occupies a rectangular area on the screen *o organise these rectangles on the screen, there

    is a te&t #ile written in ML #or every di##erent screen

    Xml4

    ml means E&tensi"le Markup Language -ndroid provides a straight#orward ML voca"ulary that

    corresponds to the iew classes and su"classes *he goal o# using -ndroid+s ML voca"ulary, is to 0uickly

    design UI layouts and the screen elements they contain, in the same way that creating we" pages in

  • 7/24/2019 Android Report Internship

    16/38

    In the previous e&ample, here+s an ML layout that uses a vertical LinearLayout to hold a *e&tiew

    and a GuttonIt will "e possi"le to modi#y attri"utes the elements in the activity class that use this ML #ile

    For e&ample to change the te&t

    Intent :

    -n activity can o# course start another one, even i# it "ut to do this, it will need a special o"ject

    called Intent -n intent is "asia description o# an operation to "e per#ormed It can launch an -ctivity, send a

    "roadcastIntent to any interested Groadcasteceiver components, and communicate with a "ackground

    Service -n Intent per#orms "inding "etween the code in di##erent applications it can "e thought o# as the

    link "etween activities It is possi"le to add some in#ormations to an Intent, thanks to an o"ject called

    "undle, that you add to the intent thanks to the method 4

    IntentputE&tras/Gundle o"jet"un"le 1T

    AndroidManifest4

    -ndroidMani#est&ml #ile is necessary #or all android applications and must have this name in its

    root directory In the mani#est you can #ind essential in#ormations a"out the application #or the -ndroid

    system, in#ormations that the system must have "e#ore it can run any o# the application+s code

  • 7/24/2019 Android Report Internship

    17/38

    components

    C*he list o# the Instrumentation classes that provide pro#iling and other in#ormation as the

    application is running *hese declarations are present in the mani#est only while the application is "eing

    developed and testedT they+re removed "e#ore the application is pu"lished

    C*he minimum level o# the -ndroid -!I that the application re0uires

    C*he list o# the li"raries that the application must "e linked against

    3hit all theses elements, an application can "e created So i+ll e&plain my #irst application which was

    a *ask 'iller

    2.2.2 !he pro"ect

    For my #irst application, I was not really com#orta"le with android, so in this application there is only

    two di##erents screen, and so two di##erents activities, "ut it was a good training to try how to communicate

    "etween the activities, how to display elements /*e&tiew, Guttons 1 on the screen and how to interact

    with them

    17

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    18/38

    *he #irst screen is drawn in a linear layout which is the simplest layout mechanism availa"le on

    -ndroid you can add components hori5ontally or vertically *his is a pretty simple way o# getting

    components assem"led on a screen (ou can #ind the ML code #or this screen in the -ppendi&es -s you

    will see, there is one *e&tiew, two "uttons and again one *e&tiew

    *he two "uttons have "een declared in the ML #ile, "ut it is not enough #or them #or "eing active I

    must declare them in the code4

    private Gutton okGuttonT

    private Gutton 0uitGuttonT

    *hen you instantiate the "uttons4 they are linked with those o# the &ml #ile as #ollows4

    okGutton /Gutton1 #indiewGyId/ido'1T

    0uitGutton /Gutton1 #indiewGyId/id0uitter1T

    In this way it is now possi"le to interact with the "uttons, thanks to the ne&t method4

    GuttonsetOn)lickListener/On)lickListener listener1

    *he aim o# the +O'+ "utton is to access the process list, so to a new screen and thus a new activity4

    we will have a new Intent as e&plained previously *he action on the "utton code is as #ollow 4

    okGuttonsetOn)lickListener/new On)lickListener/1 V

    pu"lic void on)lick/iew v1 V

    tryV

    Intent i new Intent/*askManagerthis, !rocessListclass1T

    start-ctivity/i1T

    #inish/1T

    W

    catch/E&ception e1

    1&

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    19/38

    V

    *e&tiew e& new *e&tiew/*askManagerthis1T

    e&set*e&t/etoString/11T

    set)ontentiew/e&1T

    Loge/thisget)lass/1getSimple%ame/1, Erreur; 4, e1T W

    W

    W1T

    *o start an activity it is necessary to declare an intent and then implement it with what is called the

    conte&t /current activity1 and the name o# the class that de#ines the ne&t event /this one e&tends the

    -ctivity class1 *he ne&t screen is a list o# processes currently running on the device

    you must know that when the #irst o# an application+s components needs to "e run, -ndroid starts a

    Linu& process #or it with a single thread o# e&ecution Gy de#ault, all components o# the application run in

    that process

    *o view this list several things are essential Firstly, activity that allows the display o# the list is a

    1)

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    20/38

    List-ctivity, which allows com"ined with the ML #ile,the display o# a screen with a list For the ML #ile it is

    simply a *e&tiew For the code itsel# there are several things to e&plain

    First, to retrieve in#ormation on the processes, youmust declare the o"ject -ctivityManager It must then

    instanciate it so that it retrieves the system datas, and especially datas a"out activities *hen, the goal is torecover all the processes running, so we need a list to store data o# each process *his gives4

    androidapp-ctivityManager activityManager T

    activityManager /-ctivityManager1thisgetSystemService/ACTIVITY_SERVICE1T

    ListNunning-pp!rocessIn#oP procIn#osT

    procIn#os activityManagergetunning-pp!rocesses/1T

    *o then display the names o# the process /which will "e strings1, I created a list o# strings,

    and I picked the name o# each process It only remains then to show it on screen, I needed #or this

    a SetList-dapter, which converts the list into a viewa"le list *his gives4

    -rrayListNStringP stringList new -rrayListNStringP/1T

    #or /int i T iN procIn#ossi5e/1 T iJJ1

    V

    stringListadd/procIn#osget/i1process%ame1T

    W

    setList-dapter/new -rray-dapterNStringP/this, layoutlist, stringList11T

    *he last step is to de#ine the action to per#orm when the user clicks on a process

  • 7/24/2019 Android Report Internship

    21/38

    androidos!rocesskillProcess/procIn#osget/position1pid1T

    procIn#osclear/1T

    procIn#os activityManagergetunning-pp!rocesses/1T

    i#/XstringList;isEmpty/11V

    stringList;clear/1T

    W

    #or /int i T iN procIn#ossi5e/1 T iJJ1

    V

    stringList;add/procIn#osget/i1process%ame1T

    W

    setList-dapter/new -rray-dapterNStringP/!rocessListthis, layoutlist, stringList;11T

    Listiew lv getListiew/1T

    lvset*e&tFilterEna"led/true1T

    W

    W1T

    W

  • 7/24/2019 Android Report Internship

    22/38

    *-( Second pro+ect :

    *-(-, ata#ases

    For the second project, I needed to learn a new thing4 how to use data"ases in -ndroid I can use

    data"ases #or $EE, "ut in android is di##erent In #act there are readyCmade #unctions to manipulate s0lite

    which is the data"ase "uilt into android In this part o# the report, I will not reCe&plain the mechanisms

    already e&plained that were resolved such as how to display a te&tview or a list

    *o use a data"ase, we will create a class called

  • 7/24/2019 Android Report Internship

    23/38

    For these three sections, I will need to use B ta"les For each situation I+ll use a ta"le *he

    dictionary section, o##ers a ta"le o# English words, translated into $apanese *he ta"le has three

    columns which are I., wordD, word;4

    23

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    24/38

    For this ta"le, I made a class .ictionnary

  • 7/24/2019 Android Report Internship

    25/38

    s"append/3ords "eginning "y +s+4Zn1T

    #or /String name 4 names1 V

    s"append/name J Zn1T

    W

    set)ontentiew/layoutdictionnary1T

    tv /*e&tiew1 .ictionnarythis#indiewGyId/idt!1T

    Logd/E-M!LE, names si5e C J namessi5e/11T 66.ictionnarythisoutput /*e&tiew1

    .ictionnarythis#indiewGyId/idoutQte&t1T

    tvset*e&t/s"toString/11T

    returnGutton /Gutton1

    .ictionnarythis#indiewGyId/idret"rn_#"tton1T

    returnGuttonsetOn)lickListener/new On)lickListener/1 V

    pu"lic void on)lick/iew v1 V

    Intent i new Intent/.ictionnarythis, .ictionnaryclass1T

    start-ctivity/i1T

    #inish/1T W

    W1T

    W

    catch/E&ception e1

    V

    *e&tiew e& new *e&tiew/.ictionnarythis1T

    e&set*e&t/etoString/11T

    set)ontentiew/e&1T

    Loge/thisget)lass/1getSimple%ame/1, Erreur; 4, e1T

    W

    W

    W1T

    *he class has an o"ject .ictionary

  • 7/24/2019 Android Report Internship

    26/38

    W

    *he #unction 0uery/TABLE_NAME, new String[\ V wordD , word; W, wordD like

    +JlettertoLower)ase/1JA+ or wordD like +JlettertoUpper)ase/1JA+, null, null, null, wordD asc1 is

    e0uivalent as the s0l re0uest 4 select wordD, wor; in *-GLEQ%-ME /here it+s dicionary1 where wordD like +s

    A+ or wordD like +SA+ order "y wordD asc *he select #untion returns all the translations in a list, shown on

    the screen as #ollowed

    26

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    27/38

    *he situations section allows the user to "e a"le to #ind translated sentences depending on the

    situation in which he is For e&ample, i# he is in a store, he has a choice o# phrases such as how much does

    it cost7 -t the inter#ace level, this works in much the same way as the dictionary e&cept that the ta"le is

    di##erent4

    and that the select #unction now corresponds to select wordD, word; in situations 3

  • 7/24/2019 Android Report Internship

    28/38

    egarding the Brd section, there is a ta"le where the user can add, edit, delete, and o# course consult his

    own translations *he ta"le used has the same pattern as the dictionary ta"le *he mechanism o# the

  • 7/24/2019 Android Report Internship

    29/38

    2)

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    30/38

    I# the user wants to see the translations, it+ll "e like the dictionary and #or the re0uest it+s a simple

    SELE)* wordD, word; #rom translations

    egarding the addition, the user is #aced with this screen4

    30

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    31/38

    *o add, the user must enter an English word and a $apanese translation in the corresponding #ields *here is

    a test on the #ields, so when the user let a #ield "lank or let +phrase D+ #or the #irst #ield or +phrase ;+ #or two

    #ields, he must repeat the process and a message error appears4

    31

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    32/38

    I# the #ields are properly #illed, the application e&ecute the #ollowing s0l4 insert into situations values

    /+Nphrase DP+, +Nphrase ;P+1T the translation is added to the ta"le and the user is redirected to the main

    screen

    *o change a translation, the user arrives on a list with all traductions -ll he will have to do is click on

    the translation that has to "e amended,he will "e redirected to a modi#ication screen similar to the addition

    screen, "ut with #ields preC#illed with the words o# the translation

  • 7/24/2019 Android Report Internship

    33/38

    Finally, #or the delete part, the user arrives on a list o# translations, and pick the translation that he

    wants to delete *here is o# course a con#irmation screen to "e sure that the user makes no error I# the user

    cancels, he returns to the list, i# the 0uery is e&ecuted and he is redirect to the translations menu *he s0l

    re0uest is4 delete #rom translations 3

  • 7/24/2019 Android Report Internship

    34/38

    (- 1hat did ! learn 2

    (-,- Technical%

    First o# all I gained additional skills in the $ava programming language that was di##icult #or me

    "e#ore I learned also how to use a lot o# the components in eclipse such as the de"ugger I also learned a

    new language that is ML, a language I didn+t know at all earlier Finally, this project allowed me to use my

    s0l skills ac0uired during my studies

    (-*- /u'anl%

    *his placement and this project "rought me a lot o# things on a human level First in relation to it

    mysel# I had to ac0uire a large autonomy Indeed I knew nothing a"out android "e#orre, and I had to learn

    how to use, and create things on android "y mysel# *his "rought me a lot *his autonomy is also linked to a

    research spirit I had to try to #ind e&amples "y mysel# in the "ook written in $apanese, try to test new

    things, #or having nowhere to #ind answers Finally I was a"le to ac0uire through this course and also thanks

    to the project a "etter english

    Conclusion

    *hanks to this internship, which was also planned #or this, I discovered a country,a culture,and

    "eauti#ul people also learned new skills, and used all the things that I learned #or two years I do not regret

    anything in this e&perience and I thank all those who have allowed such a thing #easi"le *he $apanese will

    remain #orever engraved in my memory and I hope #rom my heart to come "ack one day and discover still

    other aspects o# this country so singular that is $apan *he people I met here are not just classmates,

    roommates and pro#essors, they are #riends, and once again I thank you all

    34

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    35/38

    Appendi;es

    !oices for students to become engineers

    35

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    36/38

    "e#as Instruments $MA% &$$M'

    36

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    37/38

    ode XM( for t!e first screen of t!e task killer

    N7&ml versionD encodingut#C97P

    NLinearLayout android4orientationvertical

    android4layoutQwidth#illQparent

    android4layoutQheight#illQparent &mlns4androidhttp466schemasandroidcom6apk6res6androidP

    N*e&tiew

    android4idRJid6te&t

    android4layoutQwidth#illQparent

    android4layoutQheight;9dip

    android4te&tRstring6welcomeQmessage

    android4gravitycenter

    android4te&tStyle"old6P

    NGutton

    android4idRJid6o'

    37

    ANDROID SYSTEMS

  • 7/24/2019 Android Report Internship

    38/38

    android4layoutQwidthDdip

    android4layoutQheightwrapQcontent

    android4layoutQ"elowRid6te&t

    android4layoutQgravitycenter

    android4te&tEnter6P

    NGutton

    android4idRJid60uitter android4layoutQwidthDdip

    android4layoutQheightwrapQcontent

    android4layoutQ"elowRid6o'

    android4layoutQgravitycenter

    android4te&tKuit6P

    N*e&tiew

    android4idRJid6te&t;

    android4layoutQwidth#illQparent

    android4layoutQheight#illQparent

    android4layoutQ"elowRid6o'

    android4te&tRstring6rights android4gravity"ottom6P

    N6LinearLayoutP

    ANDROID SYSTEMS