Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint
Cover Image
Cover Image
Drag to reposition
Contributed Answers

ipaddress - IPv4/IPv6 manipulation library in Python

Answered on 16th Apr, 2019, 0 Views

Internet Protocol is currently in the process of moving from version 4 to version 6. This is necessitated because version 4 doesn’t provide enough addresses to handle the increasing number of devices with direct connections to the internet. An IPv4 address is composed of 32 bits, represented into four eight bit groups called as "octets". This is a "dotted decimal" format where each ei.....

html.parser — Simple HTML and XHTML parser in Python

Answered on 16th Apr, 2019, 0 Views

The HTMLParser class defined in this module provides functionality to parse HTML and XHMTL documents. This class contains handler methods that can identify tags, data, comments and other HTML elements. We have to define a new class that inherits HTMLParser class and submit HTML text using feed() method. , We have to override its following methods , HTML tags normally are in pairs of startin.....

Bisect - Array bisection algorithm in Python

Answered on 16th Apr, 2019, 0 Views

Performing sort operations after every insertion on a long list may be expensive in terms of time consumed by processor. The bisect module ensures that the list remains automatically sorted after insertion. For this purpose, it uses bisection algorithm. The module has following functions: This method locates insertion point for a given element in the list to maintain sorted order. If it is .....

How to Use WiFi Direct on Android?

Answered on 16th Apr, 2019, 0 Views

This example demonstrate about How to Use WiFi Direct on Android Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , Step 3 − Add the following code to src/WifiDirectBroadcastReceiver , Step 4 − Add the following code to.....

How to pass large data between activities in Android?

Answered on 16th Apr, 2019, 0 Views

This example demonstrate about How to pass large data between activities in Android Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , Step 3 − Add the following code to src/User.java , Step 4 − Add the following code t.....

How to pass data from one activity to another in Android using shared preferences?

Answered on 15th Apr, 2019, 0 Views

This example demonstrate about How to pass data from one activity to another in Android using shared preferences Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , Step 3 − Add the following code to src/MainActivity.java , St.....

How to send data from one activity to another in Android using intent?

Answered on 15th Apr, 2019, 0 Views

This example demonstrate about How to send data from one activity to another in Android using intent. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , Step 3 − Add the following code to src/MainActivity.java , Step 4 &minus.....

Android scan wifi networks programmatically

Answered on 15th Apr, 2019, 0 Views

This example demonstrate about How to scan wifi networks programmatically. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , Step 3 − Add the following code to src/MainActivity.java , Step 4 − Add the following code to.....

Sending message through WhatsApp in android?

Answered on 12th Apr, 2019, 0 Views

This example demonstrate about sending message through WhatsApp in android Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , In the above code, we have taken text view. Step 3 − Add the following code to src/MainActivity.jav.....

How to use context in a fragment?

Answered on 12th Apr, 2019, 0 Views

This example demonstrate about How to use context in a fragment Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. , In the above code, we have taken two fragments. Step 3 − Add the following code to src/MainActivity.java , Ste.....

1 2 3 4 5 6 7 ... 38 Next
loader
Advertisements
Contribution

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.