# Android Developer Forum

**URL:** https://forum.devtalk.com/c/android-developer-forum/40.md

[Latest](https://forum.devtalk.com/latest.md) · [Categories](https://forum.devtalk.com/categories.md) · [Tags](https://forum.devtalk.com/tags.md)

---

## [How to create a shared Class?](https://forum.devtalk.com/t/how-to-create-a-shared-class/250580)

<div class="topic-metadata">

**Author:** [@bee](https://forum.devtalk.com/u/bee)\
**Replies:** 1\
**Last updated:** [12 October 2026 17:40 UTC](https://forum.devtalk.com/t/how-to-create-a-shared-class/250580 "2026-10-12T17:40:49Z")

</div>

Hi, I’d like a class that I can access from all activities / views, which is initialised once and not need to pass the reference. I guess I create a new class, but how initialise please?

---

## [How to get out of Android 10 Developer Mode?](https://forum.devtalk.com/t/how-to-get-out-of-android-10-developer-mode/249602)

<div class="topic-metadata">

**Author:** [@bobj](https://forum.devtalk.com/u/bobj)\
**Replies:** 0\
**Last updated:** [10 September 2026 01:50 UTC](https://forum.devtalk.com/t/how-to-get-out-of-android-10-developer-mode/249602 "2026-09-10T01:50:27Z")

</div>

The front screen cracked on my BLU J5L (FCC ID: YHLBLU5L20) months ago. The BLU company won’t won’t sell parts for it, or say which Chinese company made the phone (so I could find parts for similar, more popular phones)…

---

## [Best architecture for a production Android app in 2026?](https://forum.devtalk.com/t/best-architecture-for-a-production-android-app-in-2026/249111)

<div class="topic-metadata">

**Author:** [@techrankers](https://forum.devtalk.com/u/techrankers)\
**Replies:** 0\
**Last updated:** [24 August 2026 14:44 UTC](https://forum.devtalk.com/t/best-architecture-for-a-production-android-app-in-2026/249111 "2026-08-24T14:44:12Z")

</div>

I’m going through android application development and I’m trying to settle on an architecture that will remain maintainable as the project grows. For a new Android project in 2026, would you recommend a fairly standard …

---

## [Creating Hotspot network - it registers the I/F in NetworkInterfaces but it does not in ConnectivityManager](https://forum.devtalk.com/t/creating-hotspot-network-it-registers-the-i-f-in-networkinterfaces-but-it-does-not-in-connectivitymanager/248299)

<div class="topic-metadata">

**Author:** [@yosefk](https://forum.devtalk.com/u/yosefk)\
**Replies:** 0\
**Last updated:** [26 July 2026 18:49 UTC](https://forum.devtalk.com/t/creating-hotspot-network-it-registers-the-i-f-in-networkinterfaces-but-it-does-not-in-connectivitymanager/248299 "2026-07-26T18:49:46Z")

</div>

I’m creating Hotspot network in Android by WifiManager.startLocalOnlyHotspot. It register the I/F in NetworkInterfaces but it does not in ConnectivityManager. I need to bind DatagramSocket to hotspot interface by Conne…

---

## [Building Individual Libraries Through the Android Studio UI](https://forum.devtalk.com/t/building-individual-libraries-through-the-android-studio-ui/248247)

<div class="topic-metadata">

**Author:** [@deveshpatel-TW](https://forum.devtalk.com/u/deveshpatel-TW)\
**Replies:** 0\
**Last updated:** [24 July 2026 23:42 UTC](https://forum.devtalk.com/t/building-individual-libraries-through-the-android-studio-ui/248247 "2026-07-24T23:42:37Z")

</div>

I’m currently experimenting with Android Studio for a project that consists of multiple independent Android Library modules that internally use Kotlin, CMake and C++ code. MyProject ------------------------- app Libr…

---

## [The game crashes at a start after I've include miniaudio to gradle](https://forum.devtalk.com/t/the-game-crashes-at-a-start-after-ive-include-miniaudio-to-gradle/243956)

<div class="topic-metadata">

**Author:** [@xolatgames](https://forum.devtalk.com/u/xolatgames)\
**Replies:** 0\
**Last updated:** [6 May 2026 15:29 UTC](https://forum.devtalk.com/t/the-game-crashes-at-a-start-after-ive-include-miniaudio-to-gradle/243956 "2026-05-06T15:29:06Z")

</div>

Hi folks! :victory\_hand: How are you? :slightly\_smiling\_face: I’m newcommer here. Without useless words I want to ask you the question. I have the game that I was wrote in LibGDX with using Java language …

---

## [How to change app text color or background color in Android Studio Panda 3?](https://forum.devtalk.com/t/how-to-change-app-text-color-or-background-color-in-android-studio-panda-3/241563)

<div class="topic-metadata">

**Author:** [@BobW](https://forum.devtalk.com/u/BobW)\
**Replies:** 0\
**Last updated:** [17 April 2026 02:28 UTC](https://forum.devtalk.com/t/how-to-change-app-text-color-or-background-color-in-android-studio-panda-3/241563 "2026-04-17T02:28:07Z")

</div>

I have installed Android Studio Panda 3 and have created a default ‘Empty Activity’ project. When I connect a physical tablet, I can see the text that this app creates (“Hello Android!”). The problem that I am having i…

---

## [Emulator error 139 with latest android studio version](https://forum.devtalk.com/t/emulator-error-139-with-latest-android-studio-version/236777)

<div class="topic-metadata">

**Author:** [@langtec](https://forum.devtalk.com/u/langtec)\
**Replies:** 0\
**Last updated:** [7 March 2026 14:49 UTC](https://forum.devtalk.com/t/emulator-error-139-with-latest-android-studio-version/236777 "2026-03-07T14:49:28Z")

</div>

I have installed Android studio, first the snap version, then downloaded Panda 2.x from the website. In both versions, the emulator keeps crashing. Its starts to boot, then a pop up window occurs, telling me that the pro…

---

## [Android Studio emulator stuck on loading screen](https://forum.devtalk.com/t/android-studio-emulator-stuck-on-loading-screen/233318)

<div class="topic-metadata">

**Author:** [@DuendeMartin](https://forum.devtalk.com/u/DuendeMartin)\
**Replies:** 1\
**Last updated:** [11 February 2026 14:29 UTC](https://forum.devtalk.com/t/android-studio-emulator-stuck-on-loading-screen/233318 "2026-02-11T14:29:14Z")

</div>

My Android Studio emulator is stuck on this loading screen. What’s going on?

---

## [Device detected by ADB and Chrome but not showing in Android Studio (Ubuntu 20.04)](https://forum.devtalk.com/t/device-detected-by-adb-and-chrome-but-not-showing-in-android-studio-ubuntu-20-04/226312)

<div class="topic-metadata">

**Author:** [@John-xtreme](https://forum.devtalk.com/u/John-xtreme)\
**Replies:** 0\
**Last updated:** [14 December 2025 02:45 UTC](https://forum.devtalk.com/t/device-detected-by-adb-and-chrome-but-not-showing-in-android-studio-ubuntu-20-04/226312 "2025-12-14T02:45:25Z")

</div>

Hello everyone, I am new to Android development and I need some help. I am running Android Studio Narwhal 3 (version 2025.1.3) on Ubuntu 20.04 LTS. I have an Android project that builds and runs successfully using Gra…

---

## [Anyone know how to get into the password locked developer option of an Android projector with a Google-licensed Android system loaded?](https://forum.devtalk.com/t/anyone-know-how-to-get-into-the-password-locked-developer-option-of-an-android-projector-with-a-google-licensed-android-system-loaded/225657)

<div class="topic-metadata">

**Author:** [@paulo500](https://forum.devtalk.com/u/paulo500)\
**Replies:** 0\
**Last updated:** [8 December 2025 18:21 UTC](https://forum.devtalk.com/t/anyone-know-how-to-get-into-the-password-locked-developer-option-of-an-android-projector-with-a-google-licensed-android-system-loaded/225657 "2025-12-08T18:21:46Z")

</div>

Can anyone help? I have an android projector with Google-licensed Android system loaded. It has the developer options passworded and the manufacturer is not willing to release the information. Anybody got any clues? M…

---

## [Android-Studio AI usability microagressions.](https://forum.devtalk.com/t/android-studio-ai-usability-microagressions/222690)

<div class="topic-metadata">

**Author:** [@Phlip](https://forum.devtalk.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [14 November 2025 16:52 UTC](https://forum.devtalk.com/t/android-studio-ai-usability-microagressions/222690 "2025-11-14T16:52:28Z")

</div>

when the new AI suggestion pops up it only happens while I’m freaking shredding, not while I’m relaxed thinking and can read it. Then I absolutely cannot get it back, despite the actual string is still logistically avail…

---

## [I don't know how to implement outgoing call feature in android studio using Kotlin](https://forum.devtalk.com/t/i-dont-know-how-to-implement-outgoing-call-feature-in-android-studio-using-kotlin/135843)

<div class="topic-metadata">

**Author:** [@Aathithyan](https://forum.devtalk.com/u/Aathithyan)\
**Replies:** 4\
**Last updated:** [9 October 2025 19:16 UTC](https://forum.devtalk.com/t/i-dont-know-how-to-implement-outgoing-call-feature-in-android-studio-using-kotlin/135843 "2025-10-09T19:16:44Z")

</div>

I need to know how to implement outgoing call in my custom application instead of using default phone call app i need my own app call.

---

## [Is There Any Way to Use VPN for API Testing in Dev Environments?](https://forum.devtalk.com/t/is-there-any-way-to-use-vpn-for-api-testing-in-dev-environments/207279)

<div class="topic-metadata">

**Author:** [@auroralane7754](https://forum.devtalk.com/u/auroralane7754)\
**Replies:** 1\
**Last updated:** [17 July 2025 23:20 UTC](https://forum.devtalk.com/t/is-there-any-way-to-use-vpn-for-api-testing-in-dev-environments/207279 "2025-07-17T23:20:14Z")

</div>

Hey developers :waving\_hand: I’m currently experimenting with various mobile VPN apps to simulate different network conditions for API testing. Has anyone here used a VPN for API endpoint testing or staging environment…

---

## [How can I create my soft Pos with android studio?](https://forum.devtalk.com/t/how-can-i-create-my-soft-pos-with-android-studio/200809)

<div class="topic-metadata">

**Author:** [@Alan](https://forum.devtalk.com/u/Alan)\
**Replies:** 0\
**Last updated:** [27 May 2025 15:49 UTC](https://forum.devtalk.com/t/how-can-i-create-my-soft-pos-with-android-studio/200809 "2025-05-27T15:49:00Z")

</div>

I need to create an android app to receive contactless payment from my clients. how can I start that? My clients will be phisicaly in the shop with theirs cards like master, visa, so on, and my selling android app I have…

---

## [Is there a doubleviewpager for android X?](https://forum.devtalk.com/t/is-there-a-doubleviewpager-for-android-x/182940)

<div class="topic-metadata">

**Author:** [@skysnap](https://forum.devtalk.com/u/skysnap)\
**Replies:** 2\
**Last updated:** [16 January 2025 13:27 UTC](https://forum.devtalk.com/t/is-there-a-doubleviewpager-for-android-x/182940 "2025-01-16T13:27:41Z")

</div>

Helo, I’m using doubleviewpager in my project: Is there something similar that works with android x?

---

## [Android Data Recovery Application \[Kotlin,Java\] - is there any way to read the .trash directory?](https://forum.devtalk.com/t/android-data-recovery-application-kotlin-java-is-there-any-way-to-read-the-trash-directory/76719)

<div class="topic-metadata">

**Author:** [@tauseeqafzal](https://forum.devtalk.com/u/tauseeqafzal)\
**Replies:** 5\
**Last updated:** [22 March 2025 07:19 UTC](https://forum.devtalk.com/t/android-data-recovery-application-kotlin-java-is-there-any-way-to-read-the-trash-directory/76719 "2025-03-22T07:19:23Z")

</div>

Question: Android Developer → is there any way to read the .trash directory? → we can copy or save the file before delete ? #android #developer

---

## [Android 12 - app notifications fire and immediately leave the tray for this app. Other apps work OK](https://forum.devtalk.com/t/android-12-app-notifications-fire-and-immediately-leave-the-tray-for-this-app-other-apps-work-ok/158448)

<div class="topic-metadata">

**Author:** [@freerefills](https://forum.devtalk.com/u/freerefills)\
**Replies:** 3\
**Last updated:** [22 March 2025 07:18 UTC](https://forum.devtalk.com/t/android-12-app-notifications-fire-and-immediately-leave-the-tray-for-this-app-other-apps-work-ok/158448 "2025-03-22T07:18:47Z")

</div>

I have an android app whereby notifications will fire and immediately leave the tray. This doesn’t always happen, it’s unpredictable they do sometimes stick around. It happens on android 12 but not 13. I don’t think it’s…

---

## [Trusted UI (Trusted Execution Environment or TEE) Implementation](https://forum.devtalk.com/t/trusted-ui-trusted-execution-environment-or-tee-implementation/187163)

<div class="topic-metadata">

**Author:** [@Dysentery](https://forum.devtalk.com/u/Dysentery)\
**Replies:** 1\
**Last updated:** [21 February 2025 01:10 UTC](https://forum.devtalk.com/t/trusted-ui-trusted-execution-environment-or-tee-implementation/187163 "2025-02-21T01:10:51Z")

</div>

I am trying to implement the PIN entry page using device’s TEE. I have acquired the confidential OEM Documentation. It have some C++ code and some code flow such as creating a TUI Session, start it, do some input process…

---

## [TFLite with React Native Expo - APK Shows "App Not Compatible"](https://forum.devtalk.com/t/tflite-with-react-native-expo-apk-shows-app-not-compatible/187460)

<div class="topic-metadata">

**Author:** [@Devraj5032](https://forum.devtalk.com/u/Devraj5032)\
**Replies:** 0\
**Last updated:** [13 February 2025 15:55 UTC](https://forum.devtalk.com/t/tflite-with-react-native-expo-apk-shows-app-not-compatible/187460 "2025-02-13T15:55:29Z")

</div>

I’m using TensorFlow Lite (TFLite) with React Native Expo. When I test the app using the Expo Go app, everything works fine. However, when I export a debug APK, the app shows “App Not Compatible.” Project Setup: Framewo…

---

## [Help, how to update arraylist in jetpack compose](https://forum.devtalk.com/t/help-how-to-update-arraylist-in-jetpack-compose/185979)

<div class="topic-metadata">

**Author:** [@Garrett](https://forum.devtalk.com/u/Garrett)\
**Replies:** 0\
**Last updated:** [31 January 2025 19:02 UTC](https://forum.devtalk.com/t/help-how-to-update-arraylist-in-jetpack-compose/185979 "2025-01-31T19:02:06Z")

</div>

I’m stuck trying to understand how to get a variable initialised, and later updated, in kotlin to update in Jetpack Compose and cause a composition that uses it to recompose. The variable is an arraylist of bitmaps set u…

---

## [Frequency of Android Studio Updates](https://forum.devtalk.com/t/frequency-of-android-studio-updates/175479)

<div class="topic-metadata">

**Author:** [@codergrid](https://forum.devtalk.com/u/codergrid)\
**Replies:** 1\
**Last updated:** [24 January 2025 07:00 UTC](https://forum.devtalk.com/t/frequency-of-android-studio-updates/175479 "2025-01-24T07:00:11Z")

</div>

I’m new to Android Studio, and curious about how long you’ve been using your Android Studio IDE. I read on Wikipedia that this year, Android Studio has already released six new versions. Considering the frequency of the…

---

## [What’s the difference between AI in mobile phones and regular smart Android features?](https://forum.devtalk.com/t/what-s-the-difference-between-ai-in-mobile-phones-and-regular-smart-android-features/182389)

<div class="topic-metadata">

**Author:** [@Sadik](https://forum.devtalk.com/u/Sadik)\
**Replies:** 1\
**Last updated:** [23 January 2025 06:47 UTC](https://forum.devtalk.com/t/what-s-the-difference-between-ai-in-mobile-phones-and-regular-smart-android-features/182389 "2025-01-23T06:47:35Z")

</div>

I’ve been hearing a lot about AI in mobile phones lately, and I’m kind of confused about how it’s different from the usual smart features that Android phones already have. Like, I know Android has stuff like Google Assis…

---

## [Room 3D model in Android Studio](https://forum.devtalk.com/t/room-3d-model-in-android-studio/184443)

<div class="topic-metadata">

**Author:** [@Garrett](https://forum.devtalk.com/u/Garrett)\
**Replies:** 0\
**Last updated:** [17 January 2025 20:40 UTC](https://forum.devtalk.com/t/room-3d-model-in-android-studio/184443 "2025-01-17T20:40:26Z")

</div>

This is a question about Android Studio. Where is the Android Studio emulator’s camera default apartment 3D model stored in Android Studio? To clarify I am referring to the 3D model shown in the attached images below. I…

---

## [I'm not getting permission to access full storage, although I added all permission requirements in manifest file. I'm using android 14 version(API 34)](https://forum.devtalk.com/t/im-not-getting-permission-to-access-full-storage-although-i-added-all-permission-requirements-in-manifest-file-im-using-android-14-version-api-34/182570)

<div class="topic-metadata">

**Author:** [@Ujjwala](https://forum.devtalk.com/u/Ujjwala)\
**Replies:** 1\
**Last updated:** [16 January 2025 13:30 UTC](https://forum.devtalk.com/t/im-not-getting-permission-to-access-full-storage-although-i-added-all-permission-requirements-in-manifest-file-im-using-android-14-version-api-34/182570 "2025-01-16T13:30:39Z")

</div>

I’m developing an Android application in which I need to add functionality to automatically read a CSV file from a file manager, parse it, and store the data in a database. I have added all permissions but it says permi…

---

## [Unresolved Reference to android in build.gradle.kts – Beginner Issue](https://forum.devtalk.com/t/unresolved-reference-to-android-in-build-gradle-kts-beginner-issue/177282)

<div class="topic-metadata">

**Author:** [@AnfaengerAlex](https://forum.devtalk.com/u/AnfaengerAlex)\
**Replies:** 2\
**Last updated:** [9 December 2024 21:07 UTC](https://forum.devtalk.com/t/unresolved-reference-to-android-in-build-gradle-kts-beginner-issue/177282 "2024-12-09T21:07:33Z")

</div>

Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the following configuration: plugins { alias(libs.plugins.android.application) apply f…

---

## [Can opentok call and native speech recognizer work together in Android](https://forum.devtalk.com/t/can-opentok-call-and-native-speech-recognizer-work-together-in-android/178996)

<div class="topic-metadata">

**Author:** [@nihar-gingercube](https://forum.devtalk.com/u/nihar-gingercube)\
**Replies:** 0\
**Last updated:** [28 November 2024 17:24 UTC](https://forum.devtalk.com/t/can-opentok-call-and-native-speech-recognizer-work-together-in-android/178996 "2024-11-28T17:24:36Z")

</div>

We have developed a audio/video calling functionality using opentok sdk, now we want to integrate speech recognizer for transcribing voice to text in the ongoing call using opentok. Now as the audio/video call has taken …

---

## [ Android Developer Offering Mentorship ](https://forum.devtalk.com/t/android-developer-offering-mentorship/177191)

<div class="topic-metadata">

**Author:** [@tsellami](https://forum.devtalk.com/u/tsellami)\
**Replies:** 0\
**Last updated:** [12 November 2024 23:05 UTC](https://forum.devtalk.com/t/android-developer-offering-mentorship/177191 "2024-11-12T23:05:04Z")

</div>

Hey everyone! I’m a senior Android dev with over 5 years of experience. I just launched a website called SocialCode to help developers collaborate together on projects instead of learning alone. To kick things off, I’ve …

---

## [Android App CPU Runtime and Battery Consumption](https://forum.devtalk.com/t/android-app-cpu-runtime-and-battery-consumption/177190)

<div class="topic-metadata">

**Author:** [@hasan10242048](https://forum.devtalk.com/u/hasan10242048)\
**Replies:** 0\
**Last updated:** [12 November 2024 23:04 UTC](https://forum.devtalk.com/t/android-app-cpu-runtime-and-battery-consumption/177190 "2024-11-12T23:04:25Z")

</div>

There is an Android app. I just want to create two GRAPHS with CPU Runtime and Battery Consumption. It is as simple as this. I tried with Android Studio Profiler. But from .trace file I am not sure how to generate the…

---

## [My SDK don't see a function "ScrollContent()"](https://forum.devtalk.com/t/my-sdk-dont-see-a-function-scrollcontent/143510)

<div class="topic-metadata">

**Author:** [@Tuk-tuk](https://forum.devtalk.com/u/Tuk-tuk)\
**Replies:** 2\
**Last updated:** [27 October 2024 23:25 UTC](https://forum.devtalk.com/t/my-sdk-dont-see-a-function-scrollcontent/143510 "2024-10-27T23:25:22Z")

</div>

Hello! I’m learning Android Jetpack compose development from tutorials and documentation by Android developers. And I ran into a problem… When I was checking the validation of sample of implementation Top App Bar my SDK …

[Next page](https://forum.devtalk.com/c/android-developer-forum/40.md?page=1)
