Posts containing "android"

colored slash

Google Analytics for Firebase

Ádám Hosszú

a.k.a. How not to expect too much and fail miserably with Google Analytics for Firebase Have you ever wondered how many people use your brand new “Shopping App”? Has anyone actually bought anything? Which country do they live in? Which one is the language most used in your app? Has anyone managed to beat the ULTIMATE SUPER...
author photo
#agile #Android #analytics

colored slash

Android Navigation Components Tutorial

Tamás Agócs

Introduction The Google I/O 2018 had many interesting topics, many of them got a lot of attention, but the most exciting one for me was the Android Navigation Component. I think it was mostly because this topic is inevitable each time you start a project or refactor some good old apps. There were many approaches...
author photo
#Android #AndroidX #navigation #safeargs

colored slash

Android Jetpack Paging and Firebase

Ádám Hosszú

WHAT IT IS RecyclerViews and their Adapters are well known ways of displaying lists of data, but they are not optimal, because they load entire lists into themselves, and upon change, they simply reload the full list (using notifyDataSetChanged). Let’s imagine the following scenario: I have a list, containing all the currently living animal species...
author photo
#Android #AndroidX #firebase

colored slash

Android MVI First Impressions

Tamás Agócs

Editor’s note: This post on MVI was written in August 2017, however we felt appropriate to share it as we will be posting a sequel to it about Flux, Redux and MVVM. It’s a work in progress and we wanted to give you the whole picture of our journey with these code organization concepts on the Android side...
author photo
#Android #code #kotlin #mvi

colored slash

Push Notifications – a bigger picture

Gábor Pap

Many applications we create require the ability to send push notifications. Sometimes we are the ones who made the client and the backend side as well. The available tutorials are helpful but not always entirely clear; we met quite a few challenges. Let’s look at a specific example.
author photo
#Android #code #comparison #databases

colored slash

Using Websocket on Android

Tamás Agócs

This post is the sequel to this post about WebSockets. I know what you are thinking. But why? Using WebSockets is a really useful way of building realtime applications, because they provide a fast, full-duplex communication channel between the server and the client. There are many libraries out there, usually providing straightforward, easy-to-use APIs for developers...
author photo
#Android #code #websocket

colored slash

Replacing fragments with Conductors’ Controllers

Gergely Szőke

We got some good feedback about last week’s development workshop, titled “Replacing Fragments with Conductors’ Controllers” so we decided to share the slides, too! Replacing Fragments Workshop: Click the link to instantly download the slides (and): Get rid of Fragments! 😉
author photo
#Android #code

colored slash

Tips and Tricks for Choosing an IT Thesis Topic

Réka Bújdosó

#changintheworld #oneappatatime So, thousands of Hungarian college students turned their theses in last week. It was probably the peak in the middle of a sleep deprived period, as examinations are also still taking place. I decided to save all my key insights from this extraordinarily amazing period of time. (riiiight.) Hopefully it will help...
author photo
#Android

colored slash

XML Drawables for Android Developers

Gergely Szőke

It’s good to know what you can do in xml to draw something on the UI. I recently noticed that I and some colleagues tend to overcomplicate simple tasks, because we don’t really know the built-in possibilities. Sometimes the design requires a not too complex, but not so simple (e.g. a shape) drawing on the...
author photo
#Android #code #drawable #libraries

colored slash

ZeroKit and Firebase Demo App First Look

Gergely Szőke

If there is sensitive data to be stored when developing a mobile app, security is of utmost importance. Developers can make hackers’ work harder, but it’s almost impossible to totally prevent a data breach if they are at it. Key and encryption handling can be a real pain-in-the-ass. Storing encrypted data is one thing, but...
author photo
#Android #authorization #databases

colored slash

RxMp4Parser for Android App Developers

Tamás Agócs

More and more Android apps provide video editing based features. This library is not a complete wrapper for the most recent Mp4Parser library. However, it provides a few useful features that are usually used by these apps. If it does fit your application’s needs, feel free to implement those features based on the current implementation. The...
author photo
#Android #code

colored slash

Rx Wrapper How-To for Critical Resource Tasks

Tamás Agócs

Android contains several APIs that hold resources back. They need to be released before closing the current Activity or any other UI part. Doing things the old way, you are responsible for releasing these resources at the end of each activity. With complex tasks, it becomes quite hard to keep track of all of these resources. It is even more complicated when you use them in asynchronous tasks. A small programming overhead will eliminate this problem by replacing the async tasks with Rx streams and scheduling them on the background threads. So, Rx wrappers will ease thread handling. Here is how I use Rx wrappers to make them as awesome as possible:
author photo
#code #Android

colored slash

Android Developers! Here are 5 of the Best Video Transcoding Libraries +1 for Only Audio!

Tamás Agócs

Some Android Projects might require high or low level media processing. This article rounds up a few useful libraries, like FFmpeg, MP4Parser, Intel Media for Mobile, etc. All the libraries have both pros and cons. You need to carefully consider, according to your initial target API-s, devices, and specification, which one you’ll use . I won’t go into too much detail, the article’s main purpose is to help you decide which lib fits best for a given issue. The selected library or libraries can have great effect on the size of your final application, and will also affect the code complexity and amounts of future maintenance.
author photo
#Android #libraries

colored slash

Creating a Custom Cordova Plugin

Ádám Bíró

At Wanari, we usually prefer native Android & iOS development and my colleagues have recently written quite a few articles on these topics. However, as a web developer, cross-platform mobile app development options stand closer to my heart. In this article, I provide an example for creating a custom Cordova plugin. Cordova is a...
author photo
#Android

colored slash

ConstraintLayout on Android – How Ready Is It?

Tamás Agócs

ConstraintLayout is a new Android layout type presented at the Google IO. It has several new features including a new Layout Editor built in the new Android Studio. (currently on the Canary channel v2.2 Preview 2) The reason for this new layout is to reduce the view hierarchy’s depth and complexity. By using ConstraintLayout, you can optimize and speed up the UI rendering phase of your application. It is compatible with all the currently available Views and ViewGroups and it is part of the Android Support Library. It works down to API level 9.
author photo
#Android #ConstraintLayout

colored slash

The Best Crash Report Tools for Android Developers

Gergely Szőke

If you are a budding mobile (iOS or Android) developer, this could be a good place to start with your first release, but if you are a seasoned veteran, maybe this can widen your knowledge or even show you a few new ways worth trying.
author photo
#Android

colored slash

How to Render More Than a Lot of Markers on Google Maps for Android

Tamás Agócs

The purpose of the article is to demonstrate a method on how to extend the capabilities of the Google Maps API on Android devices. Basically, Google Maps can render only a limited number of markers over the map, let’s say a few thousand, but with larger numbers it will start to lag and will ruin...
author photo
#Android