Android
-
Android – how to use setscrolllistener in staggeredgridview
I tried to add a scroll listener in staggeredgridview, where I couldn't find a way to add that I didn't see any implem…… -
Android – compress the bitmap and save it to the activity result of the sdcard
I've been discussing this problem and I'm not sure what to do. What I want to do is: take a picture, compress it to PN…… -
Android – how to specify different layout sizes for different densities
Can you tell me how to specify the layout size of different density screens? That is, the layout of different densitie…… -
Android – use the firebase cloud function to read data from the cloud firewall?
I am an Android Developer. Recently, I began to study projects based on firebase cloud function and firestore database…… -
Android – recyclerview nested in recyclerview performance
I have a recyclerview that lists many group items. Under each group item, I want another recyclerview with a grid layo…… -
Android – volley jsonobjectrequest sends header file in get request
I tried to send some authentication headers from the get request, and I tried to call with volley jsonobjectrequest: M…… -
Java – difference between datainputstream / dataoutputstream class and InputStream / OutputStream class
Whenever I use HTTPCONNECTION class in java me, Android or blackberry, I will use datainputstream / dataoutputstream c…… -
Why do static methods in Java only accept final or non final variables in their methods, not static?
Why do static methods in Java only accept final or non final variables in their methods, not static? For example, I ha…… -
Rotate bitmap in degrees in Android
I'm developing a shooting game with bows and arrows.. so how to rotate bows and arrows??? I've tried different animati…… -
Android – setting vector drawable in ImageView causes the application in the old SDK to crash
I used vector drawable in image SRC, as shown below: <ImageView android:id="@+id/isSold" …… -
Android – force closes the application programmatically
I need to create an application that can programmatically execute the force stop button to perform operations on the a…… -
Android EditText onclicklistener problem
I have a sales application. When the user clicks EditText, the pop-up calculator wants to be displayed. In my case, wh…… -
Logout function in Android
I'm making a social networking application. I'm implementing the sign out function. Clicking on the sign out button sh…… -
Java – how do I transfer duplicates in other ArrayLists?
I have an array list ArrayList<String> list=new ArrayList<String>(); list.add("Apple"); list.add("Bal…… -
Android – how do I add dependencies to the top-level build.gradle file of my project?
I'm trying a sample code to implement Google cloud messaging (GCM), which is provided by Google itself, GCM demo I don…… -
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 – 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 …… -
Android – how do I display buttons under conditions?
I have a button that basically looks like this: @H_502_5@ <Button android:id="@+id/admin_new_questions" …… -
How to add a section title to a custom list view in Android?
package com.VRG; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import android.app…… -
Android – how to use bitmaps to avoid memory overload?
My application uses bitmaps that display images the second time a user enters a specific activity Bitmap bm = BitmapFa…… -
Android – bufferedinputstream or FileInputStream IOException
I just released an Android application that parses local files and processes some data. A few days ago, one of my cust…… -
Android senior engineer daily interview questions selection, 10000 words long!
In the face of so many existing cross platform solutions, why is flutter the most popular cross platform technology? W…… -
Java – how to create a new activity, I can choose to add a new project from the database?
I created the database after this tutorial, and I created a button in the main activity, which takes the user to anoth…… -
Android – serviceconnection. Onserviceconnected() was never called after binding to a started service
public class ProgressService extends Service implements GameConstants { public static final String BROADCAST_PROGR…… -
android – Intent.ACTION_ Call starts a Skype call instead of a “normal” call
I have the following code, and I launch it from the dialog fragment button: uri = "tel:"+ServerDialogCallUs.this.cont…… -
Android – eraser with porterduff.mode.clear always draws a black line, I want to delete it
Can I draw its path, move it with my fingers, delete it with transparent lines, or don't draw at all? This is how I in…… -
Android – how to view content cacerts.bks (certificate file / system / etc / security / carcerts. BKS)
Does anyone know how to view the list of root certificates supported by Android devices? I want to see the information…… -
Android – basegameactivity and multiple inheritance
I want to use basegameactivity from the game example: https://github.com/playgameservices/android-samples/blob/master/…… -
How does the Android remote control work with Google TV
Any idea about how Google TV remote application on Android platform works. I just tried it today. It's paired through …… -
Android passes the firebase auth object to another activity to exit
I log in to the user in the main activity, but I want to log out of the user in another activity through the button. H…… -
Java – Android calculates minutes / hours / days from a point in time
I'm parsing twitter. I want to show how long it's been since twitter was released. But it doesn't seem to calculate co……