Questions tagged as 'android-studio'

1
answer

Move Files After Upload FTP

My code uploads all images without a folder, and that's OK! But what does FTP need to do as images are sent to the path: "/storage/emulated/0/PicturesGRP/enviados"; , storing the uploaded images and avoiding to send an image again in the n...
asked by 03.01.2019 / 14:02
1
answer

Configuring the JDK in Android Studio

I need to configure the JDK path in Android Studio via terminal without root access to a script. The computer has JDK / JRE 7, I tried to change the value of some variables: PATH, JAVA_HOME, JDK_HOME, STUDIO_JDK, .... In the terminal jdk 8 wo...
asked by 18.09.2016 / 01:44
1
answer

Class import that turns gray

When you import a class that is not being used, it becomes gray and is immediately deleted. How do I prevent it from being automatically deleted. I'm using Android Studio.     
asked by 28.05.2016 / 23:34
1
answer

Why are my imports giving error?

After a few days I opened the project, I went back to work today, but when I opened the project I noticed that something was wrong because all the classes I open indicate an error by IDE , errors such as: / p>    can not solve symbol 'Activit...
asked by 03.02.2016 / 13:32
1
answer

Problem to execute project [closed]

I can not run my project from the error    "com.android.ide.common.process.ProcessException:   org.gradle.process.internal.ExecException: Process' command   'C: \ Program Files \ Java \ jdk1.7.0_79 \ bin \ java.exe' 'finished with   non-zero...
asked by 30.12.2015 / 00:04
1
answer

How to return data from the user who has logged in?

I need someone to help me with the following problem. I want to perform a select on a MySQL database, the select will be done via Web service with PHP returning a Json for my Android app. What happens, the user types login and password...
asked by 01.04.2016 / 16:18
2
answers

Databinding error in Android Studio 2.1.2: package databinding does not exist

I'm trying to learn databinding and a strange error is occurring when I try to build: Error:(8, 54) error: package br.com.aulas.vitor.cadastrodecarro.databinding does not exist My Build.gradle looks like this: apply plugin: 'com.android.a...
asked by 01.08.2016 / 14:59
2
answers

What are the advantages and disadvantages of developing or not with Android Studio?

Using technologies like Xamarin, it is possible, with some changes, to develop the same multi-platform application having a great reuse of code. Already, with Android Studio, it is possible to develop applications exclusively for Android, which...
asked by 27.09.2017 / 16:53
1
answer

How to restart app in the android studio emulator without recovering state?

I created a login screen and implemented authentication. If there is a user logged in, the main screen is displayed, if not, the login screen is displayed. After I logged in to test Android Studio it saved the state in the emulator, so it will n...
asked by 23.06.2018 / 03:38
2
answers

Guys, does anyone know how to call or perform this technique in Android studio?

I want to make a gym APP and I need to use a smaller screen in front of the main screen as shown in the print of an existing APP that is attached. I want to leave the background unfocused and show a smaller screen at the front with what I want....
asked by 30.03.2018 / 23:53