Category "android"

How to handle Single<Single<String>> in RX?

I have an api with a method fun getList( @Path("array") array: String ): Single<List<EpisodeRetrofitModel>> I need an argument to u

Untrusted Server Certificate in Intellij

I don't understand why Android Studio behaving weird, sending this Untrusted Server Certificate request again and again. Please suggest how to avoid this?

Call from foreground service stops working when screen is off

I have the following code that makes a phone call: public static void CallPhoneNumber(this Context context, string phoneNumber) { var uri = Android.Net.Uri.

Unknown DataBinding Class

I am newbie to DataBinding in Android and learning it to my own. I have just enabled the DataBinding in my App Gradle File in the Android Tag as: dataBindin

Using Custom Views with Jetpack Compose

Let's suppose I'm using some library that's intended to provide some UI Widgets. Let's say this library provides a Button Widget called FancyButton. In the oth

What is Scaffold? Jetpack compose

I want to know what is Scaffold in jetpack compose with a BottomAppBar example can anyone help me Scaffold

how to set condition in adapter?

I use this to visible some textview public void onBindViewHolder(@NonNull ViewHolder holder, int position) { Post p = posts.get(position); hold

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th

How to make thumb smaller than track in switch button in android studio?

Hy, guys. This tiny problem drives me crazy. I wanted my switch to be like this : , but after a lot of googling, I could not do it. My current button is this

Rename a file/Image in flutter

I am picking a image from gallery/taking a photo using image_picker: ^0.6.2+3 package. File picture = await ImagePicker.pickImage( maxWidth: 800, imageQual

Is there any way to break the limit of openCL memory in android?

I want to allocate 4.5GB to my openCL program in android phone wiht 8GB memory. But I found the memory size from CL_DEVICE_GLOBAL_MEM_SIZE is much lower than th

How to make thumb smaller than track in switch button in android studio?

Hy, guys. This tiny problem drives me crazy. I wanted my switch to be like this : , but after a lot of googling, I could not do it. My current button is this

Is there any way to break the limit of openCL memory in android?

I want to allocate 4.5GB to my openCL program in android phone wiht 8GB memory. But I found the memory size from CL_DEVICE_GLOBAL_MEM_SIZE is much lower than th

what is different between ANDROID_HOME & ANDROID_SDK_HOME

I have 2 directory that look same, ANDROID_HOME=C:\Android\sdk ANDROID_SDK_HOME=C:\Users[user]\AppData\Local\Android\Sdk whats the different? can I set it in

Picasso Fetching Images in Activity, then show them into Fragment's ImageView

I am trying to fetch multiple images in an Activity with FragmentStateAdapter in it. Then I need to show them into some Fragment's ImageView. I want to preload

How to clear navigation Stack after navigating to another fragment in Android

I am using The new Navigation Architecture Component in android and I am stuck in clearing the navigation stack after moving to a new fragment. Example: I am

React-native <Image> onProgress event returning wrong event.nativeEvent.total in Android

I am using onProgress event of Image component from react-native to try to get the file size in bytes of the remote image (the source uses uri). In iOS everythi

Android 11 SSL handshake fails when using Charles Proxy

Unable to use Charles Proxy with Android devices since the update to 11. I've read the Configure CAs for debugging page and verified that the app I'm testing is

How to implement Android playstore in-app update with react-native

How can I implement play store in-app update with my react-native app, which is already live on play store? I have already implemented code push and also int