Questions tagged as 'android'

1
answer

EditText with error message on Android

In the Google Material Design Design Guide , to show an error message when a field is incorrectly filled in, an error message is used below the component, I wonder how that text is established and what method it launches for its appearance, ho...
asked by 18.04.2016 / 18:00
1
answer

Android: Internal storage available

In order to execute a process that generates many files, I must ensure that I have the storage space available, based on estimates and calculations that give me an approximate figure of the space I must have to execute the process. Eventually...
asked by 23.04.2016 / 01:28
1
answer

list files / files on android

I would like to be able to open the files in a ListView of an activity  that contains my application. These files are being saved in another activity, and always with the same extension ( .prop for making it unique). What I do n...
asked by 15.04.2016 / 11:28
2
answers

Error in Android 6.0 NSD service

NSD is a service used to discover other applications that run the same service in the local network. I'm trying to make the NSD sample work that it finds in the official Android site . The problem is that when selecting Search the applicat...
asked by 23.03.2017 / 21:51
2
answers

Route recent projects android studio 2.3

Good morning, I had android studio 2.2 and when I opened the menu of recent projects the route of the same ones came to me at the top. As well as showing in , now when I'm in the recent menu shows the route below and how the route is very long...
asked by 23.03.2017 / 12:44
1
answer

TextView with two text colors on Android

I am receiving String frames from two different channels and I want to show them in a single TextView but with two different colors, for this I am using Html.fromHtml() to color the second frame, the color change works but f...
asked by 14.12.2018 / 19:22
1
answer

Could not find com.google.gms: google-services: 4.0.1

I am trying to add Firebase to my Android project, I follow the steps indicated in the wizard to add it to your Android application and it gives an error when it did the Gradle synchronization. I add the file google-serviles.json to my androi...
asked by 10.12.2018 / 18:57
1
answer

Android 2.3 send direct mail to GMail, Outlook, Yahoo

I am developing an application where there are registered users in a MySQL table where there is a "mail" field. In the App, there is a button "I forgot my password", when the user clicks, he receives a "message" with his password in his mail...
asked by 21.03.2017 / 09:09
1
answer

java.lang.NullPointerException in a RecyclerView

This warning appears to me in a layout where it loads a RecyclerView within onCreate in this line specifically in setLayoutManager recyclerView.setLayoutManager(layoutManager); generates the following:    Method...
asked by 29.12.2016 / 21:01
2
answers

DatePicker in Spanish

Do you know if you can put DatePicker in Spanish? It's a pijotada but it's in English format and I'd like to have it in Spanish.     
asked by 11.05.2016 / 14:30