Fading Coder

One Final Commit for the Last Sprint

Implementing Android App Auto-Update with Retrofit2 and RxJava2

App auto-update functionality typically involves three core tasks: downloading the APK file, displaying real-time download progress, and triggering installation upon completion. The most challenging aspect is elegantly updating the UI with download progress—especially within background services. Thi...

MTK Android T/U (13/14) Version Screen Rotation Disable After Reboot/Shut Down Issue

Problem Description This issue occurs in MTK Android T version and later. When screen auto-rotation is manually enabled, it gets disabled after system reboot or shut down. Initial Enalysis The problem occurs specifically during shutdown or reboot processes. The invsetigation focuses on whether syste...

Integrating Real-Time User Location and Custom Markers with Baidu Maps on Android

Android Manifest Configuration To enible mapping and location serviecs, you must declare the necessary permissions in your AndroidManifest.xml. These allow the application to access network states, GPS data, and storage. <!-- Essential Permissions for Baidu Maps --> <uses-permission android...

Getting Started with Android Development

Android Development Overview Android is an operating system developed by Google. As a mobile application development platform, Android stands alongside iOS, hybrid apps, React Native, Ionic, and other frameworks. Development Environment Setup Modern Android development utilizes Android Studio as the...

Building a Modular Architecture in Android Studio

Core Structure of an Android Development Enviroment 1. Project Setup Flow The following sequence outlines the foundational workflow for establishing a robust Android project using Android Studio: 2. Implementation Details Phase 1: Project Initialization Launch Android Studio and select File → New →...

Understanding supports-gl-texture and supports-screens in Android Manifest

Overview The <supports-gl-texture> element in the Android manifest defines which OpenGL ES texture compression formats an application supports. This declaration is used by services like Google Play to filter applications based on device compatibility. Syntax <supports-gl-texture android:na...

Resolving VNDK ABI Extending Changes Error in Android 9 P

Problem Description When attempting to add new interfaces to files within the system/core/liblog directory of Android source code, compatibility issues arise during compilation. The build process fails with the following error: QSSI: not enabled for msm8953_64 target as vendor/qcom/proprietary/relea...

Understanding JNI and Creating Your First Native Library in Android

The Java Native Interface (JNI) enables Java applications to interact with native code written in languages like C or C++. This mechanism allows Java programs to invoke functions in native libraries and vice versa. Core Concepts Purpose of JNI: Integrating existing C/C++ libraries to reuse efficient...

Defining Custom App Permissions

This document describes how app developers can use Android's security features to define their own permissions. By defining custom permissions, apps can share their resources and functionality with other apps. For more details, see the Permissions Overview. Background Android is a permission-separat...

Implementing Local Broadcasts in Android

Local Broadcast Implementation Local broadcasts using LocalBroadcastManager are confined to the application context. Sending a Broadcast Intent intent = new Intent("com.example.update"); LocalBroadcastManager.getInstance(BroadActivity2.this).sendBroadcast(intent); Registering a Receiver mB...