Questions tagged [android]

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter and etc. For questions other than development or programming, but related to the Android framework, use this link: https://android.stackexchange.com.

-1
votes
0answers
15 views

There is only one supported device at play.google.com Device catalog

There are similar titles like "zero devices compatible" or "one device compatible". But problems are different for all of them. How can i fix it? AndroidManifest.xml : <?xml version="1.0" ...
0
votes
0answers
7 views

How to return a data (image) to browser from activity (camera / image picker activity) which is triggered from browser

I've created simple camera app and launching it from browser() to take picture from multiple camera options if i choose default camera or 3rd party cameras (open camera, youcam..) an getting data back ...
0
votes
1answer
29 views

How to get all items in listview?

I am implemented one code to scan the wifi netwroks and display them in list. After selecting one of the wifi network from the list, I have added selected network in another list view. Now when I ...
0
votes
0answers
11 views

Data could not upload to firestore and “Couldn't load memtrack module” on Logcat

I am trying to upload some data using android studio to firestore but the data could not update to firestore orderAddBtn.setOnClickListener(new View.OnClickListener() { @Override ...
0
votes
1answer
11 views

Wired Out of memory: Java heap space error with ffmpeg library

Well this is the error I get: Out of memory: Java heap space. Please assign more memory to Gradle in the project's gradle.properties file. For example, the following line, in the gradle.properties ...
-1
votes
1answer
22 views

How to fix “Expected URL scheme 'http' or 'https' but no colon was found” error?

In my app, I'm trying to connect with API using hashmap from a fragment. The issue seems to be that the async task through which I'm connecting to the API doesn't want to accept my request. The error ...
0
votes
0answers
20 views

How to close a file from assets folder in android-kotlin

I want to close the file which is opened using assetManager. I've used the following code to close the file but it is not working and the app is stopping continuously. Kindly help me try { ...
0
votes
0answers
7 views

data binding error message msg:No class attribute for 'view' node file:F:\androidproject\MVCutters\app\src\main\res\layout\main_wood_item.xml

data binding error ****msg:No class attribute for 'view' node file:F:\androidproject\MVCutters\app\src\main\res\layout\main_wood_item.xml <?xml version="1.0" encoding="utf-8"?> <layout xmlns:...
1
vote
2answers
20 views

java.lang.ClassCastException: androidx.appcompat.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout

Strange Exception I am getting when I am using just FrameLayout in my SampleActivity. Caused by: java.lang.ClassCastException: androidx.appcompat.widget.ContentFrameLayout cannot be cast to android....
-1
votes
0answers
19 views

HTTP 400 Error Code when sending a JSON request

My problem is that I need send a JSON to a server but when I call the method I always receive a 400 error. I used postman and the JSON is correctly created. I use the Volley library. I have tried to ...
0
votes
0answers
9 views

Module RCTEventEmitter is not a registered callable module( calling receive Touches)

I'm using the emulator from android studio to run my react-native app, however I can't run it successfully on the emulator. The error above keeps pop up every time I hot loading the app. The app ...
-1
votes
1answer
55 views

Can't split String [duplicate]

I'd wanted to split string, but for some reason I've received this error java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 Here's my code string value is "88km N of Yelizovo, Russia" ...
0
votes
0answers
9 views

Bluetooth connectivity: MODE_IN_CALL vs MODE_IN_COMMUNICATION

I have an application that needs to connect to wireless bluetooth headset to collection RAW audio. MODE_IN_CALL works in some devices and MODE_IN_COMMUNICATION in others. Mic works and I lose audio ...
0
votes
0answers
19 views

Scrolling Activity with circular profile image view

I am creating an android scrolling activity for profile, i want the scrolling activity to include a circular image view for user's profile and make it hide and collapse with the action bar, when the ...
-1
votes
0answers
24 views

Error inserting DateTime values on database

I searched for this online and some posts even here on stackoverflow talk about this but never resolve to my problem. I am having a problem inserting DateTime into database. The first problem is that ...
-1
votes
0answers
14 views

Auto redirect to MainActivity when Save/Update data to FirebaseDatabase, Why?

when i am save/update data to firebaseDatabase on click button after saving data the activity auto redirect to MainActivity. i did not use any intent for redirect activity but it done automatically i ...
0
votes
1answer
16 views

Cannot set TabItem text and icon size is always the same size

Basically I want to increase the size of the icon and maybe set text instead but I want to set text per xml or over the Tablayout to the current tab item I don't get anything and can't increase the ...
0
votes
0answers
34 views

Unauthorized when send POST method

I have a problem with Retrofit and post method. My GET method with authentication work but POST isn't working. I logged without any problems, and do any GET method. When I am trying send some data ...
0
votes
0answers
11 views

Differentiate crash reporting between debug and production builds

I'm setting up Firebase Crashlytics for my Android app, and I would like the crash reports for the debug version to be separate from all other versions. There are several copies of the auto-generated ...
-1
votes
0answers
11 views

How to connect jira Zephyr and Jenkins?

We have automated ui tests for android apps. Now we start them manually on Jenkins. We have Zephyr and want start using it to organize and start tests execution from zephyr. How to make this ...
0
votes
1answer
23 views

RecyclerView not updating after input

Im saving data in MySql and want to add an update function to my saved notes. Im displaying the arraylist of notes in a recyclerview. When updating i have implemented a click function on my cardview ...
-1
votes
0answers
11 views

TextInputEditText has no 'setStartIconDrawable' function, why?

I'm playing around with TextInputEditText and TextInputLayout, trying features and material design. I have implementation 'com.google.android.material:material:1.0.0' implementation 'androidx....
1
vote
1answer
31 views

Pause CountDownTimer as long as the app is not visible

I have a problem with my app. I have created a button called "browse". By clicking it, the button performs a google search and the app is no longer visible. Additionally, I have a countdowntimer. Now ...
-1
votes
0answers
16 views

How to Encrypt an AES method video file?

How do I encrypt an AES method video file on an SD card? It needs to be in blocks of 512 bytes, and can be decrypted and played using ExoPlayer
0
votes
3answers
35 views

Multiple button click event

I have two buttons and each button has each function, but also I would like to add another function when the user clicks these buttons at the same time. Here is my code: public class MainActivity ...
-1
votes
0answers
33 views

Getting a null pointer error in android studio when trying to start new activity [duplicate]

I'm getting a null pointer error in android studio when trying to start a new activity, but I cant workout why the reference is null.I have tried everything I can think of and have made no progress in ...
0
votes
1answer
18 views

How to detect mobile that uses node api in a app

I am using express API in my mobile app. The express server detects mobile (using user-agent) when API is tested through the mobile browser but the problem is with the app. Whenever I make an API ...
0
votes
0answers
20 views

How to solve “Unable to connect ADB” error on MAC?

I'm trying to start ADB but I can't do this. When click run it showing initializing ADB after that It showing and the log is Unable to run 'adb': null '/Users/EIT/Library/Android/sdk/platform-...
0
votes
0answers
13 views

Problems running single shot detector (Tensorflow object detection API) on Android on GPU

I'm using the Tensorflow object detection API: https://github.com/tensorflow/models/tree/master/research/object_detection to run a single shot detector based on MobileNet on Android on the GPU. I've ...
0
votes
0answers
16 views

BottomSheetDialogFragment overlaps navigation bar

I've issue with enter/exit transition of BottomSheetDialogFragment. For some reason animation overlaps system navigation bar. Is there any way to prevent bottom sheet from overlapping navigation bar?...
-3
votes
0answers
17 views

How to build a one to many live streaming application? [on hold]

I want to Build an application similar to Bigo Live. I have researched various broadcasting services and providers i have no idea where to start and how to achieve this. Idea is one streamer to many ...
0
votes
0answers
14 views

How to solve Client Error while posting data using volley?

I am trying to post form-data using volley library. I have tried quiet a good number of solutions from this platform but I keep on getting the error 'com.android.vollet.ClientError'. It works ...
0
votes
0answers
19 views

how to cancel retrofit request in model while using mvp pattern

i want to cancel request in model implementation iam using mvp pattern public class ModelImpl implements UploadInterface.Model,ProgressRequestBody.UploadCallbacks{ public Call pojoResponseCall; @...
1
vote
1answer
14 views

How can I resolve OnSucceslistener on a TabLayout Fragment

This is the Database[][1] I am trying to populate the layout I made on a tab layout Fragment with data from a Cloud Firestore database and with the following code the error says that: success ...
0
votes
0answers
23 views

Material Floating Action Button causing error and crashing xml

I migrated to androidx and my dependencies is: implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' implementation 'com.google.android.material:material:1.1.0-alpha06' I used ...
0
votes
1answer
21 views

Configure .jar to expose its dependencies

I have 3 modules: annotations, annotation_processor and app. annotations/build.gradle apply plugin: 'java-library' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) } ...
1
vote
2answers
39 views

How to make semi circle (arc) view in layout

I want to make an arc view in my layout , I've tried to use a library but it doesn't works fine , how can I make an arch view like this and attache a button to it for example : I've tried some ...
0
votes
0answers
16 views

Why finding the device location takes more than 10-15 seconds?

I have implemented the LocationManager, I have set an listener on the location change but when I need the position, it take more than 10-15sec to give me the (first) position I have tried on ...
0
votes
0answers
8 views

Which is better between argon2 and Scrypt as far as performance of android application is concerned

I previously integrated argon2 in my android application but the client suggested to add some light weight library and suggested Scrypt for key Derivation. But after adding I found performance issues ...
0
votes
0answers
15 views

How to properly “setMutableVisiblity”?

I'm trying to create a function, setMutableVisibility. The thing is that I'm supposed to use another function but I got an error. I do not understand why. Furthermore one of my friend just did the ...
0
votes
0answers
8 views

Two build types. One is equal to main. As result empty activity

Android Studio 3.4 I has 2 build types: debug and release. The release is equal to main version of app. I has activity CartActivity. It's has different (very complex logic) functionality only in ...
0
votes
0answers
14 views

React-native release apk refuses to install

I have encounter a problem I am unable to solve, I have followed all steps from: Unable to install signed apk from React Native but the ones in Android Studio since I am not using it and the steps ...
1
vote
2answers
26 views

How to perform custom navigation?

I try to using new architecture component called navigation. It's very thrilling and make lesser code than using FragmentManager. Now, I ended up in a case where I have 5 fragments with navigation ...
0
votes
0answers
10 views

Showing error during change project from app module to library module

I have a android project, now i want to change it to library module for use it in another project, for doing it, first i removed application id from gradle file then after i have changed apply plugin: ...
-1
votes
0answers
17 views

How to set animation on seek bar with start and stop? [on hold]

When start button is clicked SeekBar animation start When pause button is clicked SeekBar animation pause in android. I test ValueAnimator but pause and cancel not worked. private static final ...
-2
votes
0answers
9 views

Intent to land Paytm payment page after barcode scanning

I made a sample android application which scans the barcode. Now i want that if it scans a paytm barcode that it show a button and opens the paytm payment page when button is clicked. Any Idea how ...
0
votes
1answer
14 views

How to handle in app update Immediate mode when user clicks on close button?

As per documentation , for in app update API implementation I am using immediate mode. But there is close button on full screen UI. When user clicks on the close button, UI is dismissed. How to handle ...
0
votes
0answers
36 views

Render HTML content inside a <p> tag without changing any code, only able to change the content

For a few business reasons, it is very difficult to push a new version of an ionic app out to users. We are migrating and at some point will need to message users who have no updated the old app. We ...
0
votes
0answers
11 views

Open deeplink on iOS in react native app. Can we open Deeplink URL in self-app on iOS?

Can we open Deeplink URL in self-app on iOS? I am buiding react native app on iOS with DeepLink. I create deeplink formatted: myapp://people. And it is OK, I can open from browser with this url and ...
0
votes
0answers
9 views

Manifest merger failed “<meta-data>”

I'm new to Android studio and Whenever I run my code I keep getting this error: Manifest merger failed : Attribute meta-data#com.google.android.gms.version@value value=(integer/...

http://mssss.yulina-kosm.ru