android progamming fundamentals
TRANSCRIPT
Formation
Android
Belfodil
AdnEne
CSE
I
Creating my
first android
application
1
2
3
4
5
6
7
8
Exemple
Exemple illustrant classes et objets
?
II
Button 1 Button 2
III
1
2
*
ViewClass myVue = (ViewClass) findViewById(R.id.myVueId)
TextView myTextView = (TextView) findViewById(R.id.myTextView1)
EditText myEditText = (EditText) findViewById(R.id.myEditText1)
Button myButton = (Button) findViewById(R.id.myButton1)
{…}but1 but.setOnClick
Listner()
[CTRL+SPACE]
setContentView(R.layout.newActivity)
I
A
B
Intent i = new Intent(Depart,Arrive)startActivity(i)I.putExtra(clé,Information)finish()
IV
V
VI
1
2
!