Thread Archive

Learn to create a Slot Machine for Android

In that tutorial, you are going to discover how to create a Slot Machine for Android with Android Studio. A Slot Machine, also known as one-armed bandit, is a casino gambling machine with three or more reels which spin when a button is pushed. Our Slot Machine will have three reels. Note that you can

Create and Start a Background Service in Android

In Android applications, like in all mobile applications, responsiveness is often the key to offer great user experience. It’s essential to avoid blocking user interface. In some cases, you will need to process long-running operations. To void affecting user interface’s responsiveness, you will need to use background service. Deriving from IntentService class, a background service

How to use Asynchronous Tasks in Android ?

In Android like in others platforms, it can be useful to use asynchronous tasks to process long operations like download a file or consume a web service. In Java, you know that the entry point is the Thread class. Android using a part of Java API, you can also use Thread class but it’s to