Protobuf and optional values

Posted by & filed under java.

Just small note to all you guys if you are using google protobuf library for communicating with server. Lets say you have simple protobuf message with one optional numeric field: If you are using some dynamic language in your server backend, you can end up having code like this: Now question, what value of limit… Read more »

Executing scheduled periodic tasks in Android

Posted by & filed under android, java.

I think that Android is a platform created by developers for developers. That’s why sometimes it offers several different ways to do the same thing. Let’s say you want to execute some periodic task in background, even if currently none of your Activities is active. How you can achieve this? First of all, you should… Read more »