Category "android"

The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first react native

I know this was asked before, but none of the solutions seem to help. I'm using first time Facebook SDK in my application. MainActivity.java: package com.spade;

How to use actions or do scroll in app in Java?

TouchAction is deprecated. Any pointers for new usage to do vertical Scroll? Below code used. But not working as TouchAction is deprecated. Dimension dimension

Unable to set BottomSheetDialog initial height

I'm trying to set a height peek from which the dialog must start, then the user if dragged should be able to expand it, the issue is that in any case the bottom

increase Android BLE bonding / pairing dialog timeout

I have an android app that connects to a BLE device and pairs with it using BleDevice.createBond(). the issue is that the dialog could disappear before the user

Android LiveData advantage than other observable libraries

In 2022, What scenario can imagine LiveData is better than other observable libraries such as StateFlow, SharedFlow, Coroutine Channel and etc.

Error when running app on virtual machine in Android Studio

I am fairly new to android studio so please excuse my incompetence. Two days ago I deleted android studio and re-downloaded it and now the emulator refuses to w

unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)

I received this build error having updated my native android project to Android S (Pre release of android 12). Googling for the error threw up no valuable hits.

Android facebook share opens web page instead of native app

I am using Facebook share SDK and I read the docs which says that if the native Facebook app is installed then it will be used as a share dialog otherwise a web

How can i show previous 30 days in my list calendar?

I have a calendar, that works correct but shows only current day and future. How can i set previous days? I'd like to highliht a current day but also give an op

Error inflating class com.google.android.material.bottomnavigation.BottomNavigationView in Kotlin

Dear team I am trying to use com.google.android.material.bottomnavigation.BottomNavigationView on my Kotlin application. While running the application, My appli

Unable to start API 29 emulator (Android 10)

As the title says, I have tried to create an Android 10 emulator, when trying to start the emulator nothing happens, only the phone appears on the screen but th

Flutter : Issue with the dependencies in the project

I am using a prebuilt project and I am getting below issue with the three dependencies mentioned Error: Cannot run with sound null safety, because the followin

constructor in class cannot be applied to given types android studio

i am making a recipe app and i m getting this error : constructor HomeItem in class HomeItem cannot be applied to given types; recipe.add(new HomeItem("

How to set android layout height to x% of its parent height?

I would like to create this simple layout: I wrote this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.androi

Error in reading the Firebase: from firebase value to child

I have created an event handler for the onClick button. When I click on the button, I want to transfer a pre-recorded number in the database to the price sectio

React native app build success, but nothing displayed

I successfully run the react-native app and emulator also opended. I'm also getting emulator loading message too However After that it crashes and nothi

I am getting this issue, I tried using kotlin coroutines and Async still getting the same Calling this from Your main thread can lead to deadlock,

I also made another class that implements runnable to make a new thread still it's now working, Also tried with Aynctask. At last, I made a view model but still

Firebase Push notification not receiving on Android 12

My Xamarin.Android app's push notification only works on Android 11 (Pixel 3 XL). Currently my app targets Android 11, however it also runs on Android 12 (Pixel

EventChannel not being called every time

I am very new to flutter+dart framework. I am trying to understand how EventChannel works. I have set up EventChannel to capture the number of an incoming call.

Error "$flutterSdkpath\packages\flutter_tools\gradle\app_plugin_loader.gradle" while running the app

I am facing an issue while running the app. My flutter details are: Flutter Version: 1.12.13+hotfilx.9 Doctor summary (to see all details, run flutter doctor