Category "android"

data is not emitted from android client to server using socket.io library

I am creating a chat app using socket.io library. The github link to library is com.github.nkzawa:socket.io-client:0.3.0 . I wanted to add the feature of adding

How can I clear notification?

I have to hide a notification when a timer is cancelling. I instantiate a notification manager and use myNotificationManager.cancelAll(); but it doesn't work.

How can I clear notification?

I have to hide a notification when a timer is cancelling. I instantiate a notification manager and use myNotificationManager.cancelAll(); but it doesn't work.

SpeechRecognizer directly gives onError 5 and then 7. Without waiting a couple of seconds for input

I have the following code to start the SpeechRecognizer: fun startVoiceRecognitionActivityNoUI(value: VOICE_COMMANDS) { Log.i(TAG, "SPEECH Results startV

Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch

Has anyone encountered this error before? I'm new in flutter, is there anything wrong while running the sample file of flutter that I'm missing? The stack trac

How to disable OneSignal on android?

I want to use OneSignal on my app to send notifications to my users, and it is well documented and good, you should just act like this: https://documentation.o

Error in Android Tutorial with sendMessage (view; View) - App Basics, starts another activity

When I try to change the property of the Button (onClick) no the drop downlist is empty and I receive errors when adding the sendMessage (view; View) Method. Se

pb while applying incremental android OTA on pixel

I am building my own AOSP that include full and incremental OTA updates. My device is a google pixel running a 7.1.1. I can perfectly build android images and g

Android Studio can't connect to JFrog Artifactory

We've been successfully running a JFrog Artifactory OSS instance for a few years to host our Android libraries. Recently the web server certificate expired so w

Failure [INSTALL_FAILED_USER_RESTRICTED: Invalid apk] in android

I am using Android Studio 3.0.1. When i am trying to run app INSTALL_FAILED_USER_RESTRICTED: Invalid apk error occurs. I also disable Instant Run.

The page property cannot be read when multiple PageViews are attached to the same PageController.Failed assertion: line 184 pos 7:

Iam trying to restart the quiz app but when iam press the restart i have this error message (The page property cannot be read when multiple PageViews are attach

How to remove unneeded permissions on Ionic 5 capacitor Android app?

I am setting up my first Ionic React app. I created an app with Ionic 5 and used the In-app Purchase 2 plugin. I wanted to test this, so I uploaded the signed

What happens when we call finish() in onCreate() method?

What happens when we call the finish()method for the activity inside onCreate()? Will the app get time to display the Activity, but then rapidly close, or won't

How can I convert a Long value to date time and convert current time to Long kotlin?

The Code A can convert a long value to date value, just like 2018.01.10 I hope to get Date + Time value , such as 2018.01.10 23:11, how can I do with Kotlin?

Start Background service when app is in background

How can I start an alarm using background services when we receive notification ? When my application is active then background service start easily, but when a

Fragment navigation and menu. How to remove latest fragment? Check description

I was incapable of finding an answer for the following context: Let's say we have a menu and a nav graph instanced in the main activity. We have 3 fragment: Hom

AccessibilityService not geting key event on softkey back,home button

My AccessibilityService work fine for physical back,home. but if user have device with soft navigation key (like nexus 4 ) it will not return key event here is

File picker type image returns null flutter

I have a problem with file picker type image. when I specify the type of the file as image file the function returns null , but when I specify an other type ,it

How to set global variables in gradle.kts?

My app uses several gradle.kts scripts. I want to set one variable which would be global for everyone. object Versions{ val kotlin_version = "1.3.60-eap-25"

White background shows during 1 sec when keyboard closes on Android

When I tap to close the virtual keyboard, white background is shown on that place for 1 second. I use Activity(WindowSoftInputMode = SoftInput.AdjustResize) to