Category "android"

Deeplinking with Navigation component with Individual Stack

I have two urls which falls under the same deep link like below : xxx.yyy.zzz/pages xxx.yyy.zzz/how-deeplinks-work-exactly Now the first one is a list of pages

how to change the Slider's thumb Material Component Android with image?

I am trying to use the slider in Material Design component, but stuck for styling the thumb. My design requirement needs shadow surrounding the thumb. From the

Cannot resolve symbol 'FirebaseInstanceId' Android

I started to encounter this error when I upgraded the version of the project to androidx. I also upgraded the firebase sdks. I started getting error "Cannot res

How to display all x-axis value align with group bar in mpchart android

private void displayGraph(){ barChart.setDrawBarShadow(false); barChart.setDrawValueAboveBar(true); barChart.setMaxVisibleValueCount(

Does the onValue listener for Realtime Database return items in the same order that they are added to the database?

I don't see this specified in the docs anywhere. Does this listener return the node's data in the order that it is added to the node? For example, if I add mess

kotlin.UninitializedPropertyAccessException: lateinit property postFragment has not been initialized on FragmentStateAdapter Dagger Hilt

i tried to implement viewpager2 with tabLayout with dagger-hilt. then i got error when implementing viewpager2 on dagger hilt "kotlin.UninitializedPropertyAcces

Seekbars in RecyclerView become "linked". Changing the value in one, changes another

I've set up a RecyclerView and getting some odd behavior when adding Seekbars to every row or "view". I've also tried this just using ListView as well and get t

How can I passs a method except parameter in Kotlin?

I hope to pass a method which implement MediaRecorder.OnInfoListener. At present I use Code A to pass the method which implement MediaRecorder.OnInfoListener.

Could not find protoc-3.9.2-osx on Flutter/Android build

I am working on a Flutter application which integrates a native package which uses Protobuff. I work on Android Studio and Mac (Apple ship). On windows, the app

Flutter Unable to instantiate activity ComponentInfo Main Activity

I'm using vs code (to code) and android studio (to get virtual device). I just merged and pulled the project I'm working on this morning, and first, have a very

How to change Android "config.xml" values for low memory killer

I'm trying to tune these two low memory killer (lmk) values on my Pixel 4XL with Android 12: <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">-

How to set NDK on android studio after downloading it

For some odd reason I'm unable to set Android NDK location, I download it and now I'm unable to set the location. The button is disabled and really don't know w

Crash of the flutter project on the Google Pixel 6 Pro, OS Level 31

We released our app and the next day we got a lot of crash reports on the Google Pixel 6 Pro with different use cases. On all other android devices, with exactl

How to define a variable which implement the interface in Kotlin?

I hope to define a variable mAction which implement the interface MediaRecorder.OnInfoListener . But Code A isn't correct, how can I fix it? Code A val mActio

pull to refresh freezes the WebView scrolling in flutter

After implementing the pull to refresh button on webview I'm facing the screen scrolling issue on webview. When I try to scroll the screen upwards or downwards

Execution fail task ':capacitor-cordova-android-plugins:processDebugGoogleServices'. No matching client found for package 'capacitor.android.plugins'

Error while building the app in studio.enter image description here

How can I open app when screen is off from foreground service?

Android: 11 NETStandard.Library: 2.0.3 Xamarin.Forms: 5.0.0.2012 Permissions(i tried): "android.permission.FOREGROUND_SERVICE" "android.permission.INSTANT_APP_F

How to use AMediaExtractor_seekTo with ndk

I am writing a mp3 player for android with ndk. Im using AMediaExtractor and AMediaCodec as in ndk example NativeCodec. Now would reposition the stream and I wo

Fragment backstack with NavDeeplinkbuilder usgin Navigation components

I have single activity app using navigation components. I have three fragments: WelcomeScreen -> HomeScreen -> MovieDetailsScreen. I use Notification in m

Fragment backstack with NavDeeplinkbuilder usgin Navigation components

I have single activity app using navigation components. I have three fragments: WelcomeScreen -> HomeScreen -> MovieDetailsScreen. I use Notification in m