Android progamming fundamentals

319 views

Published on

Formation android pour les débutant - première séance

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
319
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android progamming fundamentals

  1. 1. Formation Android Belfodil AdnEne CSE
  2. 2. I
  3. 3. Creating my first android application 1 2 3 4 5 6 7 8
  4. 4. Exemple Exemple illustrant classes et objets ?
  5. 5. II
  6. 6. Button 1 Button 2
  7. 7. III
  8. 8. 1 2 *
  9. 9. 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)
  10. 10. {…}but1 but.setOnClick Listner() [CTRL+SPACE]
  11. 11. setContentView(R.layout.ne wActivity)
  12. 12. I A B Intent i = new Intent(Depart,Arrive) startActivity(i) I.putExtra(clé,Information) finish()
  13. 13. IV
  14. 14. V
  15. 15. VI
  16. 16. 1 2 !
  17. 17.  • • • •

×