Posts

How to sideload any app onto Android Wear - installing apps with ADB

Image
Hello! In this article, I will write about how to install apps using a tool called ADB. With its help, you can do many things with Android devices (phones, Android Wear watches, TVs and smart TV set-top boxes running Android TV or Google TV). What is ADB? ADB or Android Debug Bridge is a tool for developers. If you have been involved in programming mobile applications for Android you have probably already used it, even unknowingly. There is a lot that ADB can do, too much to cover in one article (unless it's a very long one), so in this article I will focus on the basic use, namely installing applications on an Android device from a computer.  The procedure looks similar on all Android devices. Requirements: - Computer - Android device - Wi-Fi network (you can also use a USB cable or Bluetooth, I will however use ADB over the network - Basic knowledge of using the command line (recommended) - If you are using Windows I recommend installing  Windows Terminal Set up ADB on your comou

Project: UWP App (C#) - how to compile UWP app to share it and run it on a another computers

Image
Hello! I came to conclusion that before proceeding with the development of the application in this guide, I should tell you how to compile and release such application for others to be able to use it. For UWP apps, this is a bit more difficult than simply compiling the .exe file. From Visual Studio, a UWP app can be bundled or published to the Microsoft Store. The second option, however, is a more complicated process that requires a developer account, so I'll cover it in another future article. Compiling to a package is enough to publish the application outside the Microsoft Store, or share it with friends. How to do that?: In the Solution Explorer, click on our application (as a whole) with the right mouse button. Then select Publish -> Create application packages: Then a new packaging window will open. On the first screen we have to choose a distribution method. Let's select Local Download (the second option, I don't know how it's originally called). We can also tu

Project: UWP App (C#) - project's structure, creating basic "Hello world!" app (part 2)

Image
Hello! In the previous part, we created a UWP application project.  In this part, I will explain the structure of the project and we will create a very basic application. To start, however, let's compile and run it as is. To do this, you need to press the 'Play' 'Local Machine' button: If the process is successful, an empty application with a black screen should launch: The application should also appear in the list of applications in the start menu: However, let's close it for now and move on to the structure of our project. The Assets folder (blue arrow) contains additional elements of our application, such as graphics. In the new project, there are blank icon graphics for our application that can be customised. But let's move on to the last element, which is Package.appxmanifest (red arrow). This file contains configuration and information about the application. When we open it, we are presented with a screen that allows us to set the application name, de

Project: UWP App (C#) - Introduction, creating a project (part 1)

Image
Hello!  In this series of articles, I will introduce you to development of UWP, or Universal Windows Platform applications. This is also my first such article. However, let me start by explaining what UWP is. It is an API created by Microsoft that allows programming of universal applications. These are compatible with Windows 10 and 11, Xbox One/Series, HoloLens and the no longer supported Windows Mobile. This eliminates the need to write and compile a program for each of these platforms separately. A UWP application can be written in Visual Basic or C#, and they also use XAML. I will, however, be using C#. The apps in the Microsoft Store are UWP apps.   [official infographic by Microsoft]. Configuration: In order to create UWP applications you need the Visual Studio IDE. I am using Visual Studio Community 2019.  After installing Visual Studio, you need to open the Visual Studio Installer, select 'modify' next to the instance you are using, then select and install 'Software