Bright Devs Blog

How to avoid flickering and black screen issues when using VideoView?

How to avoid flickering and black screen issues when using VideoView?

android videoview

VideoView is the most straightforward way to show video content in layout. It took a few lines of code to setup and show for example mp4 file. It's fine when you don't care about UX too much, but when you do, things are going to be annoying.

How to avoid flickering and black screen issues when using VideoView?
Lazy Apk - a simple TeamCity artifact downloader

Lazy Apk - a simple TeamCity artifact downloader

android TeamCity

At Bright Inventions we use TeamCity as a continuous integration server. Apart from building, running tests and uploading artifacts we sometimes use it to quickly distribute an android application to clients and test team. However we found using TeamCity UI on a mobile device isn’t as pleasing as it could be. That’s why we usually recommend downloading updates through a dedicated application such as TeamCity Downloader.

Lazy Apk - a simple TeamCity artifact downloader
Reactive Cocoa presented on CocoaHeads Tricity

Reactive Cocoa presented on CocoaHeads Tricity

iOS ReactiveCocoa CocoaHeads

On Thursday 18th December 2014 I gave a small presentation about ReactiveCocoa to the local Cocoaheads Tricity group. Cocoaheads is a group of passionate iOS and MacOS X developers willing to share their knowledge and learn.

Reactive Cocoa presented on CocoaHeads Tricity
Google Play Services is no longer a giant monolith

Google Play Services is no longer a giant monolith

android

Nowadays it’s getting harder and harder to build a meaningful app and not rely on Google Play Services to aid us in some commonly required features such as maps, better location provider, geo fencing and so much more. Unfortunately up until now the library shipped as a giant monolith ripping us from one third of dex method limit. For curious reader here’s are method counts in couple of versions:

Google Play Services is no longer a giant monolith
Integrate slf4j with Crashlytics

Integrate slf4j with Crashlytics

android

As I mentioned in my previous post having meaningful log entries comes handy during development. When an app reaches beta testers as well as goes live it’s equally or even more important to be able to figure out why the app you’ve carefully coded isn’t behaving as it should. Testing the app on all android flavours is literally impossible that’s why getting an insight into what caused a crash is vital.

Integrate slf4j with Crashlytics
Playing with Material Design, Toolbar and Palette

Playing with Material Design, Toolbar and Palette

android materialdesign android-support-library

People around the world are waiting for Google to push Lollipop to theirs smartphones. Material Design completely changed the appearance of Android, and did it right. Material Design is really beautiful. But who says we have to wait to see Material.Theme in action? Most of features has been packed into android-support-library. Use it and build app with material for pre-lollipop devices.

Playing with Material Design, Toolbar and Palette
InjectionForXcode meets command line

InjectionForXcode meets command line

ios appcode xcode injectionforxcode gem

Meet Injection Helper, a small utility for making InjectionForXcode more friendly to use. Get rid of superfluous messages and a flood of XCode windows opened any time you patch/revert your project.

InjectionForXcode meets command line
Attaching ShareJS to select HTML element

Attaching ShareJS to select HTML element

sharejs javascript

One thing that I found missing in ShareJS library was the possibility to attach live concurrent editing to HTML <select> element. Out of the box it works only with text fields - <input> and <textarea>. Here is the workaround.

Attaching ShareJS to select HTML element
ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

android

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.

ListViewWithSectionsAdapter for Android ListView, simple way to implement list view with sections.
Introducing slf4android - a simple slf4j implementation for android

Introducing slf4android - a simple slf4j implementation for android

android

Every now and then you have a bug that is hard to reproduce or only happens on certain phones or android versions. The thing that really comes handy in such case is a detailed application log. That’s why it’s so important to take time to add useful log entries in every non trivial part of the codebase. At the very minimum you’ll want to log any errors.

Introducing slf4android - a simple slf4j implementation for android