October 22, 2024
Chicago 12, Melborne City, USA
Android

Android bottom navigation bar too big

The bottom navigation bar is too big. Looks fine in editor, but on device and emulator is too big. See attached photo: bottom navigation bar I have tried setting the margins and padding to zero, but to no avail. Here is my code: <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="0dp" android:layout_margin="0dp"> <com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent"

Read More
Android

Permission Denial: android.bluetooth.device.action.ACL_DISCONNECTED

I’m getting below error while sending a broadcast event. Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.bluetooth.device.action.ACL_DISCONNECTED I’ve already provided all the required permissions in the manifest too but unable to fix it. <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" /> <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" tools:ignore="ProtectedPermissions" />

Read More
Android

Why can't I install an APK only on Android TV?

I have an APK made with Unreal Engine 5.4.4 and I installed it on sveral smartphones and tablet (since versions android 10.0 until androi 14.0), and in all it works. But when I try to install it on an Android TV, I receive and error which says the app isn’t compatible with device or android

Read More
Android

React Native Project – Built Fail due to NDK

I was working on my new react native project. It is working well and I install npm packages for react-navigation. After that I run my project it give me this error error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went

Read More
Android

Do I Need to Pay Unity for Using Netcode with Self-Hosted Server (No Additional Services)?

I’m developing a multiplayer game using Unity Netcode for GameObjects and plan to host the server on my own machine or a third-party VPS. I don’t intend to use any additional Unity services like Relay, Authentication, Matchmaking, etc. I just want to use Netcode for a simple client-server multiplayer model. My question is: Are there

Read More
Android

How to check if a debugger is attached to an Android process without using the Android Studio GUI?

I am trying to automate a test to check if a debugger is attached to my Android application. Currently, I can test it manually, but I would like to know how I can do this without using the Android Studio graphical interface. The way my application checks if the debugger is attached is by reading

Read More
Android

How to do a smooth expandable Floating Action Button Jetpack Compose that closes on outside click?

I want to create a Floating Action Button (FAB) in Jetpack Compose that, when clicked, expands into a menu with multiple clickable buttons. The menu should open and close with smooth animations. Additionally, the menu should close either when clicking on the FAB again or when clicking outside the menu. Here are the key requirements:

Read More
Android

Implementing OpenStreetMap for searching placing in react-native application

Error 1: Message: Render Error – Invalid attempt to destructure non-iterable instance. Details: In order to be iterable, non-array objects must have a Symbol.iterator method. Error 2: Message: Render Error – Invalid attempt to destructure non-iterable instance. Details: In order to be iterable, non-array objects must have a Symbol.iterator method. Both errors share the same

Read More
Android

How to split Flutter ARB localization files by feature in a clean code folder structure?

I am working on a Flutter project following a clean code architecture, and I use ARB files for localization. I’d like to organize the translation files within each feature and component, but I’m unsure of the best way to structure them. Currently, my project looks like this: lib/ ├── features/ │ ├── feature_1/ │ │

Read More
Android

How to get Google Analytics data into Android app

I have an android app. I want users in my app authenticate with oauth and be able to get data for their properties. Was not able to find solution for that. You need to sign in to view this answers

Read More