Mobile Development Articles

Page 114 of 156

How to print list values in reverse order using Collections.reverse() in Android?

Nitya Raut
Nitya Raut
Updated on 30-Jul-2019 546 Views

This example demonstrates How to print list values in reverse order using Collections.reverse() 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on refresh button to get the ...

Read More

How to remove unused space for arraylist Listview in Android?

Nitya Raut
Nitya Raut
Updated on 30-Jul-2019 286 Views

This example demonstrates How to remove unused space for arraylist Listview 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on ...

Read More

How to use typeof () in Android sqlite?

Smita Kapse
Smita Kapse
Updated on 30-Jul-2019 282 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrates How to use typeof () in Android sqliteStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a ...

Read More

How to set minimum capacity for arraylist Listview in Android?

Vrundesha Joshi
Vrundesha Joshi
Updated on 30-Jul-2019 168 Views

This example demonstrates How to set minimum capacity for arraylist Listview 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on refresh button to get ...

Read More

How to use unicode () in Android sqlite?

Anvi Jain
Anvi Jain
Updated on 30-Jul-2019 466 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 unicode () in Android sqliteThis example demonstrate about How to use unicode () in Android sqliteStep 1 − Create a new project in Android Studio, go ...

Read More

How to use unixepoch in Android sqlite?

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 236 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrates about How to use unixepoch in Android sqliteStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a ...

Read More

How to use comparator interface for Listview in Android?

Nitya Raut
Nitya Raut
Updated on 30-Jul-2019 383 Views

This example demonstrate about How to use comparator interface for Listview 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on ...

Read More

How to use fill() for Listview in Android?

Nitya Raut
Nitya Raut
Updated on 30-Jul-2019 479 Views

This example demonstrate about How to use fill() for Listview 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on refresh button to get ...

Read More

How to use unlikely () in Android sqlite?

Smita Kapse
Smita Kapse
Updated on 30-Jul-2019 171 Views

Before getting into 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 this database, you don't need to establish any kind of connections for it like JDBC, ODBC etc.This example demonstrates about How to use unlikely () in Android sqliteStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create ...

Read More

How to use rotate() for Listview in Android?

Jennifer Nicholas
Jennifer Nicholas
Updated on 30-Jul-2019 306 Views

This example demonstrate about How to use rotate() for Listview 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 name and record number as Edit text, when user click on save button it will store the data into arraylist. Click on refresh button to ...

Read More
Showing 1131–1140 of 1,551 articles
« Prev 1 112 113 114 115 116 156 Next »
Advertisements