android

How do I check from the app whether data transfer is enabled on my phone?

Good afternoon, please tell me in which direction to go. The fact is that my application uses the Internet, and there are ca ... app.ActivityThread.handleCreateService(ActivityThread.java:1945) 06-30 09:22:28.429: E/AndroidRuntime(1063): ... 10 more

The application has failed (unfortunately has stopped). How to solve the problem?

java.lang.RuntimeException: Unable to start activity ComponentInfo{star.amv.zeroamv/star.amv.zeroamv.MainActivity}: java.lang ... gnIn" android:textColor="@android:color/white" /> </LinearLayout> </RelativeLayout>

Android countdown

Previously, in Java, I used scheduleAtFixedRate() to count down the time Is there anything new in Kotlin? And is there any ... solution... Update2 I think I understood, the second number is not the time when the timer ends, but the size of the tick?

There is a desire to write a client server chat application for Android

I would like to create the application itself on Android studio. Please tell me about the technologies that should be used in ... the creation (for example. Spring) and where to place the database. Well, if it is possible to advise where to learn all this

Ways to update an Android app from the server

I'm developing an app internally that will run on Android devices. I have a question, what is the best way to update the appl ... server in the same way as in PlayMarket? Please enlighten me in this matter. P.S. The application is implemented on Flutter.

How can I clear the cache of all apps on an Android device?

I decided to develop an app that clears the cache of all the apps installed on the device. I figured out how to clear the cache of your own application. How can I do this for the rest of the programs?

Changing the color of "label text" in the TextField. Material Design

Is it possible to set a specific color for all the states of the selected area in the blue rectangle? For example, the Erro ... all the components of the TextField red, but is it possible to make the selected area remain a specific color and not change?

How to determine the size of android screens on kivy

You can help. I need python Kivy to determine the length and height of the phone's display to adapt applications, since the proportions are known. Is there any way to do this?

How do I record audio from a microphone and play it back?

How do I record audio from a microphone to a buffer and play it back? And how do I write it to a flac file afterwards?

Programmatically enabling and disabling GPS

There is a question about the software on and off of GPS-and that is, to turn it on without the user's knowledge and turn it ... atisfactory to catch coordinates on cellular networks, the error is large. The question is exactly how to turn it on and off.

"Recent Apps" in Android

There is a button. You need to open "recent applications"when you click it. How? Intent, I think?

How to properly work with Cookies in Android

I am implementing a request to the server that sets the PHPSESID in the cookie, I am doing it like this: response = h ... ve cookies every request, is there a way to do this as in the browser, they were installed themselves without my supervision?

"Visibility" of the app in Google Play (GP)

Please tell me. What should I do to make the app visible in GP? I uploaded the APK file to Google Play, added screenshots, ap ... n GP, I can't find my application, I enter the name in the search, it doesn't find it. How to make the app visible for users?

The difference between Intent and PendingIntent

Can anyone clearly explain what this entity is - PendingIntent? In what cases should I use it? And what is its difference from the usual Intent?

Optimizing the Android Studio IDE (JetBrains)

I program for Android on a very weak laptop (Ubuntu Linux OS) under Android Studio (a fork of IntelliJ IDEA, if you can put i ... luous? In addition to the animation of windows and some icons, I did not turn off anything. Thank you so much for your help!

Replacing the theme in the app

Hello! I wanted to change the subject, which I did later,but not in the way I intended. As a result, the question remains, wh ... s error? Why exactly with AppCompat interaction should I use themes? Why can't they just be put in the standard way? Thanks.

I can't establish an adb connection via wifi with OPPO CPH1909

I have no way to establish a remote wifi connection via adb with OPPO CPH1909. I connect the phone via usb, specify tcpip 5 ... is established and held successfully. Perhaps you have encountered a similar problem? (USB debugging, of course, is enabled)

When you open the on-screen keyboard, the background shrinks. How to avoid this?

There is ScrollView with the background parameter as an image, in ScrollView there is some content, including EditText. When ... важно /> <Button //неважно /> </RelativeLayout> </ScrollView>

Login via facebook in Android apps has stopped working. (Is there a bug in the Facebook SDK again?)

I can't log in to the android app via the facebook button. On the emulator, the login passes perfectly. After clicking on the ... cations. That dev version that release version-do not work on real devices, but on emulators-work. How to solve this problem?

JDK version for Android development and current API levels

I am a beginner, so I ask you not to throw your slippers at once, but to explain for the teapot or give links to sources of c ... Liberica JDK?) What is the lowest API level that makes sense to study, otherwise what API levels are relevant at the moment?