Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sidcley Soares.  Introduction to Android  Creating a hello world project in Android  Java Sockets  Android Sockets  references.

Similar presentations


Presentation on theme: "Sidcley Soares.  Introduction to Android  Creating a hello world project in Android  Java Sockets  Android Sockets  references."— Presentation transcript:

1 Sidcley Soares

2  Introduction to Android  Creating a hello world project in Android  Java Sockets  Android Sockets  references

3  Download version 1.5 (170 mb) ◦ http://developer.android.com/sdk/download.html? v=android-sdk-windows-1.5_r2.zip http://developer.android.com/sdk/download.html? v=android-sdk-windows-1.5_r2.zip ◦ Eclipse IDE using ADT( Android development Tools)

4

5

6

7

8

9  java.net.ServerSocket (Server)  java.net.Socket (client) More information at http://java.sun.com/j2se/1.5.0/docs/api/java/ net/package-summary.html

10

11

12  Server ◦ Client host:/127.0.0.1 ◦ From Java SDK  Client ◦ From Java SDK - by Java SDK Server

13 java.net.ServerSocket (Server) java.net.Socket (Client) More information at http://developer.android.com/reference/java/ net/package-summary.html

14

15

16  Server ◦ Client port:2802 ◦ Client host:/10.159.1.132 ◦ From Android

17

18  Package android.net ◦ LocalServerSocket  public LocalServerSocket (String name)String ◦ LocalSocket  public LocalSocket()

19

20

21

22

23  Basically both APIs are the same. Android uses the java API to communicate with other applications which are outside Android.  For internal calls Android provides its own set of Sockets. It is used to communite with aplications inside Android.

24  Android ◦ http://developer.android.com/guide http://developer.android.com/guide  Java ◦ http://java.sun.com/j2se/1.5.0/docs/api/index.ht ml http://java.sun.com/j2se/1.5.0/docs/api/index.ht ml


Download ppt "Sidcley Soares.  Introduction to Android  Creating a hello world project in Android  Java Sockets  Android Sockets  references."

Similar presentations


Ads by Google