1 / 7

Introduction to Android Programming

Introduction to Android Programming. Essentials. Eclipse and Java SDK http://www.oracle.com/technetwork/java/javase/downloads/index.html http://www.eclipse.org/downloads/ Android SDK http://developer.android.com/sdk/index.html ADT Plugin for Eclipse

warner
Download Presentation

Introduction to Android Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Android Programming

  2. Essentials • Eclipse and Java SDK • http://www.oracle.com/technetwork/java/javase/downloads/index.html • http://www.eclipse.org/downloads/ • Android SDK • http://developer.android.com/sdk/index.html • ADT Plugin for Eclipse • http://developer.android.com/sdk/eclipse-adt.html#installing

  3. Hello World • http://developer.android.com/resources/tutorials/hello-world.html • Create AVD • Create a new project • Run the Application

  4. Debug/Logging • Breakpoints • Log Class of Android SDK • http://developer.android.com/reference/android/util/Log.html • Logcat for reading logs

  5. Useful pointers • http://developer.android.com/guide/developing/devices/emulator.html#connecting

  6. Project0 in a nutshell Main thread Server thread Connection thread • Initiate other threads • Handles GUI (Handler) • Listens for connections on SERVER_PORT • Handles input and output • Try connecting to local host on REDIR_PORT and create connection thread • Create server thread and start listening on SERVER_PORT (emulator) and create connection thread if there is any incoming connection

  7. Steps involved • Try connecting to local host on REDIR_PORT and create connection thread • Create server thread and start listening on SERVER_PORT (emulator) and create connection thread if there is any incoming connection • Local host • REDIR_PORT • Try connecting to local host on REDIR_PORT and create connection thread • Create server thread and start listening on SERVER_PORT (emulator) and create connection thread if there is any incoming connection

More Related