Android
-
Android – how to get the user’s location only once without tracking?
In my android app, I need to gt the user's location when I click the button. However, I don't need to receive continuo…… -
How to make Android support floatingactionbutton in the lower right corner of the screen?
I added a floatingactionbutton to the layout in relativelayout, as shown below <RelativeLayout xmlns:android="http:…… -
Android – EditText of expandablelistview child cannot maintain focus
I created an expandablelistview with a very complex sub item XML. It contains textview, Check@R_ 572_ 2419 @ and EditT…… -
Android – return without pressing the back button
In AActivity, press button1 and call BActivity.. Button b1= (Button)findViewById(R.id.button1); b1.setOnClickListener(…… -
How to set the width of radio buttons according to the screen size? (robot)
I have these radio buttons. They need Android: width = "X" and Android: height "X". However, I don't know how to set t…… -
Android wear watchface settings on the host
I currently have a developed Android wear dial. However, I now want to create a setting part on the host application t…… -
Android – repeated input error after adding Google service
I want to add firebase to my application. I integrated firebase according to the official firebase file. But when I tr…… -
When building from the CLI, Cordova adds unnecessary permissions to androidmanifest.xml
I used the CLI to build my Cordova application and added a media plug-in 'Cordova build' will automatically add androi…… -
QR code generator in Android
I'm going to develop a QR code generator application for Android devices Can someone provide some references to guide …… -
The Android application iframe is a website
How to create an application for iframes website in eclipse in Android. What is its code? Thank you in advance! resolv…… -
How to change the font of tablayout using custom font / calligraphy
I'm looking for answers on how to change the fonts of these tabs in tablayout to custom fonts I tried this, but it did…… -
Android – how to create a circular Facebook profile picture
I can't use this library to dynamically make an image of me into a circle. This is my attempt: private void drawerSetu…… -
Android – java.lang.illegalstateexception (this operation cannot be performed after onsaveinstancestate)
This error occurs when I receive the following message in different scenarios: >Activity corrupted > cannot perf…… -
Why do we use the “new” keyword with an interface in Java?
I'm new to Android. I've learned the basic object-oriented programming courses, which provide a way to enhance the fun…… -
Android. View. Inflateexception: binary XML file line when using custom view
Exceptions: > 10-13 11:47:32.151: E/AndroidRuntime(618): FATAL EXCEPTION: main > > 10-13 11:47:3…… -
Android – Google sign in failed only on (some) Xiaomi devices
I use Google login in my app. I'm using Google play service version 9.0.2 compile 'com.google.android.gms:play-service…… -
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…… -
How to set Android source code when hosting git tree as private repository on GitHub?
I'm trying to build a private repository of Android source code, and hosting git tree on GitHub as a private repositor…… -
Java – Android constraint layout renderproblems in nestedscrollview
I'm trying to add my contractlayout to nestedscrollview. When watching my contractlayout, everything looks good But th…… -
Java – Android. Brightness change
I'm trying to solve the following task: smooth changing the brightness from 100% to 0%, but I can't get a smooth effec…… -
Android JNI local reference table to dump the current state
Any Android JNI developer should be familiar with this wonderful message in logcat. My question is: how do I tell VM t…… -
Android – onprepareoptionsmenu copies items in the actionbar
When I use onprepareoptionsmenu to add a menu item, the menu item will copy itself in the action bar. I am using the c……