Jennifer Nicholas has Published 329 Articles

How to get programmatically android version number?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrates How to get programmatically android version number.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 ... Read More

How to use smallint value in Android sqlite?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

77 Views

Before getting into an example, we should know what SQLite database in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built-in SQLite database implementation. SQLite supports all the relational database features. In order to access ... Read More

How to set subtitle for action bar in android?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

709 Views

This example demonstrates How to set subtitle for action bar 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 ... Read More

Find size of array in C/C++ without using sizeof

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

5K+ Views

In this program, we find out Find size of array in C/C++ without using sizeof.AlgorithmBegin Initialize the elements of the array. &a => This is the pointer to array which points at the same memory address as a. &a + 1 ... Read More

How to read a txt file in external storage with runtime permission in android?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

842 Views

This example demonstrates How to read a txt file in external storage with runtime permission in android (we have already created a folder called text and sample txt file in external storage).Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all ... Read More

How to verify action bar is showing or not in android?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

187 Views

This example demonstrates How to verify an action bar is showing or not 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.   ... Read More

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

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrate about How to send data from one activity to another in Android without 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. ... Read More

How do conversion operators work in C++?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

195 Views

In this article, we will see what is the conversion operator in C++. C++ supports object-oriented design. So we can create classes of some real-world objects as concrete types.Sometimes we need to convert some concrete type objects to some other type objects or some primitive datatypes. To make this conversion ... Read More

How to save database in local storage of android webview?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrate about How to save database in local storage of android webview.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. ... Read More

Fetch top 10 starred repositories of user on GitHub using Python?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

71 Views

Git is the most popular version control system, where millions of developers manage their project or files (code). In this we will try to fetch top 10 most starred repositories within a month.As we are mainly scraping the GitHub repositories, we are going to use mainly the, Requests & BeautifulSoup ... Read More

Advertisements