Get screen sizes of the Android Device
A way of getting screen sizes of the device in pixels and density independent pixels (dp)Read More →
A way of getting screen sizes of the device in pixels and density independent pixels (dp)Read More →
We are proud to present to you our first major application that is live on Google Play store. It is about Formula 1 news, events, racing calendar, teams, drivers, videos and photos. Almost everything that is included in this application is explained on our blog. We are pleased that theRead More →
In this example will be shown how to parse text file in to data objects and use the data where needed. The example is separated in two classes MainActivity and Library data transfer object (DTO) to map that line. This was the parser that was used in solving the exampleRead More →
This is progress dialog util class if you need in your project. It is written in Kotlin. You can just copy the code and paste inside you own class and use it straight out of the box. Just pass context and message. Also, you can adjust the position, color, paddingRead More →
This example is targeting conversion of Base64 String to Image and representing that image on screen using Kotlin programming language language. The advantages of using Base64 string to image is the load times, especially if you are getting the image from server. The downside of using Base64 String is thatRead More →
Image to Base64 String example In this example, we will be learning how to implement conversion from image to Base64 String image. In the previous post, we have covered the case when we needed to convert Base64 String to Image. In short, we are going to take one image fromRead More →
This is simple example how to implement double-click on back button to exit the application. There will be a message alerting you that clicking again on back button will exit.Read More →
Exit Dialog for Android Application This is an example of implementing simple Exit Dialog with two options, YES, and NO. The code is simple and straight forward. All you need to do is to override onBackPressed() in your activity and add a simple AlertDialog (you can find tutorial aboutRead More →
This example shows how can user go to phones gallery, select a image and after that display it on screen. This example can be used in variety of scenarios, from setting profile pictures to setting backgrounds. This example is very similar to Take picture with camera and make a previewRead More →
In this example we are going to cover of basics of taking picture with you camera on your android device and show it on screen after taking it.Read More →