Category "android"

Manifest merger failed : android:exported needs to be explicitly specified for <activity>

I have a problem with a manifest file, error message: Manifest merger failed : android: exported needs to be explicitly specified for . Apps targeting Android

How to decrease React-Native android App Size

For my react native android app, size of codes I have written is only 12KB But package generated is of size 7.9MB. How can i decrease that. As per Documentati

Loading images from internal storage kivy python

I am looking for a solution regarding loading images from internal storage file manager via my kivy application. for testing,i need to select the image from in

How to Pass data from TextView to CardView in Recyclerview which already have data from FireStore

I am new to Android Studio and I am facing a challenge. I have FireStore database and I retrieve the data to Textview inside CardView in the Recyclerview and "

Google Sheets API: How to find a row by value and update it's content

I am working on an Android application that uses a Google Spreadsheet as a database. The application should GET, APPEND and UPDATE values in a spreadsheet, usi

How can I generate an apk that can run without server with react-native?

I've built my app, I can run it on my local emulator (and also on my android device within the same network by changing debug server). However, I want to build

How to use android midi USB stack with non-compliant devices

I have a working android app which uses a proprietary java midi implementation to talk to a non-compliant midi device over USB. I now want to move to the standa

Android Studio - Assigning multiple value to ManifestPlaceholders in Gradle

I have two environment of my project one Prod another one is Staging. So whenever I have to build any of the environment, I have to change multiple keys like ma

How does Android's image copy-paste work and can this feature be expanded/modified?

Apologies if there is already information about this. I couldn't find anything. On Android, you can long-press an image and choose copy. On other apps, such as

SwipeRefreshLayout intercepts with ViewPager

I have a ViewPager wrapped inside a SwipeRefreshLayout. Sometimes, when I swipe to the left/right the SRL get's triggered. This mostly happens when I'm at the

How to have EditText with border in Android Lollipop

I am developing an Android app. I need to know how we can have a EditText with border. In Lolipop they have completely changed the EditText style. Can we do it

Round Double to 1 decimal place kotlin: from 0.044999 to 0.1

I have a Double variable that is 0.0449999 and I would like to round it to 1 decimal place 0.1 . I am using Kotlin but the Java solution is also helpful. val

Reach the version code and name from a library module

I'm currently working on modularizing my application, so I'm putting each feature in a library module. In one of my features, I access the version code and name

How to switch layouts back and forth using Square's flow library?

I am trying to use Square's flow library to make a very simple app. The idea is that clicking a FAB will switch the screen from blue to red. Clicking the FAB ag

Dagger-Hilt @AndroidEntryPoint is not working with BottomSheetDialogFragment()

I am using ViewModel inside BottomSheetDialogFragmet() so I have to mark my BottomSheet with @AndroidEntryPoint. @AndroidEntryPoint class SearchAddressDialog :

How to align to right on the same column in android layout

I have 2 text view and i want them to align horizontally at the same column. I tried to android:layout_toRightOf="@id/textName" but it seem like it goes to t

React-native fbsdknext when first logIn on android Profile.getCurrentProfile return null

Faced a problem while using react-native-fbsdk-next. The first call to Profile.getCurrentProfile on android returns null. Everything works correctly on ios. If

Ionic - run performance tests directly on device

I am developing an ionic 1 app designed to run on a specific android device. I cannot find a way to easily get performance metrics (memory usage, cpu, fps, et

input.readLine waiting (blocked) for ever, how to deal with this?

I have a Java server that it is compiling Android APKs by command line and writing the output into a file, this is the source code: Process p = Runtime.getRunti

gradle not syncing when adding firebase to android studio

So I'm trying to add the Firebase SDK to my Android Studio app as per the instructions from the Firebase website (see picture). Adding the line classpath 'com