Professional Documents
Culture Documents
application
stack
developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html
Simple
Ac*vity
Create
Android
application
Add
new
button
&
add
android:onClik
attribute
to
the
<Button>
element
Put
the
method
name
in
the
value
of
android:onClik
attribute
example
android:onClick
=startsecondAc+vity
Add
new
activity
(
File->New->Other->Android-
>Android
Activity)
Simple
Ac*vity
Create
Android
application
Add
new
button
&
add
android:onClik
attribute
to
the
<Button>
element
Put
the
method
name
in
the
value
of
android:onClik
attribute
example
android:onClick
=startsecondAc+vity
Add
new
activity
(
File->New->Other->Android-
>Android
Activity)
Example
name
Second
Intent
An
Intent
is
an
object
that
provides
runtime
binding
between
separate
components
(such
as
two
activities).
The
Intent
represents
an
apps
"intent
to
do
something.
Most
often
theyre
used
to
start
another
activity.
terminated
Stopped
---
not
visible,
does
not
have
focus,
can
be
terminated
Finished done
Tugas
Buatlah
sebuah
aplikasi
terdiri
dari
3
ac*vity
Kirimkan
text/pesan
ke
ac*vity
berikutnya
yg
diak*?an
h@p://developer.android.com/training/
basics/rstapp/star*ng-ac*vity.html