Category "android"

Allowing microphone access(permission) in WebView Android Studio

send audio is not working can you please help I would appreciate if you show me where to write the codes. send audio is not working can you please help I would

android virtual device that failed to load

When i launched the eclipse in window 7 I was getting an error message: parseSdkContent failed Could not initialize class android.graphics.Typeface After doi

Room Database Table is still empty after inserting new data

I've just finished this tutorial for my app. But my problem is that even after I insert the data, my database is still empty. I checked that by viewing it in a

recyclerview problem when scrooling right half screen

When scrolling from left half screen of the mobile scrolling is happening but when i scroll from right half screen scroling is not happening. This is my xml clo

how i can scan ID Card(NIC) in flutter and also get data from it?

I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can

Alternatives to UIAutomatorViewer to inspect an Android app while running it

The developers I'm working with in my team need to make automated integration tests and in some of them need to make actions on particular elements within speci

"error: cannot find symbol" when building for Android in flutter

I keep getting this error when trying to build for android in my flutter app. This all happened when i added firebase messaging version 7.0.3. Even after removi

Logcat messages disappear after a while of showing up?

After few minutes of showing LogCat disappear. I changed the number of LogCat output message to be 10000 from the Window->Preferences->Logcat. But still d

Prevent Android function call from running before its predecessor completes?

I am running a main function that calls three others in succession like this: public void test() { countdown(); secondMethod(); lastMethod(); }

How to integrate Samsung Gear Steps in android Application?

I want to integrate Samsung Gear device for steps in my application, also jawbone Steps and misfit Steps. I've looked at several things, like the Samsung Gear S

Preventing hardware back button android for React Native

I want to prevent the user from going back to the previous screen. So I added code, but this does not work. Are there any solutions for this? The alert pop up i

How to know if Text is visible on Jetpack Compose?

I have a scrollable screen and I would like to do action when a specific text appears/disappears in that screen. Is there any way to do that? Thanks

Getting click event from the webview in android

I am using webView and I want to get the click event of the button on the webview in my app and want to perform operation from my side . But I am unable to get

MainActivity.java - cannot find symbol reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)

I've upgraded react-native to latest version (0.68) through react-native CLI, and now every time I'm trying to build for android I get this error: error: cannot

How to start an android emulator in ubuntu 16.04?

I have android sdk installed, I've looked up directions which say to run ~/android-sdk-linux/tools/android and then click on a tools menu, but there is no tools

Setting the alpha value for a ConstraintLayout group

I want to ask is it possible to change the alpha for a constraint group? <android.support.constraint.Group android:layout_width="wrap_content" andro

Getting com.android.volley.ServerError using the Volley library. What are some possible causes?

When I make a request in Volley, I'm receiving com.android.volley.ServerError and response code 400. I'm doing something like this (generic example code): final

android-How to protect a file from copying or seeing by users

I'm working on an application that it took me about 2 whole month to collect data. how can I protect my database and files? because of a big size of database,

Camera2 Api..java.lang.IllegalArgumentException: Surface had no valid native Surface

I was trying so long for Camera2 api integration to my app.Its working fine for capturing image at first.But when i snap second time the preview was not coming.

Gradle sync failed: CreateProcess error=216

I am running windows 7 32bit. I have upgraded from Android Studio from 1.5 to 2.2 and started following problem. I tried creating project but it didn't fix the