Android
-
How does Android change the GridView highlight color?
How to change the highlight color of ImageView in GridView I tried this, public View getView(int position, View conve…… -
Android – why so much memory?
I have a 1000 × 1500 pixel bitmap, I want to make a variable copy in Android When I run the following code // int widt…… -
Android – pending tent getbroadcast lost assignable data
That's the problem. My program runs perfectly in Android 6.0. After updating the device to Android 7.0, pendingtent ca…… -
Android studio has built two applications for the same project at the same time
I am using Android studio v0.5.9 to create an application with a library project as a dependency. However, every time …… -
Can Android systrace events be recorded directly from native code without JNI?
Invalid Sign Is there any way to add events to the main systrace trace buffer or even generate separate logs from nati…… -
Android file names with spaces cannot be opened
When I open a file in sdcard, my code works normally. However, if I open a file name with spaces, an error will appear…… -
Android: how to use Tamil fonts
This is my Tamil HTML Unicode string முதல்பக்கக்திகள் I am using this Code: TextView text=(TextView)findViewById(R…… -
Android – type mismatch: inferred type is string, but charset is expected in kotlin
My main activities have the following codes: var qNa_list = parseQuestions(loadJSONFromAsset("qna_list.json")) fun l…… -
Android – custom UI on exoplayer sample
**If you don't know anything, I really need help. Don't give me a negative point of view: | if something bothers your …… -
Java – invoke the method from another fragment.
I've been trying for a while (searching here at the same time) to help me refresh listview in my mainframe. When I pre…… -
Blue screen in Google Maps for Android
When I load Google Maps on Android, I will see a blue screen. I don't know what I did wrong. This is my code to get th…… -
How to calculate the distance between two points in an Android Application
In my application, I try to calculate the distance a person travels from one place to another. For this purpose, I use…… -
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…… -
DP command problem in Java – INTERMEC printer
I am using INTERMEC direct protocol to provide printing commands for the printer. It contains text and barcode For 12 …… -
Android – genymotion 2.7.2 cannot be started after upgrading
I'm using genymotion and IntelliJ ultimate. Everything works well. Version 2.6 and Android VM work well. Then I upgrad…… -
Android – add text or pictures when recording video?
I'm trying to record and edit videos. In order to edit, I found a useful library called ffmpeg4android in Android. How…… -
Java – delete the database file from the assets folder
I want to delete the files in the assets folder at runtime. I have a database file in the Resources folder, which is c…… -
Android – what method do I call when I press the back button on my phone?
I have an application with many activities, which are created with onactivityresult Which method is called when I pres…… -
Android – kotlin: how to check whether a variable with lateinit attribute is initialized
I have a variable declared as private lateinit var apiDisposable: Disposable Then in the onpause () method, I'm doin…… -
Android – set the paintable position within the button
I have a button and a drawable on the left of the text, but I want the drawable to be closer to the text. So I need to…… -
Android – use the same intent service for parallel downloads
I have an intent service to handle the downloading and decompression of some files. Now I am trying to use the same in…… -
Android – unable to launch eclipse from ADT bundle in Ubuntu 12.04
So I downloaded the ADT package for Linux from developer.android.com, extracted it, 32-bit version, went to ADT bundle…… -
Android – calendar events in week view and day view
I want to create a calendar application with weekview and dayview functions Please give me some suggestions. I have se…… -
Java – how do I convert a string to the int value of the const class?
I have variables: String colorName = "BLUE"; I want to set this color to paint in the Android application. It should…… -
Android – change the text of the button in the program
The text on my button is set in the resource file. For example <Button android:id="@+id/up_button" andr…… -
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……