Introduction to Android Development Latest

  • 475 views
Uploaded on

 

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
475
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
34
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Application framework enabling reuse and replacement of components Dalvik virtual machine optimized for mobile devices Integrated browser based on the open source WebKit engine Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) SQLite for structured data storage Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) GSM Telephony (hardware dependent) Bluetooth, EDGE, 3G, and WiFi (hardware dependent) Camera, GPS, compass, and accelerometer (hardware dependent) Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE

Transcript

  • 1. Company LOGO Mobile Innovations Prof. Erwin M. Globio, MSIT Resource Speaker PROF. ERWIN M. GLOBIO, MSIT
  • 2. Company LOGO Introduction to Android Development PROF. ERWIN M. GLOBIO, MSIT
  • 3. Topics to be discussed...  Introduction to the Android Platform  Overview of the Android SDK in Eclipse  Working with the User Interface PROF. ERWIN M. GLOBIO, MSIT
  • 4. What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware and key applications. PROF. ERWIN M. GLOBIO, MSIT
  • 5. What are the features of Android?  Application framework  Dalvik virtual machine  Integrated browser  Optimized graphics  SQLite  Media support  GSM Telephony  Bluetooth, EDGE, 3G, and WiFi  Camera, GPS, compass, and accelerometer  Rich development environment PROF. ERWIN M. GLOBIO, MSIT
  • 6. Android Architecture PROF. ERWIN M. GLOBIO, MSIT
  • 7. Working with Android Development Tools (ADT)  The Android Development Tools (ADT) plugin for Eclipse adds powerful extensions to the Eclipse integrated development environment.  It gives you access to other Android development tools from inside the Eclipse IDE.  It provides a New Project Wizard It automates and simplifies the process of building your Android application.  It provides an Android code editor that helps you write valid XML for your Android manifest and resource files.  It will even export your project into a signed APK, which can be distributed to users. PROF. ERWIN M. GLOBIO, MSIT
  • 8. Installing ADT  To install in Eclipse 3.5 (Galileo) 1. Start Eclipse, then select Help> Install New Software 2. In the Available Software dialog, click Add.... 3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field. 4. Enter location https://dl-ssl.google.com/android/eclipse/ 5. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next. 6. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Nextto read and accept the license agreement and install any dependencies, then click Finish. 7. Restart Eclipse. PROF. ERWIN M. GLOBIO, MSIT
  • 9. What do you get? PROF. ERWIN M. GLOBIO, MSIT
  • 10. Application Fundamentals  Applications are written using Java  The Android Asset Packaging Tool generates apk (Android Package) files containing the code and any data and resources needed  Each application runs in its own Linux process  Each application has its own VM  Each application has its own user id, permissions are set accordingly PROF. ERWIN M. GLOBIO, MSIT
  • 11. Application Components  A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it)  Android applications don't have a single entry point for everything in the application (no main() function, for example)  They have essential components that the system can instantiate and run as needed PROF. ERWIN M. GLOBIO, MSIT
  • 12. Application Components  Activities - An activity presents a visual user interface for one focused endeavor the user can undertake.  Services - A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time.  Broadcast Receivers - A broadcast receiver is a component that does nothing but receive and react to broadcast announcements  Content Providers - A content provider makes a specific set of the application's data available to other applications. The data can be stored in the file system, in an SQLite database, or in any other manner that makes sense.  Intent - An intent is an Intent object that holds the content of the message PROF. ERWIN M. GLOBIO, MSIT
  • 13. Starting with an Activity  The main starting point of most applications  There is no concept of “main” program  Each activity can be executed or invoked at any time  One application can have multiple “activities”  An example of activity would be “Searching for an application in the store”  An Activity can have several “Views” or “View Groups” to define its user inteface. PROF. ERWIN M. GLOBIO, MSIT
  • 14. PROF. ERWIN M. GLOBIO, MSIT
  • 15. Like my Page: https://www.facebook.com/erwinglobio PROF. ERWIN M. GLOBIO, MSIT
  • 16. Thank you! PROF. ERWIN M. GLOBIO, MSIT