包含标签:Android 的文章
-
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…… -
Database in Android studio
I am a Windows Mobile developer. Recently, I began to use Android studio to develop Android applications I need to cre…… -
Android – using the material button will result in a classnotfound runtime error
I am replacing buttons and material buttons in my application with < com.google.android.material.button.materialbut…… -
Android – change the default design theme to a custom color
I am new to Android studio. As a beginner, I have created a simple application for testing purposes only and see the a…… -
Android – how to query complex nested objects in the room?
I have several entities, as you can see below. The problem is how to correctly select nested lists when you have multi…… -
Android – try to call the virtual method for the null object reference of SharedPreferences in the fragment of actionbaractivity
My application needs to access the shared preferences file in the background. Since I started using the actionbar acti…… -
Android – my application leaked randomly shaped bitmaps that are not in my drawable folder
I have a strange memory leak problem. My application keeps leaking bitmap objects and other related objects, such as v…… -
Advise error parsing XML unbound prefix Android
I let AdMob work for a while. After the error, I made a mistake and scrapped the whole thing more than once. Now I get…… -
Android – how do I refresh the last activity after pressing the back button?
I'm building an alarm application. I currently have a listactivity that displays a list of alarms and another activity…… -
Android database connection and cursor Oh, my
When using Android, I have read a lot of blogs and tutorials on how to create and use database connections. Although I…… -
Android – progress bar passing floating point parameters
I try to build a progress bar in Android, because you know that the progress bar gets the int of the progress, but I n…… -
Android – tablet paintable folder for tablet [copy]
See the English answer > setting drawable folder to use for different resolutions. Three of my designers provide im…… -
Android – listview hides some items
I want to hide some items in the listview according to some standards. I found two solutions, but none of them is vali…… -
Java – use collections.sort to sort the list strings of custom class arrays
I tried to sort my list of custom class arrays using collections. Sort by declaring my own anonymous comparator. But t…… -
Android – animation of action bar actions
I am using Android 4.2 and the latest version of appcompat. I use these methods to show and hide my action bar: final …… -
Use Android MAC address as unique identifier
I've been reading some posts on stack overflow where Android doesn't have a unique identifier. But can't I use the MAC…… -
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…… -
Java – Android studio – AVD cannot recognize gestures (simulator cannot be unlocked)
I've just started learning to program for Android. Unfortunately, I've encountered a problem after making a program (H…… -
The Android application faces an error when adding to Lib using android-support-v4.jar and tries to log in using Proguard in IntelliJ idea
I'm trying to sign my application. If I don't check Proguard, the login process is OK. But if I use Proguard, I'll get…… -
Java – Android OpenGL: illegalargumentexception direct buffer using native commands
Android developers! I'm in trouble. My Android application must use OpenGL to draw a few lines. I take this as an exam…… -
Android – toast in onclick method in fragment
I have the following clip: public class FragmentSocial extends Fragment implements ActionBar.TabListener, OnClickListe…… -
Android – how do I retrieve fragment instances of XML definitions?
In short, the problem is that I can find my element through ID, but it always requires me to convert it to view, and I…… -
Androidruntimeexception “calling startactivity() from outside the activity context requires flag_activity_new_task flag”
I created multiple layouts in listview, but when I click I to get an androidruntimeexception, "calling startactivity()…… -
How to programmatically display spinner pop-up in Android
I'm facing a problem with the spinner. Suppose a spinner dialog box pops up. If the screed lock occurs when I unlock t…… -
Android – listview caching with different color filters does not work
I am using a listview using viewholder mode and gain the advantage of caching mechanism. This is a code fragment. I tr…… -
Android – the ADB devices command does not display anything
I'm currently busy with the Android SDK. I've done it, but when I enter $sudo ADB shell, it gives sudo: ADB: command n…… -
How to add an ArrayList to other ArrayLists in Android?
I created three ArrayLists and stored data. I need to pass an arraydata to other pages, so I add my individual array t…… -
Android – progress dialog usage of thread
This is my code, public ProgressDialog loadingdialog; public void ShowManager() { //do something } public void sta…… -
Android – can I combine my code into some kind of “global activity”?
Is there any global activity on Android that I put my code in one activity that will affect all activities in my proje…… -
Write long text to display on the Android screen so that the screen will score down
I want to display 2-3 pages of text. I try to use the scroll view, but the text is cut off. I'm a novice in developmen…… -
Android, how to determine whether a restart has occurred?
How will I programmatically determine when the Android device will restart (whether it is started individually or by t……
