Android
-
Java.io.ioexception: http request failed, HTTP status: 500 (ksoap2)
I am using ksoap2. When I send a request to the server and get java.io.ioexception: http request fails, HTTP status: 5…… -
Android – cannot resolve base64.encodetostring
I'm trying to save an image on firebase using the following code Bitmap bm = BitmapFactory.decodeFile(imgDecodableSt…… -
Android – white border around dark theme cardviews
I have a custom control that extends cardview. I add it to the linear layout so that I can create a card grid. I don't…… -
Android – ‘com. Example. * *’ and ‘com. Example. * * {*;}’?
When I use Proguard, what is the difference between com. Example. * * and com. Example. * * {*;}? For example, what ha…… -
C# – what is the best way to slide and click on the relative layout in Android?
public bool OnTouch(View v, MotionEvent e) { if (gestureDetector.OnTouchEvent(e)) { //…… -
Gradle relies on using latlng in Java projects
I want to use the latling class in my java project https://developers.google.com/android/reference/com/google/android/…… -
Android – view is at the last position of the parent, but it is still blocked
What I want to do In the bottom sheet dialog fragment, I want a view that always sticks to the bottom of the screen, r…… -
Android Studio: include library test classes in app test
The (relevant) parts of my project folder structure are as follows ├───lib │ └───src │ ├───androidTest │ …… -
C# – fragment initialization sequence in mvvmcross 5 navigation service
I have questions about the navigation service introduced in mvvmcross 5 In version 4: > I use Showviewmodel< vie…… -
Android – why not use the “newinstance” pattern in the activity?
This seems to be a good way to simplify how to set parameters for fragments, so I'm curious why it's not often used to…… -
Android using NDK has no reference defined
I'm trying to implement the code here When trying to compile it, I received the following error: Error:(339) undefined…… -
How do I update Android things apps?
What if you need to update these applications, such as solving security problems? Many Internet of things devices are …… -
Android – private void sendregistrationtoserver (string token) parameter token is never used
I've tried all the available answers, but it doesn't help. What did I miss here? private void sendRegistrationToServer…… -
Android – the action bar displays only one item next to the search view
I want to have a search view and two buttons in the action bar, so I created menu / options_ menu.xml: <menu xmlns…… -
Android – how do I programmatically scroll recyclerview through specific pixels?
I expanded recyclerview, so I can expand it. It works the way I want, but now I want to scroll x pixels programmatical…… -
Android – onscroll gesture detector
I want to implement onscroll when a scrolling event occurs. But I don't understand how to use the parameters received …… -
C# – xamarin.forms property is not saved in Android version
I'm using xamarin. Forms and application. Current. Properties to persist user settings. I tested it on Android and it …… -
Android – Scrollview in percentrelativelayout 23.2.1 has incorrect zero height
I have a layout, which contains a Scrollview with LinearLayout and its children: a percentrelativelayout 23.2.1, anoth…… -
Android – how to use the ble connection of service connection across activities without stopping the service or disconnecting?
I have three components >Activity1 has buttons for connecting and disconnecting ble > activity2 needs to obtain …… -
Android – batch insert in realm
I decided to use realm for my project. I have read the document and can't understand how to import all mobile contacts…… -
RSA encryption differences between Android and Java environments
First of all, I apologize for the amount of code I'm about to release. I'm trying to use the RSA public key in my java…… -
Android – use espresso to find multiple elements in a web view
I am testing a hybrid application, where each view has a web view. In one of the web views, I have a list of elements …… -
Java – Android: targetapi is not recognized in the manifest
My list has the following lines: <intent-filter android:autoVerify="true"> But I got a lint warning: Attribut…… -
Android – how do I display and process the application’s contact details?
background I'm not sure how it is called, but when you open the contact details screen of the contact application, you…… -
Android – how do I get the build.prop value?
How to get the build.prop value in / system / build.prop without root access? How do I edit? resolvent: Is system. Get…… -
android – libstlport_ Static. A: no such file: permission denied
When compiling my android NDK project, I added To my JNI / application.mk file, some STL things are allowed. However, …… -
Android – highlight text in textview
I have a textview with random background color (possibly any color). I also have a text that needs to be readable on t…… -
Android – how to extract numbers from strings
See the English answer > extract digits from a string in Java 13. I am writing an application to reset the password…… -
Android – how to scroll up in the list view when the keyboard appears
I want to know what methods in this question can run in Android. I use listview and add EditText to it. I have the sam…… -
Android seekbar: drag bar control
Seekbar is an indirect subclass of the horizontal progress bar, which is equivalent to a horizontal progress bar that …… -
Android – speed limit for scrolling views
My app scrolls so fast! How do I limit the scrolling speed of the scrolling view in my Android application? Rolling ca…… -
How do I use cursors to retrieve data from a database? (Android,SQLite)
I'm stuck. I can't find out what I did wrong, so please help anyone. Although this is a very simple task, I don't unde……
