android level 1

1,285 views

Published on

android level 1
@ androiod camp
@devent 3
by dina wasef

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

  • Be the first to like this

No Downloads
Views
Total views
1,285
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

android level 1

  1. 1. Level 1 (beginner level)Dina Wasef
  2. 2. OverviewWhat is Android ??!! Android is an operating system designed for mobile device based on linux kernel . Led by google and owned by Open Handset Alliance. .
  3. 3. OverviewWHY ANDROID ??!! Free & open platform (stack). Give developper tool and libraries to make rich appliccation. Open for customization Android market
  4. 4. History of Android
  5. 5. ANDROID SOFTWARE STACK
  6. 6. Android and Java
  7. 7. APK File Dalvik executable This is the code that runs your application. Resources are everything that is not code. (XML,images ,video,layouts ,...etc) Native libraries (optionally)
  8. 8. INSTALLATION Installing Eclipse http://www.eclipse.org/downloads/ Installing the Android SDK Android Software Development Kit (SDK) is all you need to develop android application http://developer.android.com/sdk/installing.html
  9. 9. Sdk folder >>> tools>>> android
  10. 10. HELP >>> Install New Software >>> AddHttp://dl-ssl.google.com/android/eclipse
  11. 11. Windows>>preferences>>android
  12. 12. HELLO WORLDNew >> Android project
  13. 13. Mainfest.xml
  14. 14. res/layout/main.xml
  15. 15. Strings.xml
  16. 16. R.java
  17. 17. Hello world.java
  18. 18. MAIN BUILDING BLOCKS Activity. Intents. Services. Content providers.
  19. 19. Activity
  20. 20. Activity Consider usually as asingle screen that user see on device like text apps . ex. website . Each activity has its own cycle . It is implemented as aclass . When new screen opens prev.one paused and put in history stack .
  21. 21. INTETS They are system msg running inside device notifies apps for events, from hardware state to incoming data For android to move from screen to screen called intent You create your own intent object to launch aother apps
  22. 22. service It is the code that long lived and run without UI ex.media player apps & network download Media player Activity could start service using Context.startservice() to run in background to keep music going
  23. 23. ContetProvider sharable data storage Enable data sharing between apps Simple interface with insert , update Android development encourage other apps to have data while mainting complete control over data how to get accessed It is aclass the implement standard set of methods
  24. 24. UI Declarative Programmatic components layout Views
  25. 25. LAYOUTS Linear layout Frame layout Absolute layout Relative layout Table layout
  26. 26. Linear layout
  27. 27. Relative layout

×