Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Android progamming fundamentals

329 views

Published on

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

Published in: Education
  • Be the first to comment

  • Be the first to like this

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.  • • • •

×