Android
-
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…… -
Checkbox setselected does not work when using the Android: drawableright property
My check box is in the XML layout: <Check@R_379_2419@ android:id="@+id/cb1" …… -
Android – how to solve “error: libx264 not found”?
I need to install ffmpeg and support libx264 to enable H.264 encoding. I successfully installed libx264 using the tool…… -
Android studio 3.0 doesn’t want to display the Huawei P10 I’m connected to
I've been trying to connect my Huawei P10 and Android 8.0.0 with my android studio 3.0 for several hours. But it doesn…… -
Android – displays progress when downloading images from the server to ImageView
I'm listview and want to display the progress until the image is not downloaded from the server to ImageView using Pic…… -
Android – mediaplayer setoncompletionlistener repeated calls
In my application, I display my audio files in listview, and when the click of a specific file of listitem must be pla…… -
Android – view for fragment id not found in custom dialogfragment
I knew there were many similar problems there, but I didn't find someone to solve my problem, so we left In an activit…… -
Java — invoke variables in string.xml
See English answer > Dynamic string using string.xml? 9 for complete code, see my previous question here If I want …… -
Listview count vs number of adapters in Android
Why do listview. Getchildcount () and adapter. Getcount () return different values? I have an onscroll method. If I ca…… -
How to get the currently available RAM in an Android device
See the English answer > how to get current memory usage in Android? 9 devices in which we enter the management app…… -
Android – how to use mvximageview.defaultimagepath?
I have successfully used the mvximageview of imageurl, but how to set a drawable icon as the default value for those u…… -
Java – how to get the average RGB value of bitmap on Android?
I know how to get the RGB value of each pixel of a bitmap. How to get the average RGB value of all pixels of a bitmap?…… -
Android – unable to find provider information for com.facebook.katana.provider.platformprovider
I want to log in to my application with Facebook, but I received the next message from logcat: Failed to find provider…… -
How to automatically scroll the mpadroidchart line chart?
I'm a new user of MP Android chart in Android. Who can help me? resolvent: So what you want to do is always show 10 va…… -
Java – how to link library projects in Android studio
I recently downloaded Android studio, and now I'm trying to build a project I used to use eclipse. The project also us…… -
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…… -
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…… -
JavaScript – phonegap Android geolocation watchposition timeout
I am testing with Cordova 3.0.0 and Samsung Galaxy S3 4.1.2 When I test the phonegap full example to see the location:…… -
Android optionsmenu problem, the background is always transparent
My options menu always shows no background (the background is transparent). Who knows how to get rid of this? My faile…… -
Switchcompat does not display a thumb image on the Android 5.0 lollipop simulator
I read about the new switchcompat introduced to implement the switch widget in Android 5.0. I try to use the same, but…… -
Android – where do you store string values? In the strings.xml or constants class?
In Android, we can store string values in the strings.xml file or in some constant classes as static final variables. …… -
Android – how to move to another activity in seconds?
I have a splash screen. I just want it to wait 1 or 2 seconds and then move on to the next activity. I know there are …… -
Android – the fragment startactivityforresult always returns resultcode 0 and intent null on the callback onactivityresult
I searched all similar posts about it, but I couldn't find a solution! In my case, I have an activity a, which contain…… -
Java – intentservice does not have an empty constructor, but has a constructor
I have an intentservice in the activity. When I try to call the service, it will throw this error. I find it strange, …… -
How to make responsive Android applications for mobile devices and tablets?
I created an Android application When I run my application on my mobile phone, it works well, but when I run in tablet…… -
java – division double android
My department on Android has a problem: double test= 100/ 1280; double test2 = 0.2354; System.out.println(…… -
Android – jsonarray cannot be converted to jsonobject error
When getting JSON data, I received an error: Code to generate JSON: JSONObject parent = new JSONObject(); DatabaseHand…… -
Android – how to align images in image buttons
I want to place my image in the assigned image button view. But it's not fixed in that space. It looks strange! Can I …… -
Java – the background of the drawerlayout is dimmed
I want to know how to darken the drawer background when the drawer is open. I have a transparent drawer menu (listview…… -
When sectionindexer is implemented, Android – fastscrollbar goes out of the screen
I use a custom adapter that implements sectionindexer to execute listview. When I only type minsdkversion = 8 in the m…… -
Android – force Proguard gives each method in a class a unique name?
I'm using Proguard to confuse Android applications. Everything's fine, but I'm trying to backtrack the stack trace fro…… -
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……
