Found 2041 Articles for Mobile Development

How to use OR Conjunctive Operators in Android sqlite?

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

47 Views

Before getting into example, we should know what sqlite data base 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrate about How to use OR Conjunctive Operators in Android sqlite.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details ... Read More

How to make a txt file and read txt file from internal storage in android?

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

2K+ Views

This example demonstrates How to make a txt file and read txt file from internal storage 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 editext and button. When user click on button, it will take data from edittext and store in internal storage as /data/data//files/text/sample.txt. It going to append the data to textview from sample.txtStep 3 − Add the ... Read More

How to use LIMIT Cause in Android sqlite?

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

345 Views

Before getting into example, we should know what sqlite data base 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrate about How to use LIMIT Cause in Android sqlite.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to ... Read More

How to use Singleton Notification in android?

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

223 Views

Before getting into an example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store.This example demonstrates How to use Singleton Notification in androidStep 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 ... Read More

How to use LIKE Cause in Android sqlite?

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

133 Views

Before getting into example, we should know what sqlite data base 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrate about How to use LIKE Cause in Android sqlite.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to ... Read More

How to use Singleton Alert Dialog in android?

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

365 Views

Before getting into example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency, and creating a central point of access for an application to access its data store.This example demonstrates How to use Singleton Alert Dialog in androidStep 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 ... Read More

How to use Android TEXT TO SPEAK from Singleton?

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

105 Views

Before getting into example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency, and creating a central point of access for an application to access its data store.This example demonstrates How to use Android TEXT TO SPEAK from SingletonStep 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 IS NOT NULL in Android sqlite?

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

432 Views

Before getting into example, we should know what sqlite data base 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrate about How to use IS NOT NULL in Android sqliteStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details ... Read More

How to use Android Media Player Singleton?

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

353 Views

Before getting into an example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store.This example demonstrates How to use Android Media Player SingletonStep 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, ... Read More

How to use DISTINCT to remove duplication in Android sqlite?

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

82 Views

Before getting into example, we should know what sqlite data base 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrate about How to use DISTINCT to remove duplication in Android sqlite.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required ... Read More

Advertisements