Category "android"

Android Notification MediaStyle Ignores Ongoing Flag

I am attempting to employ a MediaStyle notification in an audio Android application as discussed in the audio app documentation as well as in the media style do

ViewPager2 crash

I am using Advance Navigation Component with BottomNavigationView. In one tab I have ViewPager2. When I clicked on the tab for the first time, it worked fine. A

How to globally change language in Android app

I have such code, and its work fine, but it change language only in context which was applied. I need to run this code in all activities. How can i change langu

Android Programming - Navigation Drawer Multiple Instances of Same Fragment

I am trying to make a weather app where each location that the user adds, it will be shown in the Navigation Drawer. I would like to have multiple items in the

How to remove the access rights to a linked google account after the deletion of an account at firebase?

I just implemented the possibility to delete the personal account at Firebase of an Android application. I then discovered that the application is still listed

java.net.ProtocolException: expected * bytes but received * #4302

@post() @multipart Call<FileUploadResult[]> upload File(@nonnull @part MultipartBody.Part... files); MultipartBody.Part body = MultipartBody.Part.create

Can I hide certain files and folders in the Project Explorer of my Android studio?

There are many files or folders that should be included in the project for a specific case, such as when building, but are not editable by the user. In the a

What is the use case for @Binds vs @Provides annotation in Dagger2

I am not certain on the purpose for Dagger2's @Bind annotation. From what i have read online im still not clear but here is an example: @Module public abstr

WebView is not loading page in Android 9.0?

public abstract class MainActivity extends AppCompatActivity { private static WebView web; private WebView mWebView; private java.lang

Flutter: How to use RefreshIndicator with SliverAppBar

I'm trying to add RefreshIndicator to CustomScrollView. Is it possible to do? Here is the code sample: CustomScrollView( slivers: <Widget>[ SliverAp

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/LocalDate; error

I tried everything, but the error not getting solved Here is my code: public String[] getWeekDays() { LocalDate today = LocalDate.now(); LocalDate mo

WhatsApp Status Save In Android 11 or above

Please guide me how to access whatsapp status folder in android 11? I have seen status saver apps in play store that doesn't ask for any special permission but

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/LocalDate; error

I tried everything, but the error not getting solved Here is my code: public String[] getWeekDays() { LocalDate today = LocalDate.now(); LocalDate mo

Bottom Navigation bar moves up with keyboard

I am using scroll view in a fragment but the screen does not scroll up when the keyboard is shown as it should be. Here is the scenario: I have mainActivity wh

Could not find com.beloo.widget:ChipsLayoutManager:0.3.7

I am using repositories mavenCentral() because jcenter() is deprecated. I want to implement com.beloo.widget:ChipsLayoutManager:0.3.7. But this is uploaded on j

I cannot concatenate a variable + string + variable this line of code gives me a error "None of the following functions can called with the argument s

I'm a newcomer in this, and I'm learning kotlin in android studio, and I'm stacked in this error, "None of the following functions can be called with the argume

App open event type in Accessibility Service

I'm working on Accessibility Service, but I'm not getting events of app start. I am using TYPE_VIEW_FOCUSED currently. Please let me know how can I get events o

bash script youtube filtering

The goal is to be able to send video urls to two metube dockers. One just for YouTube and one for everything else but YouTube. This script is going to go in my

SecurityException using scoped storage in some devices

Im looking in google play crashes in some devices, like Samsung and Nokia, api 29 and 30. Logs: Caused by: java.lang.SecurityException: at android.os.Parce

I'm getting an error while generating a signed apk bundle

I have made a simple app in android studio. It builds and runs fine when I test it on an android device, but when I tried to generate a signed apk for the app,