Recently I had to install manually an Ubuntu with the xfce4 desktop. I couldn’t read Chinese symbols so here is the solution:
sudo apt-get install fonts-wqy-zenhei
It installs wide range of fonts for Chinese
Recently I had to install manually an Ubuntu with the xfce4 desktop. I couldn’t read Chinese symbols so here is the solution:
sudo apt-get install fonts-wqy-zenhei
It installs wide range of fonts for Chinese
That bastard drove me nuts today. I do not understand why is it so hard to fix. I want the text to be white. After 2 hours of reading useless posts, I found a solution working for me.
Continue reading “Spinner in Toolbar – How to change the selected item text color?”Recently, I got a task to implement face detection for a camera preview we have within our mobile app. So if the app detects a face, a button should be displayed, otherwise – the button should remain hidden. There are several ways to implement face detection in Android
Continue reading “Implementing Face Detection in Android”I found Flux architecture for several months and I have written a couple apps with React & Flux and as an Android programmer also I think that it has to have an implementation.
So I decided to do it. You can check it HERE. I really believe that Flux for Android will be a “groundbreaker” (may be not my try but the whole concept :)).
Continue reading “Android Flux Architecture Example”Lets say that we have a ScrollView which should ahave an arrow at its bottom. That arrow is visible only when the ScrollView is scrollable (That means it has more content than it can display).
In android the scrollview does not have a method isScrollable() and I am still wondering what is the reason. May be too complex realization.
Continue reading “How to get ScrollView height (getHeight() = 0) and how to display an arrow that it is scrollable?”I wanted to stop the mongod service running on system boot in Ubuntu. This service is starting the mongodb database.
Continue reading “How to stop services from running in Ubuntu or how to stop mongo from autostart?”My problem was that when a user clicks the Sign Up for example button I wanted to validate a field if it contains a valid email and after that dismiss or keep the dialog showing.
Continue reading “Android prevent a dialog from closing when a button is clicked”I am working in a company here in Bulgaria where we are building a huge android app with over 250 screens. It was time to integrate Firebase push notifications in it. Here were the requirements for them:
Continue reading “Sample architecture to handle notifications in Android”We made a simple design for one of our apps which included a hexagonal network of images which should contain profile pictures of the users who liked a certain app.
Continue reading “Fighting android canvas – Hexagonal imageview layout for Android”So we wanted to integrate a websockets server within our REST api for which we were using HapiJS. I was previously using Socket.IO solution for websockets and I was very happy with it. So we decided to use it with our REST server in a single codebase.
Continue reading “Let’s hook up Socket.IO with HapiJS in a single code base”