Home » Author Archives: Cindy Potvin

Author Archives: Cindy Potvin

Cindy is a programmer with over 5 years of experience developing web applications. She also works on Android applications and share her knowledge via her blog and on Twitter.

Display a string list in an Android ListView

android-logo

Showing a list of items is a very common pattern in mobile application. This pattern comes up often when I make a tutorial: I often need to interact with data, but I don’t want to send a lot of time just on displaying that data when that’s not the point of the tutorial. So, what is the easiest way to ...

Read More »

Storing the state of an activity of your Android application

android-logo

This is the last post in my series about saving data in your Android application. The previous posts went over the various way to save data in your application: Introduction : How to save data in your Android application Saving data to a file in your Android application Saving preferences in your Android application Saving to a SQLite database in ...

Read More »

Saving to a SQLite database in your Android application

android-logo

This is the fourth post in my series about saving data in Android applications. Here are the other posts : Introduction : How to save data in your Android application Saving data to a file in your Android application Saving preferences in your Android application The previous posts described how to save files to the file system and to the ...

Read More »

Saving preferences in your Android application

android-logo

This is the third post in my series about saving data in Android. The other posts can be found here : http://www.javacodegeeks.com/2014/06/introduction-how-to-save-data-in-your-android-application.html http://www.javacodegeeks.com/2014/06/saving-data-to-a-file-in-your-android-application.html A preference is a type of data that needs to be saved by most applications. Preferences allow users to change how the application works by giving choices about things like the layout, the features to enable and ...

Read More »

5 tips to improve performance in Android applications

android-logo

If your application has many time-intensive operations, here are some tricks to improve the performance and provide a better experience for your users.                   Operations that can take a long time should run on their own thread and not in the main (UI) thread. If an operation takes too long while it ...

Read More »

Creating logs in Android applications

android-logo

For Android applications, logging is handled by the android.util.Log class, which is a basic logging class that stores the logs in a circular buffer for the whole device. All logs for the device can be seen in the LogCat tab in Eclipse, or read using the logcat command. Here is a standard log output for the LogCat tab in Eclipse ...

Read More »

Saving data to a file in your Android application

android-logo

This is the second post in my series about storage in Android applications. The other post is available here : http://www.javacodegeeks.com/2014/06/introduction-how-to-save-data-in-your-android-application.html This post is about saving to a file from an Android application, which is the easiest way to store data. There are many situations where you may need to save a file : you may want to use an ...

Read More »

Using Android Traceview in Eclipse

android-logo

The best way to solve a performance problem with an Android application is to profile the application by tracing the execution. This way, you can make decisions on what to improve based on real data and detect bottlenecks in the application. In the Android SDK, the Debug object handles the profiling, and the TraceView utility is used to view the ...

Read More »

Introduction : How to save data in your Android application

android-logo

This is the first post in a series explaining the various ways to save data and application state in an Android application. There are many mechanisms in the Android SDK that can be used to save data, and it is something confusing to decide which one to use and when the operation should be triggered. One of the first and ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close