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.

How to get started with Android development

android-logo

Learning how to build a mobile application is a good project to improve your programming skills while learning to work in a different environment than the desktop or a web browser. You can get started without worrying about a large stack, making it easy for a beginner to pick it up and start playing with quickly. Building applications with the ...

Read More »

Overwhelmed? Don’t keep everything in your head

software-development-2-logo

Tasks have a way of multiplying like rabbits, overwhelming you quickly. After a few days on a new project, you’ll go past the point where you can easily track everything in your head. Those undone tasks will hound you and come to mind at the most inopportune moments, distracting you from the task you’re currently working on. And since programming ...

Read More »

5 Great Snacks For the Coder’s Brain

software-development-2-logo

You’re coding and you’ve been in the flow for a few hours. Everything is going just fine, but then hunger strikes suddenly. Since you don’t have anything on hand, you go to the cafeteria or to a nearby café to grab a muffin or a pastry full of sugar. When you sit down to resume coding while eating your snack, ...

Read More »

How to show a Toast for a specific duration in Android

android-logo

In the Android SDK, an android.widget.Toast is a small message that pops up at the bottom of the screen to display an information. The toast will disappears by itself after a specified duration. Here is an example of what a toast looks like and how to display one :           Context context = getApplicationContext(); Toast.makeText(context, "Hello ...

Read More »

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 »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials