Android
-
Gradle relies on using latlng in Java projects
I want to use the latling class in my java project https://developers.google.com/android/reference/com/google/android/…… -
Android – view is at the last position of the parent, but it is still blocked
What I want to do In the bottom sheet dialog fragment, I want a view that always sticks to the bottom of the screen, r…… -
Android Studio: include library test classes in app test
The (relevant) parts of my project folder structure are as follows ├───lib │ └───src │ ├───androidTest │ …… -
C# – fragment initialization sequence in mvvmcross 5 navigation service
I have questions about the navigation service introduced in mvvmcross 5 In version 4: > I use Showviewmodel< vie…… -
Android – why not use the “newinstance” pattern in the activity?
This seems to be a good way to simplify how to set parameters for fragments, so I'm curious why it's not often used to…… -
Android using NDK has no reference defined
I'm trying to implement the code here When trying to compile it, I received the following error: Error:(339) undefined…… -
How do I update Android things apps?
What if you need to update these applications, such as solving security problems? Many Internet of things devices are …… -
Android – private void sendregistrationtoserver (string token) parameter token is never used
I've tried all the available answers, but it doesn't help. What did I miss here? private void sendRegistrationToServer…… -
Android – the action bar displays only one item next to the search view
I want to have a search view and two buttons in the action bar, so I created menu / options_ menu.xml: <menu xmlns…… -
Android – how do I programmatically scroll recyclerview through specific pixels?
I expanded recyclerview, so I can expand it. It works the way I want, but now I want to scroll x pixels programmatical…… -
Android – onscroll gesture detector
I want to implement onscroll when a scrolling event occurs. But I don't understand how to use the parameters received …… -
C# – xamarin.forms property is not saved in Android version
I'm using xamarin. Forms and application. Current. Properties to persist user settings. I tested it on Android and it …… -
Android – Scrollview in percentrelativelayout 23.2.1 has incorrect zero height
I have a layout, which contains a Scrollview with LinearLayout and its children: a percentrelativelayout 23.2.1, anoth…… -
Android – how to use the ble connection of service connection across activities without stopping the service or disconnecting?
I have three components >Activity1 has buttons for connecting and disconnecting ble > activity2 needs to obtain …… -
Android – batch insert in realm
I decided to use realm for my project. I have read the document and can't understand how to import all mobile contacts…… -
Android – how to display insert ads every x seconds
I need to display insert ads in my app every x seconds. I've closed this code. It works normally, but the problem is t…… -
Android – update location using fusedlocationproviderclient, jobscheduler and jobservice
I'm trying to create a background location tracking service using the new fusedlocationproviderclient with jobschedule…… -
Android – keep clips?
Hi, I have a question about keeping fragments when recreating an activity. I heard that one way is to use setretainfra…… -
Android – multidexkeepfile does not work properly
We encountered a problem when building the multidex app. We kept receiving different java.lang.noclassdeffounderror er…… -
Android – error: when using font folder in res, the execution of task ‘: app: processdebugeresources’ failed
I have updated the SDK to the Android o developer preview and started a simple demonstration with a single textview Wh…… -
FCM for Android: pop up system notification when the application is in the background
Can a pop-up window for firebase system notification be displayed at the top of the screen (when the application is in…… -
Android – recyclerview universal adapter using databinding
I used databinding to create a general adapter for recyclerview. This is a small code fragment public class RecyclerAd…… -
Java – refactoring constant classes to enumerations in Android studio
I want to refactor the old code that uses a kind of constant to enumerate. The code has been used in several places in…… -
Google Maps Android API V2 – infowindow on polyline?
I draw polylines on the map and I need to display some data to the user How do I draw text or infowindow on each polyl…… -
Android – after I updated to retrofit 2.0, I released the onnext call to onnext in different threads
When we used retrofit 1.9, my colleagues created the following courses public class SomeApiCallAction { private Sub…… -
Android – you cannot check the styled center check box when using talkback or voiceover
I've developed a mobile web application and I'm testing its accessibility. When I use talkback (touch browsing enabled…… -
Java – how to move objects at speed correctly?
I recently started playing Android and decided to try to make a basic physical simulator, but I encountered a small pr…… -
Java – change extension activity class
Hello, I'm trying to create my first application on Android. Sorry for the stupid question, but I'm desperate I create…… -
Android – meaning of / symbols in UML
I tried to follow this link http://www.uml-diagrams.org/android-camera-uml-class-diagram-example.html In the cameradem…… -
android – C2D_ Permission name C2D in message_ Message is not unique
I received this error: Permission name C2D_MESSAGE is not unique (appears in both my.packagename.permission.C2D_MESSAG…… -
Android – how do I best place my fuzzy ProgressBar on the constraint layout on the screen?
When I click the "login" button, I will see a progress bar. I modified the layout by adding a toolbar at the top. Now …… -
Java – NullPointerException in expandablelistadapter. Getchild()
Trapped here for more than a week, but it still can't be solved! I have an extensible listview in which data is retrie……