chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

Category Archives: Mobile

Using Gradle 3.0 to create your debug APK from command line

With the new Gradle 3.0 coming out, I recently found out there is no apk file generated when running gradlew from command line. After investigating a little bit, one of the possible solution is in the build.gradle file under the app directory. .gist table { margin-bottom: 0; } ……

Why Kotlin doesn’t have static

As you may observe while programming with Kotlin (1.1.60), there is no static members or methods. Instead you can use the companion object to work it around. .gist table { margin-bottom: 0; } The reason behind this is: https://discuss.kotlinlang.org/t/what-is-the-advantage-of-c……

How to use RxAndroid with kotlin

This article is more for iOS developers who wants to put their hands on the Android Development, or for those who just want to enter the Android development world. There are no hard points in the article. In the tutorial, you are about to know: Install how to install dependenc……

iOS Unit Test Practise with OCMock 2/3

The idea behind Mock: Using a fake object to simulate target object, a method returned value/object. For example, there might be an amount of classes including models, viewControllers and etc. With regular unit tests, we need to instantiate the objects that we are going to test……

A comparison between Kotlin and Swift: Collections

Similar to Swift, collection in Kotlin includes: List Set Map 1. List Features of List: May have duplicate element May hold different data types All elements are unordered Similar to array in swift, list can be immutable and mutable. With immutable list, it can't be added……

Test your App with IPV6 with Android and Mac

Ad required by apple, all new submitted apps must be tested and compatible with IPV6 network. There are already many methods online to test app using 2 iPhones and Mac. Today I am going to show you one way of setting up your IPV6 network using Android and Mac. Step 1: Install d……

React Native Series – 0x00 Setting up Environment

Install React Native Android Running Environment (MacOS): Step 1. Install the latest JDK from: Here Step 2. Use brew cask install android-sdk to install Android SDK Step 3. Add Android SDK to your environment by: export ANDROID_HOME=/usr/local/share/android-sdk Note: if you wan……