Category "android"

Musicg fingerprint for audio input

In musicg I can compare fingerprints of Wave files by the following code : double score = new FingerprintsSimilarity( new Wave("voice1.wav").getFingerprin

Difference between enterAlwaysCollapsed and exitUntilCollapsed scroll flags in coordinate layout

I'm unable to understand difference between these two scroll flags applied to the toolbar or collapsing toolbar, when scroll up and scroll down

How to add drawable to a Text in Compose?

As in XML we used to add a drawable to a TextView, so What is the equivalent of android:drawableLeft, android:drawableRight in Jetpack Compose Text? Is there an

Duplicate Classes to handle app flow (with explicit intents)

I have three different options in my app that allow the user through several of the same classes but at different times, ie 1) Sharing with friend: MainClass

Memory Mapped File location

I am trying to search a list of 268 000 words. The idea is to check whether a word that the user inputs exists in that list. I have accomplished this using a si

Set FAB icon color

current FAB I would like to know how to change the icon color of the FAB (Floating Action Button) widget supplied by the 'com.android.support:design:22.2.0' li

write COMMENT tag to WAV and M4A

I have an audio app and I need to read and write the COMMENT tag of WAV and M4A files. This is all I need. I had struggled for hours without success. The closes

Android Jetpack Compose white TabRow

I am trying to get Tabs working with a TabRow on Android with compose. What I'd like is the TabRow to have a white background. The default color seems to be thi

React Native Release App.apk search metro server

I have created a release of my android application. I have used Android Studio to create it, however, when I install the application it closes automatically. Th

Does firebase auth UID expires or not?

I'm goning to use auth.UID in my backend web service as api_key for each user I wounder if UID is final key or it expires/changes

Cordova build Execution failed for task ':app:compileDebugJavaWithJavac'

I am building mobile app using cordova https://cordova.apache.org/ I am facing error when I am trying to build for android platform even after updating build.gr

Gradle - "enforceUniquePackageName" deprecated with version 3.0.0+?

android { enforceUniquePackageName = false } "enforceUniquePackageName" works with the gradle version: dependencies { classpath 'com.android.tools.bu

Android changing Floating Action Button color

I have been trying to change Material's Floating Action Button color, but without success. <android.support.design.widget.FloatingActionButton android:i

Change color of Floating Action Button from Appcompat 22.2.0 programmatically

I would like to know how to change the Floating Action Button color from the Support library 22.2.0 ? I've tried button.setBackgroundColor(color); but clear

Not all apps are in the notification number badge list

Hi there Android / HUAWEI friends! I am designing an App for Android. I have utilized Firebase to send push notifications to the device where the app is install

Android/XML: RelativeLayout design

basically, I don't understand how to use RelativeLayout. I don't know how to design it. I always use LinearLayout with Table inside of it. Now I use RelativeLay

Room database onConflict = OnConflictStrategy.REPLACE not working

I am working on Room database and trying to insert list of items(eg. list of Quotes which contains author name and a quote in my case). Following is the code I

React Native: On Android, a button covered by position absolute view can still be tapped

Scenario: I have a red, green and blue box, each having a yellow box touchable inside. Red and blue boxers are siblings. Green box is a child of red box and is

How to make live update of glance widget?

Is that possible to make live update the data of Widget using Glance jetpack compose ? Like update data while database is changes . For example while I am using

How to convert date time in hex in android

I need to convert date and time in hex code for writing it on IOT device. Here is my code private String getDateTimeToHexa() { Calendar mCalendar = Calendar