包含标签:Android 的文章
-
Android – error retrieving item’s parent: cannot find resource matching the given name ‘theme. Appcompat. Light. Darkactionbar’. Xamarin Visual Studio
Well, it gave me 9 style.xml errors, the content is Just like I use visual studio in xamarin <?xml version="1.0…… -
Why does bufferedinputstream. Read() return – 1 in Android nougat when used to return 0?
When testing the application on Android N devices, I found many new problems related to the way I use bufferedinputstr…… -
Android resource directory name is invalid, drawable-anydpi-v21
I want to build my application and send it to my Samsung tablet using Android 4.2.2. But I also want my application to…… -
Why does the OpenGL shader blending function of two transparent PNG photos turn black?
Photo 1 is: Photo 2 is: Of course, photo 2 is partially transparent But when I mix them in shaders like this: vec4 add…… -
Why can’t strictmode capture SQLite read / write operations?
In my app, I set the following settings for strictmode: StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Bui…… -
Rendering problem the following class could not be found – android.support.v7.widget.appcompattextview
I'm new to Android studio. My project is running and executing, but every time I click activity_ When using main.xml, …… -
Java – how to sort the list by string value (Persian letter)?
Invalid Sign This is my code: public class Student { private String name; private int number; public Str…… -
Android custom transition from child to parent activity
I have 2 activities. Activitya is the parent activity of activityb: My manifest file: <activity android:nam…… -
Android ad size (smart banners are not always valid)
I have encountered a very annoying AdMob problem and its banner size. The size of smart banner is really a good thing.…… -
Android – Best Practices for loading UI components in activities
Is there a convention or best practice for binding UI elements to variables in an activity? I usually do something sim…… -
Android: keep the web server running
I'm running a web server (nanohttpd) in an Android service Onstartcommand() returns a value from the method overridden…… -
Kotlin in Android studio
I'm using it from kotlin, but when I synchronize it in the project, a bellows error occurs: Error:Could not find org.j…… -
The bottom navigation bar hides part of the view
In my application, I want to display a simple picture, On my Samsung Galaxy S7 real device, the image is very good. Th…… -
Www.text on Android device returned null
I'm using unity to develop an Android application. But I can't use it to connect to the Internet server. This gives an…… -
How to set infinite focus in Camera2 API of Android?
I want to set the focal length of the custom camera to infinity when using the external fisheye lens, which is what I …… -
C#- find files using Android device monitor from Android’s visual studio simulator
I have created files using my app and want to access files using the Android device monitor. This is the path I use st…… -
Android – displays the Google play game welcome dialog box when all apps start
The best example I try can be described by the behavior of the SimCity application (and I'm sure that many others I ma…… -
Java – no tabs for fragment display
I need to create a scrollable tab at the top of the application. Tabhost looks ok, but I don't need fragment display (…… -
How to refresh Android listview after syncadapter completes synchronization
I extended abstractthreadedsyncadapter to automatically synchronize data with the server every X minutes or when I man…… -
When using the navigation drawer in Android 5, the navigation bar is hidden but leaves space
I'm trying to develop a full screen application with two main activities: loginactivity and dashboardactivity Loginact…… -
What does attaching uimode to Android: configchanges actually do?
I just fixed the error in our application. The problem is that docking or undocking the device will cause the applicat…… -
Android – how to place item icons in the navigation drawer
I'm developing an application that uses the navigation drawer. When I try to place the item icon, it provides me with …… -
Android WiFi P2P remove group
I want to connect a device from one device to another. Therefore, what I want to do is to check whether the device is …… -
When is the runnable content published in postdelayed actually executed on Android?
I use postdelayed and some other code executed on the main thread. I run it several times and always see the following…… -
Android modification query Yahoo weather
I'm trying to use retrofit to request the current weather from Yahoo. I have a problem trying to pass through this cit…… -
Java – converts files into byte arrays in reverse order
byte[] bFile = new byte[(int) file.length()]; FileInputStream fileInputStream = new FileInputStream(file); fileInputS…… -
Java settitle does not work properly
I created a sliding tab activity and tried to change the title of the application bar dynamically. But everything I di…… -
Android studio cannot be run on Windows 10
Since I installed Android studio on Windows 10 N, I have faced strange problems After Android studio is fully installe…… -
Android (Google login): how to verify the integrity of the ID token on the server?
I use this method to get ID token: GoogleSignInAccount acct = googleSignInResult.getSignInAccount(); String toekn_id =…… -
Android checks camera permissions in the target SDK 22 or earlier
I have this code to check the permissions of the camera if (Build.VERSION.SDK_INT >= 23) { Log.e("Permission State"…… -
Can I ignore the “incompatible gradle version” lint check if gradle overrides transivie dependencies?
I just violated this lint check: Some of my delivery dependencies will certainly not be updated to the latest supporte…… -
Android – why does the screen always have the wrong inch size?
I want to calculate the device size in inches. I'm using this code and it will appear every time I search. But the pro……
