Questions tagged as 'android'

1
answer

Problem with FirebaseDatabase apk-release Android

When I do the tests with apk-debug the data is stored with its correct key in FirebaseDatabase, as it was stipulated in the model. But when I generate the apk-release, the data is saved but with different keys. In the attached image frame...
asked by 19.02.2018 / 19:13
2
answers

Android ScrollView Hidden Elements

I have an XML which adds a ScrollView if some device had a smaller screen, the problem comes in that by focusing on the last element of my edittexts the accept button which is always in BOTTOM true I cover my box where I am...
asked by 15.03.2018 / 18:11
1
answer

android java.lang.ClassCastException: android.widget.GridView can not be cast to android.widget.TextView

I have been asked to create a hangman game for android and I have practically everything, but, I am giving error in this line of code: letterPressed(letters) letters is a GridView and it gives me this error in the log: java.lang.ClassCas...
asked by 15.11.2018 / 15:26
2
answers

ScrollView does not work: ScrollView can host only one direct child

Good afternoon, I'm trying to add a ScrollView but it's not working, the xml file is: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://...
asked by 29.01.2018 / 21:48
2
answers

Error in xml file: error: attribute '...' not found [closed]

Good morning, I have this xml file: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.andr...
asked by 31.01.2018 / 15:49
2
answers

java.lang.NumberFormatException: Invalid double: ""

I am new to this android studio and I try to make a temperature converter the problem is that no matter how hard I try to get this error it is assumed that the whole program should do object oriented    01-29 07: 44: 26.967 12711-12711 / com....
asked by 29.01.2018 / 14:54
1
answer

open a pdf on android with an application already installed

I have the following code but it does not recognize the file String dir = Environment.getExternalStorageDirectory() + "/" + Environment.DIRECTORY_DOWNLOADS + "/"+nombPdf;//Directory()+"/2555524_01012018_2390_RTF.pdf";// Toast.makeText(cont...
asked by 18.04.2018 / 11:24
1
answer

Are there any examples of how to use "Confirm" from Acr.UserDialogs in Xamarin.forms?

I recently made an app from Xamarin.forms in which I disabled the hardware BackButton. This I did so that the App is not in the background when the user wants to leave and use only the buttons of the App. As a result of this, I made a butt...
asked by 12.01.2018 / 20:20
1
answer

Identification Submenu (Group and child) selected in a Navigation Drawer on Android

Recently I have been working with Android therefore I am still a newbie as far as this is concerned. I wanted to make a small application with a Navegation Drawer taking as an example the following project: link It works very well and...
asked by 09.01.2018 / 22:40
1
answer

I want to put Google Maps on Android and get the error: "could not find depency com.google.android"

I have read and I have seen some videos on how to do it but the problem appears when I start to enter code, I get many errors. I have already installed the Google Play Services and the Google USB Driver but when I try to solve the errors and ins...
asked by 13.12.2017 / 12:10