Tips for self-taught developers — How to persist in your plan to became a developer
public static rules myRulesOfLife (and coding) { The views expressed in this post are my very personal take on life and coding. You can like some of them or all of them or none of them, you can choose to accept the advice or ignore everything i say. We allRead More →
Progress Dialog Util Class – Kotlin
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 →
Base64 String to Image example – Kotlin
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 →
How to send an email from your android application- the easy way
Intro You are working on an app that has a list of contacts and you want to send an email to one of them for example. The easiest way to do this is to open an email client from your application. You also want to send the data from yourRead More →
Image to Base64 String example
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 →
Getting a result from an Activity – How to use startActivityForResult() method in Android?
Intro What to do when you need to start an activity just to get some data from this activity and then go back to your previous activity. When you want to send a message and you go to your list of contacts just to select a contact and then goRead More →
JavaScript BASICS Part 4 : Declaring Javascript Variables var, let, const
In this post we are going to focus on JavaScript Variables and their syntax. Variables are concept that exist in every programming language out there, and the basic concept is always the same. A variable is a container that has a name on it, and inside in that container weRead More →
Click back button twice to exit the application
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
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 →
JavaScript BASICS Part 3 : Primitive Data Types
One of the big ideas of the core of any programming language, is the language ability to differentiate between different categories of data. So, for instance a language can differentiate between a number and a word. Or between a whole number and a fractional number. This varies between language toRead More →