包含标签:Android 的文章
-
Java – random number
I have a question: how to draw a number from 0 to 4 in Java (Android)? How to use random functions? resolvent: The fol…… -
Android – viewpager has different menus and common toolbars and does not work properly
There are labels in my application. Each label has different fragments and different menus. Here is the layout I'm usi…… -
How do I run gradle 1.9 in Android studio 0.3.6?
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.…… -
Track more than 100 synchronized GeoFences using the new Android API
I have about 3500 geographical interest points in an area of 9000 square kilometers. I want my application to run in t…… -
Android – toast appears multiple times
In my application, click on the button I create a toast as – Toast.makeText(context,"Please Enter Username",Toast.LENG…… -
Android webView shouldOverrideUrlLoading for iframes
I have a local website controlled by JavaScript and load it into WebView. The website is actually a main page with ifr…… -
Android – an activity that completes another activity
What are the ways and how to complete some activities from the stack? I have a service that will look for updates. Whe…… -
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…… -
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…… -
The shell script in Android gives [: not found
I have this script that can run on my Linux machine #!/bin/sh c=1 if [ $c == 1 ] then echo c is 1 else echo c is 0…… -
Java – Android studio 2.3 error: “gradle sync failed: Reason: services. Gradle. Org”
After opening a new project in Android studio 2.3, I receive an error, such as: Google search just gave me a log file …… -
How do I exit AWS cognito – Android?
So this is the code I use to sign my user awareness (I hope I'm correct). Now, how do I exit? At present, I have my ow…… -
Java – app cannot load non on page ads on my real device
The test insert ads are running on my simulator. But they are not suitable for my real device There was a problem gett…… -
Android – change the position of the floating label text for textinputlayout
Floating label text appears at the edge of the EditText box. How to raise it above the predetermined level? My code: &…… -
Android – the file layoutlib.jar does not exist
I am using Android studio 1.5.1 and SDK manager to install each package required. I choose to use API 21 and install a…… -
Android – how best to pass messages from a fragment to its parent (onactivityresult equivalent)
OK, I know I may think about it in the wrong way, but A) I have activity a loading fragment F1 loading fragment F2. F2…… -
Android – recyclerview changes items when scrolling
Someone can explain to me, what's the problem? When I scroll down and back to the top, my item has been changed to ano…… -
Java – Android: what is the best HTTP library for uploading images to the server?
There are many libraries available, but which is better for image upload? Who knows which library instagram uses? I've…… -
Android – ondestroy() of the calling service
I want to make a phone call Service methods in Android I have searched a lot on the Internet, and many answers are lik…… -
Android studio – use the asset manager in the clip to set custom fonts
I'm rewriting one of my projects to use clips for tablets. I also decided to start using Android studio for conversion…… -
Android EditText: edit box control
EditText is a subclass of textview. It adds text editing function on the basis of textview. It is used to process user…… -
Android – read PDF file from SD card
I want to read the PDF file stored in my SD card. I try to use this clip File file = new File(Environment.getExter…… -
Java – intentional Android contact information update?
I can use putextra to transfer information as additional data to create a new contact with intent. Can I use informati…… -
Android – how to separate firestore listeners
I'm new to firestore. I created a listener registration to update my recycler view. I know my implementation may not b…… -
Android – how do I reduce the size of an image before uploading it to firebase storage?
I have made a social application for image and video sharing. However, it takes too much time to load images. I am usi…… -
Android – button opacity / transparency
In main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.c…… -
Why do we use JSON in Android?
I'm studying JSON. I realize how I use it and how it works. But I don't know why we use it in projects and programs. I…… -
Android – image button with @ null background (transparent) [copy]
See the English answer > how to set image button background image for different state? I have an image button with …… -
Can I use any Android phone for application development?
Can I use any Android phone for application development? In the Philippines, there are many Android phones installed. …… -
Android – loads an array of integers from XML
I have an array of integers in the XML file, as shown below <integer-array name="myArray"> <item>@draw…… -
Java – find the bounding box from a set of geopoints mapboxes
I'm trying to find the bounding box from the geopoints collection, but it doesn't scale correctly. I'm pasting the fun…… -
Android – Method setpriority (int) does not define notification type
Starting with Jerry bean, you can set priority for notifications. In this way, you can even set priority_ Min, this wi……