Questions tagged as 'android-studio'

2
answers

Can I prevent my app from taking the font of the operating system in android studio?

What happens is that if the user changes the source of his device, he also changes the source of my app. Can you avoid this? This is the textview that I want to put, but when I simulate it in my phone, the font appears different, and this is...
asked by 25.10.2018 / 19:17
1
answer

Android Studio generates 2 applications [duplicated]

I have my project in Android Studio and generating the apk is all right. The theme comes when I install it, the installation generates 2 applications of my project: one that goes to the LOGIN and the one that goes to another window of my pr...
asked by 01.09.2017 / 17:16
4
answers

Send data between activities

I have a problem. I have 2 activities, the main one and a second screen. I want the 2nd screen to send data to the main screen but when I start the application it tells me that it stopped and it closes. When I do it the other way around (From th...
asked by 30.11.2016 / 19:14
1
answer

Android Studio Can the LogCat be set to colors?

Is it possible to put the Android Studio LogCat monitor in a different color, to differentiate, Warnings, Error, Debug, Info, Verbose and Asserts? Something similar to Pid Cat     
asked by 13.01.2016 / 22:10
1
answer

No Find the JDK in Ubuntu 14.04

I have a problem trying to install android Studio on Ubuntu 14.04. I get the following error:    ERROR: Cannont start Android Studio   No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to vali...
asked by 26.12.2015 / 04:25
1
answer

Android: How to use ImageButton?

I am something new in this of Android Studio, and now I want to put an Image Button but at the moment of coding it my App crashed when I try to compile in my cell phone. Any help? XML: <ImageButton android:id="@+id/telefono_ni...
asked by 28.04.2018 / 15:37
2
answers

When starting Navigation Drawer enter with a fragment directly

it's just that, I'm creating an app which has a login (main activity) and a record, when I pass this process, I enter a Navigation Drawer activity I have the fragments but it is blank, when I step on it the options of that menu are loaded the fr...
asked by 25.11.2016 / 19:59
2
answers

how can I program thread in my android application?

As I can program with threads I am new in android studio and I do not know how to implement them because when using locates with gps my application becomes very slow, this is the code I use for the location /* Use the LocationManager class to...
asked by 08.10.2016 / 23:04
2
answers

Integrate Android Studio project in TFS 2017

I wanted to know what is the best way to host an Android project in Team Foundation Server 2017 to version the code, commit, etc. I could already do it in one way, which is to add it by hand. But I do not like that I must enter the VS2015 eve...
asked by 04.10.2017 / 21:53
1
answer

"can not resolve R" android studio

Hi I have this problem in all my projects in android studio and probe with "clear project" and with Tools "- >" Android "- >" Sync Project with Gradle Files ". And the problem continues, that another solution could please suggest me. an...
asked by 05.06.2016 / 02:23