6. ANDROID
• Operating System
• Developed by Google
• Latest release: “Oreo”
• Written In:
Java
c++
kotlin
• File Extension: .apk
• Tools : Android Studio
7. Java Network Programming
• Writing programs that execute multiple across devices
• Java.NET package of the J2SE APIs contains a collection of classes
and interfaces
Network Protocol
TCP UDP
8. Two Basic Subjects:
• Socket Programming
• URL Processing
Socket Programming
• Java.net.Socket
• Java.net.ServerSocket
ServerSocket Class Method:
1. public ServerSocket(int port) throws IOException
2. public ServerSocket(int port, int backlog) throws IOException
3. public ServerSocket(int port, int backlog, InetAddress address)
4. public ServerSocket() throws IOException
9. Socket Class Methods:
1. public Socket(String host, int port) throws UnknownHostException, IOException.
2. public Socket(InetAddress host, int port) throws IOException
3. public Socket(String host, int port, InetAddress localAddress, int localPort) throws IOException.
4. public Socket(InetAddress host, int port, InetAddress localAddress, int localPort) throws
IOException.
URL Class Methods:
1. public URL(String protocol, String host, int port, String file) throws MalformedURLException
2. public URL(String protocol, String host, String file) throws MalformedURLException
3. public URL(String url) throws MalformedURLException
4. public URL(URL context, String url) throws MalformedURLException
10. Google Services
Google offers a variety of services and tools besides its basic web search.
List of Google services :
• Google search
• Google Shopping
• AdMob
• AdSense
• Blogger
• Google docs
• Google drive
• Gmail
• Google+
• Google Play music
• Google Play services
• GO
• Google Maps
• Android
• Google Translate
• YouTube
• Google Firebase