You are on page 1of 12

Page No.

(1) Date

**************** k************

Altite gn Andleid Code fot Login lage hich antains


uSetname lassotd and S bmit Button.
Ahs
activity-maun. Xml
?
Xml Vet sion=""1.O encoding = "uff.8 "'
pedi
Text Vieu
andtoid : id ="@t id /text View
gndtoid : layout Didth " WlaP Co ntent
andtoid: layout -height ="waf Content"
gndroid: text = ""Shtidhat Kittane 7TyBc5-A
toolS:ayout - editor_ qbsolutX = "118dp
13

too ls: layout-editot_qbSofut y = 125dP7>

EditText "
gndroid: id = tid/editTeXt i
9ndkoid Jayout-width =268dP
qnd toid:layout.height = Cc45dp
android: ems = 10'

gndrojd:hint yserngme
andtoid: infut7yPe = textPe TSon

toolS:layout_editot absolutex =re1o2dp


toolS: layout_editot-qbsolutey: 16 3dp"/

e N*>**********TA
***************A(
Page No.( 2) Date
***************** *********.
KEdit TeXt
gndtoid: id t id/editText 2">
gndtoid: laVout_tdidth WfaP_ and toid ''
Cndfoid : layout-height " fap- Content"
gnd roid: ems = C10''
gndroid:hint = Pass0otd
tools layout a editot_absolute X 1o1de
toos: layout-editot qbsolutey-226dpI
<Button
gndtoid : id= @tid/button "

gndroid : layout_width= 134 dP


Cndrojd: layost-height odp
android : text ="Lo9in"
tools:ayoyt.-editokqbSolute X =""13 q de"
toolS: la yout-editot-ab Solutey e 322de *

Minactivity.Java|
PacKage Com.eXample, q55anment LL
Imfoti dndtaidX.aPPCamlat apP.APPComatActhvity
im Port android.0S.Bundd le
Public c lgsS Maingctivity extends APPComlatACHVIty

ovettide
Protected Void Oncfeqte (Byndd le SavedInStgnce
State)
Sufer, Oncreqte ( SavedInStan cestate);

*************** *k***k********
Date
age No. ( 3 )
********: ***** *************
Set Content Vied R layout.gctivity.main)

ODTPDT

Shridhqr Kirtone TYBCS A'

USername

PassWord

LOgin

************Pin tas
Nanded

*************
Date
Page No.(4)
**************** ************,
2 ) write ah Andtoid Code fot Togst Notificatfon
Ahs
dCtivity-main.Xml
Butto
ahdtoid:id = +id id /button
gndtoid: text = lick''
andtoid:layout-aidth ="Wlal Cootent
android : layout- heíght.= wfaf- Content
dndroid: layout_matginStett =3 6 dp''
gndroid: layout-nmat9inEnd 313dp"/>

MainActivity. JaVq
fackage Com. exXgmPle, qSSiinment 2_
imfottandtoidx.apComtapP.APPComPtAGHvity;
imfott android.os. Bunddle
imlo tt_android. View, Vie;
imPort qndfoid. idget.Button;
imfort dndtoíd.widget.Toqst;

Pub lic Class MainActivity extehds ApfComatAGtivnty


overhdc
Button bl;
ProteCted Void CnCleate (ynddle Saved Instoncestate)
Sufer. OnCteate. ( Saved Instancestate )
SetContentView R. layout qctivity. mqin
bi bi.findieoById (R.id.butHon ):
b1.SetonclickliStnek Cneud View, Onclick listnet ):

* ************ *************
a oveide
Public Veid Oncick Vico, ieud)

Tedst ! ineneo
Toqst.mak1ert. ( (ontext;McunAcHvrty.
this.text: " T o a s t N o t i f i c a t i o n " ,7 o q 5 t . IE NGTH

LoNG);
t1.sho

OUTPUT

CLICK ME

(Tost Nofitication)

inters
*************** Nanded
Page No.(6 )
**************** ************ae
ge

3 ) Creqte ajeb APP USing https://aPPsgeYsef, Com


Ans
SteP(1) Visit bttPS:// aPPs geyset. Com Website/ URL
Or ty fe httPS: // aPPS 9eyser.Com in ycuk web bo0se

SteP(2) click On create aPP butto n. this buttoh


load next Pa 9e of Website.

Step (3) Select In Divi DpAL' Categot foom the


Web Pa 9.

Stef (4) Sctoll do@n dnd Select Web APP


OPHon.

SteP (5) ah Se le ct_Choose Hile option and


upload your HTML AIchive file foom your
System/devjce.

Step C6) Click on NeXt button


SteP (7) GiVe hqme of your APPlicout1on and
CiCK Oh NeXt buftoh

SteP (8) choose an OPHon tor icon.


Default forP- defincdiC0n
CuG Tom con lor User- de fined icon.
************0
7 Date
ge No. (
***************{ *****************

SteP ) ckck on Mext button


StcP1o) Click On CREATE Buton
SIer
Step C)
C1) Fill yoq email id and Credeo Pass@od
qnd click Sign up. Tf yoy hayealread Creaded
and
aCCount wrth apps 9eVseY the Cho05e, loan oPion.
step (12) Aplicasion ARK'fie is Send to
HOUZ mesHHonrd_emal Addtess
Step 12) Check You emai d andinstall
Hou pplicaion_in you2Android device.

*************X*A **********Pgintei
Nanded
Date
PageNo.( 8)
***************** ******
k****
Get Cutrent Date and Time Using Andteid
Code
Ans

gCtivity-main.Xm
<XmlVersion = 1.0"en Coding = tf -
Relativelayout Xmlns: qndroid =c httP: // Schemas,
gndroid. Com/ afk/fes /gndroid
Xmlns : aPP "htfP: // Schemqs.
=
qnd foiq. Com/qfk /fes-
Guuto
Xmlns:toolS " httP
://Schemgs.qndtoid.com /too|s
qndroid: layout_width ="match-farent
qndroi gravity e Centre
=

rdtoid layout_height "match-fa


-
tent">
Jext Yiew
ghndroid: jd - " 4 io /date
gndtofd: layoyt -aioth
Draf- Content
=

gndroid:layout- heiqht= "Otaf- Content


qndroid: layout_CenterHotizonta l
andfoj: text Size er3asp " °*trye"
=

qndtojo : layout_mqhgin Botom e


36dP1" />
< RelativeLayout
e No.( Date
*************k
E****k************
Main ACtivity java

PacKaje Com. eXqmPle. Shhidbak. myaPPlieosfoh


mfot ndtojd. ahnotation. TatgetApi
imolt andtoid.OS. Bujld:
mfort and lojd. OS. Byndlee
mPolt andloid Supfott. V7.
aPf.APPComfatAtivity;_
mfort andfold Widget.Text Vie
imfort JaVa. text. SimPle Dotefovmat;
imfort JaVa util. Date
A.blic lqss MainActivity extends APPConafa ct Acivity

TatgetAPi (Build. VERSIoN- Codes. o


override
profected Void on Cleate Bundle saVedI nStance
Statc)
Sufer. On Cleate ( SavedInstance State )
SetContehtVieoCR layout.activity-mauin );
TextView textview =FindVeudBy Td CR.id.dade)
Simple Dote tolmat sdt= he SimPlePate Fotmat
yyyy. MM. dd G qt_
HH: mm SS 2 ) ;
uthentDateaadTime
Stling Cneo
Sthing fonmnat
Date C2);
textVieuo. Settext (CuHenT DateandTime

****************** k***********rinter
)
PageNo. (

OUTPUTE

MY APP|featioh

2 o18.12.13 AD gt 191354 4
GMI 0S:30
Page No. Date
*************** ***>*******
O) cleate Google MAP API Key.
scousacoan

AnS

Felleaina alk the StePs fot cheating Google MAP


P Key qS

s t You haVe togoOn httPS : // Console. Cloud


9oagle . Com/pooject
(2) clicK on cheate Pooject option

s)PooVvide Project hgme gnd click on cheate.


Cick on Select. Ptoject.

5 clicK on 3 hotizontql lines (E gn


chooseAPTS gnel SerVices oPtion qndet that
Cho ose Dashboahd
)Chck Oh ENABLE APTS AND SERVICES '
op+i0h

(7) Click on laps SDK fot Andtoid.

(s) ClicK On Enable

(9clicK On Cledentials oP-fion inside that


Click on Confi9ule Con sent Scveen

**************** * * * * * * i Nanded
nte
Date
Page No. ( 12)
****k***********A ************

(io) Choose yset yfe 'qid ick oh Create.

) Psovide APP infovmation like APP hqme,


emallA dd heSS SCroll down dn d Clic k Oh

Save and Contin yeb

(12) CCk on Back tD DqShbord theh Cick


On credentialS
(13) CliCK on create CredeTHa ls qnd theh
click on API key

API Key is Sucess fu ty Created.

You might also like