Xamarin Debugging over WIFI

Xamarin utilizes the Android Debug Bridge (ADB) for debugging on physical devices, which are usually connected over usb. While this feature definitely is useful, it would sometimes be more practical if you could do this over WIFI instead. Luckily, that is possible! You can simple switch between using USB and TCP/IP for debugging. To get started, you need to connect your device via USB to the computer you’re debugging from. I’m using Windows, so the commands I’ll execute the following commands from the commandline (which runs as an administrator), but since they are adb commands, they should be the same on Linux or macOS. ...

January 10, 2018 · 2 min · Marcel Jurtz

Validating LiteDB Data from an Android App

In my new sideproject CryptoFolio, which I announced in this article, I described that I’d like to use LiteDB to locally store data that I received from the coinmarketcap-API. LiteDB is basically a NoSQL database, in particular a document store. It functions on a serverless file basis and can be accessed via a simple API. While it is quite easy to implement the databases functionality itself, testing the resulting data structure is somewhat more difficult. But to be sure that my data is saved correctly, I needed a way to explore the database located on the android device. Therefore, I use the following approach: ...

December 14, 2017 · 2 min · Marcel Jurtz

Sideproject: CryptoFolio

Today I would like to introduce my current side project. I’m currently developing CryptoFolio, an app that allows you to keep track of your investments in cryptocurrencies. Functionality & MVP The first release of the application will allow you to view the current rates of the top 100 cryptocurrencies with the highest market capitalization. You can then add investments, where input, output and the date of the transaction is recorded. ...

December 10, 2017 · 3 min · Marcel Jurtz

Support Multiple Screen Sizes on Android

Android runs on a variety of different devices. In order to improve the way your app looks on different phones, depending on their screen size and resolution, Android offers the possibility to use different layouts for different screen sizes. This is the topic I’ll discuss in this article. Summarizing the Demo Application First of all, I would like to briefly discuss the app, the optimization of which will be discussed below. The app serves as a tool for the card game “Magic the Gathering”. While this app was my first real application for Android, this side project has evolved over time and accompanied me on the way to Android development. I maintain the sourcecode on GitHub and you can download the app via PlayStore. ...

November 22, 2017 · 5 min · Marcel Jurtz

Custom Visualization for Numeric Values in Xamarin / DevExpress dxGrid

The dxGrid grid control for Xamarin, which DevExpress provides free of charge, is a powerful feature for mobile application development. However, many of the functions are a little bit hidden. In this article I will discuss how to customize the display of column values. In my concrete example my grid contains a numeric column, which can contain numbers with or without decimal places. I want these decimal places to be displayed only if they exist. The magic term that DevExpress provides fortunately is DisplayFormat. You can use this parameter to make various adjustments that describe the corresponding value and its representation. ...

November 22, 2017 · 2 min · Marcel Jurtz