Posts

Posts uit oktober, 2020 tonen

How to parse JSON in Android?

Afbeelding
How to parse JSON in Android? Always having troubles when you want to JSON in Android. How I download the .json file from the internet? How can i parse the JSON into a java model? How can we build this on a stable way? With this post we hope to answer all those questions! As JSON API we are using content from jsonplaceholder.typicode.com , an free fake Online REST API. Before we start we first need to prepare the Android project with the libraries we are using: RxJava, RxAndroid, OkHttp and GSON. Any information about RxJava, RxAndroid or OkHttp is not needed to follow this how to, for any background information several other posts are already available. For this example we are downloading the JSON data from the internet. Step #1 for any i

AdMob and pre-launch reports

Afbeelding
AdMob and pre-launch reports Over the past years multiple posts are created to highlight issues with AdMob in combination with the pre-launch reports for the Google Play Console. In the beginning Google just clicked ads during the pre-launch run which were reported as illegal clicks, which could ban Google accounts delivering the adds [ 1 ]. Now a days Google is filtering those IP's to prevent false clicks, but is this really a solution? It feels more like a duct tape fix! Okey, so no more false clicks in Admob, but the pre-launch report also has some failures with AdMob ads. In the pre-launch report it can generate Stability issues like Non-SDK api: makeOptionalFitsSystemWindows()V or Non-SDK api: isTagEnabled(J)Z . Or Accessibility issues like Low contrast or Touch target size . To prevent that the pre-launch report is filled with noisy AdMob issues, we want to focus on

Google Play: In-App review

Afbeelding
Google Play: In-App review App publishers are always searching for better ways to improve get user feedback and collect 5 star reviews. Every day the Android users rate millions of apps, but how can you get those Android users to rate you're app? App developers can create a button "Rate me", which links towards the Google Play store. This process is fine, but its navigates the user away from the app and into the Google Play store. To prevent this app switch Google has developed a new In-App Review API . This In-App Review flow creates an overlay within the app where the user can leave his review quick and fast. How to implement the In-App Review API? The In-App Review API is listed within Play Core library , add the package com.google.andr