Category Archives: Samples

Xamarin Examples: Using Icon Fonts

Nowadays, mobile developers have to work with a large amount of screen resolutions. Earlier applications had to contain a lot of the same pictures with different sizes to make icons display correctly. A few years ago, the icon font toolkit called Font Awesome became very popular. It gives developers an opportunity to escape from the large amount of pictures and flexibly adapt their products to different screen resolutions.

So, let’s start with the creation of the icon font. To do this we will need images in SVG format and a free service. I will use glyphter.com, which allows the use of a lot of different icons for free.

using-icon-fonts-on-xamarin-1 Continue reading

Python Assignment Example: Installing Python and Pip on PC

First, you should download the Python installer. Go to the official site python.org/downloads/ and download the latest version:

installing-python-and-pip-on-pc-1

After the download, run it and follow the instructions of the wizard. The default installation path is C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python35-32. You can change it using the “Customize installation” button. Don’t forget check the the box for “Add Python 3.5 to PATH”. Otherwise, you will have to do it manually. After it is done, click “Install Now”. Continue reading

Information Technology Assignment Example: Installing Java on PC

To start programming in Java, you first need to install the software environment on your computer.

1) Download the Java installer.

You can download it from the official Oracle website using this link:

www.oracle.com/technetwork/java/javase/downloads/index.html

Download the latest version of the JDK. Choose the proper option for your operating system from the table. Remember that you should accept the license agreement to download the file. Continue reading

Assignments on the Web: Increase the Efficiency in Xamarin.Forms

In this guide, I will show how to use the Fody tool to reduce the amount of the required program code, and the use of icon fonts and NcontrolView library for the manual drawing of interface elements.

Business Applications

The first thing you need to know is the definition of the business applications, and differences between them and other kinds of apps.

We usually divide applications into logical groups using such criteria:

– Interface complexity
– Usage of the OS features
– Frequency of the usage Continue reading

Web Assignment Sample: Check for Balanced Parentheses in an Expression

Hello! In this guide, I’ll show you the program to check the balance of different types of parentheses in an expression using C++.

Idea for Implementation

Everything would be much simpler if we had to check only one type of parentheses. If it is required to check the balance of the parentheses of only one type, for example, “(“ and “)”, we can read all the symbols one by one, ignoring all the symbols except the braces. If it is an opening bracket we increase the counter by 1, and if it’s a closing bracket we reduce the counter by one. After the check, it’s easy to define if the expression is balanced. If the counter is bigger than zero, we have more opening brackets. But if it goes lower than zero, we can’t check further. So we will use the stack. Continue reading

C# Programming Samples: Snake Game

Long ago, when monitors were black and green and computers had 64 kilobytes RAM, the legendary game was created. It was called “Snake” and it still has a lot of clones on different devices: from desktop to smartphones and tablets. But the original textual implementation hasn’t been used for years. So in this guide, I want to show you the canonical implementation of the legendary game.

skake-game-in-c-1 Continue reading