Oleg Atamanenko

thoughts about programming

Category: android

Limiting threads count for GreenRobot EventBus

In one of my projects I used EventBus library. The library is pretty cool and I would recommend everybody to use it. But I found one small issue with this library - in case you send too many events very fast (i.

Continue Reading…

Using custom font in Android TextView

Today I want to share with you custom TextView which allows to set font to be used in xml layout. First, we need to declare our custom styleable attrs.xml: <?xml version="1.

Continue Reading…

Lyne Game

Found very addictive and cool game: Lyne. The goal of the game is to connect all dots on the playboard. Worth every cent.

Continue Reading…

Сокращаем ссылки на андроиде

ВступлениеВстала передо мной задача - сокращать ссылки перед тем, как отправлять их в Twitter. Для решения этой задачи я решил использовать bit.ly, благо, их API внятный и простой. Программируем!Решение нарисовалось в виде следующего класса: import org.

Continue Reading…