Navigation drawer in Android part 3: А simple way to add drop-down items on a navigation drawer without using ExpandableListView.
Intro This is part three of the Navigation drawer in Android post and it will be a demonstration on how to add drop-down items on a navigation drawer without using ExpandableListView. The Exercise We will continue working on the same project that we created for part one and part two ofRead More →
Software Development Tips from “The Pragmatic Programmer: From Journeyman to Master”
In this post, we will give a short review of the tips for software developers from the book “The Pragmatic Programmer: From Journeyman to Master” by authors Andrew Hunt and David Thomas, published by Addison-Wesley, 2000. This is not a new book but the guidelines for developers given in this book areRead More →
Select image from gallery and display it on screen
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 →
Take picture with camera and make a preview
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 →
JavaScript BASICS Part 2 : Writing JavaScript in a separate file
To do this we need to create an HTML file. You can call it what ever you want and we just need to put our basic HTML here. In this example we will give it a name index.html . We do not have to put anything here if we doRead More →
JavaScript BASICS Part 1 : Definition and Console
Let’s start with a simple introduction of JavaScript, an easy to learn and powerful scripting language. JavaScript (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, and is best known as the scripting language for Web pages, but it’s used in many non-browser environments as well.Read More →
Navigation drawer in Android part 2: How to add a toggle button on the navigation drawer and add listeners
Intro This is part two of the Navigation drawer in Android post and it will be a demonstration on how to create a toggle button on the navigation drawer menu and add listeners to track on toggle switch events. The Exercise We will continue working on the same project thatRead More →
Navigation drawer in Android part 1: How to create a navigation drawer
Intro This post is the first part of three posts series. In this post we will create a navigation drawer in an android project using Views instead of Fragments. In the second part we will see how to add a toggle button on the navigation drawer and add listeners forRead More →
Base64 String to Image example
This example is targeting conversion of Base64 String to Image and representing that image on screen. 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 that the encoded file will beRead More →
Android: Show text on Button click
Intro In this exercise we will show you how to display text in a TextView on Button click. The Exercise In this exercise we will be using only one activity. In this activity we will create one TextView and three buttons, and set them so when button one is pressed,Read More →