android

Where to store constants in Java/Android?

Hello. I want to write the right code, so I wondered. After all, where is it better to store constants in Java? Now I pick t ... hy this was done? How they work protected/private interface and where is it better to store constants? Thank you in advance.

How do I run the Android emulator from a terminal on Ubuntu?

I am interested in setting up and running from the command line: AVD Manager is not always suitable.

Good FREE Weather API or affordable premium

Someone can suggest a good, preferably free-form and with minimal restrictions api, through which you can pull weather data ... mber of requests and the site crashes at times. Use for non-commercial use Android apps. An affordable premium will also do.

How do I programmatically get the current screen background color?

I write a simple program in kotlin. Creating an application that has one screen. The screen color is white, and the text fiel ... lement of the screen is called root_srl. I tried something like root_srl.getBackground (), but I didn't find anything similar

In Ubuntu 14.04, the Android emulator says Use the '- force-32bit'

I'm trying to launch a virtual device. I get the following: ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to ... oving to a 64-bit Linux system before that happens. Tell me, where and how to use this ANDROID_EMULATOR_FORCE_32BIT? Thanks!

What is the meaning of fragments in Android?

What is the meaning of fragments in Android?

Which database should I use for the Android app?

We started making an application similar to blablacar in terms of functionality. The question arose, which database to use?! ... tion to use firestore, but there are also restrictions. Next in line is SQLite, but is it suitable for such an application?!

The emulator does not start in Android Studio | emulator process for ... was killed

The emulator does not start through Android studio, neither through AVD Manager, nor through the launch of the application H ... talling Windows and installing Android Studio on a new Windows, this is what happened. I will be very grateful for your help!

Swipe a specific linearlayout

Hello there is a problem there is a main activity with a design of 3 linearlayout plates like this example here is the code f ... droid:typeface="normal" /> </LinearLayout> </LinearLayout> I need to swipe the news to the side

In Flutter, is it possible to open an html file locally from resources?

Is there such a possibility in Flutter to open an html file from the resources of the application itself, and not from the ne ... the application. Can you give me some advice on how to make the app differently, if this option is not suitable ? Thanks...

XML parsing in Android

Please tell me, I need to parse a simple XML'ku vida: <?xml version="1.0" encoding="UTF-8"?> <result> <statu ... easier? Mb is there some simple class for parisng? Somewhere I saw an analog of php'shnoy simplexml, but now I can't find it

Java server for Android applications

I need to make a server in java that will work with the database and perform other functions. The choice fell on the server b ... to fix it. It is possible to completely change architecture or toolkit. The main thing is that the server is written in Java.

How do I connect Android Studio to Visual Studio Emulator for Android?

I'm writing an Android app in Android Studio. I want to debug it in Microsoft Visual Studio Emulator for Android (it runs on ... available devices in Android Studio. What do I need to do to make Android Studio see this emulator as a debugging device?

Opening android ports

I'm trying to open ports on android 8, but I don't know how to do it.I want to run an ssh server in termux(so that I can connect from outside).

How to use the Gismeteo Token API?

Until today, I did not work with the api and I had a question about the use of the token. How to establish a connection to th ... eader.readLine() } return null } override fun onPostExecute(result: Void?) { super.onPostExecute(result) } }

Modern architecture and development approach for Android?

There are so many different development architectures in Android. There are so many ways, for example, to work with the netwo ... ould you pay attention to, what is used in development? Is there some universal approach for developing most applications ?

Checking the device for root

I need to check if the device has root before installing my app and if so, disable the app installation. Is there any way to implement this?

Periodic background sync in the Android app

Please share your experience in the issue of background synchronization in the app. For example, you need to make a request t ... ager. I wanted to find out what is currently relevant, what libraries and frameworks are used by pros in modern applications.

How to build messenger for Android

Good afternoon. I have a question about how to start developing messenger for Android. How best to make it. I know programming, but it's my first time developing an app, so I don't even know how to build it properly. Please tell me.

What should I do if the android emulator is lagging?

Hello everyone. I have a problem with the android device emulator, it takes a very long time to start and also lags terribly. ... x3 3.4 GHz and 8GB of memory. It is absolutely impossible to work with this. What to do? I didn't find a solution in Google.