Questions tagged as 'android'

3
answers

How to know if a variable has been initialized (Kotlin)?

I'm using Kotlin and at the beginning of my application I declare a variable that I initialized later, with the aim of not declaring it as null at the beginning and thus avoiding the annoying signs of Nullability (!!): private lateinit var var...
asked by 01.10.2017 / 17:22
1
answer

Difference between JDBC and JSON [closed]

My purpose is to connect to a remote data base (MySQL) from Android, make queries, create tables and those basic things. What is the difference between making a connection using the Java JDBC, and using PHP JSON or something like that? (Excus...
asked by 26.03.2017 / 01:47
3
answers

How to display Firebase data on Android

Good, I have some data in my BDB of FireBase (Name, Surname, DNI) that are created based on a Mail. I've been looking for how to show that data on an Android screen but I can not find anything, someone has some idea of how I could show them ?...
asked by 04.04.2017 / 10:33
1
answer

Problems with "tools: layout_editor_absoluteY / X" Android Studio: This view is not constrained

shows me the message:    This view is not constrained, it has only design time positions, so it   will jump to (0,0) unless you add constraints I have problems with the restrictions of the "tools: layout_editor_absoluteY / X" tags...
asked by 12.03.2017 / 03:30
1
answer

RecyclerView in Fragment

here with another question I am doing an Android application and the problem is that when calling the RecyclerView I get this error:    E / RecyclerView: No adapter attached; skipping layout But I do not know why I get this error and only...
asked by 06.03.2017 / 04:19
1
answer

Avoid leaving the same text in two EditTexts

I use two EditText ( et_miembro_id ) and ( et_fecha_id ), but what I write in et_miembro_id is what is also added in et_fecha_id . What I do not want is for the same text to appear in both, I want them to go separatel...
asked by 29.12.2016 / 22:03
1
answer

capture a map of google maps and show it in android pdf [closed]

I have an app where I need to show the google map of a location in my pdf report.     
asked by 24.01.2017 / 19:14
1
answer

How can I download and integrate La Api Rest? [closed]

As I mentioned, I want to know how to use the Api Rest in my app. Thanks.     
asked by 19.11.2016 / 13:09
1
answer

Save status of a fragment

Good, I have the doubt that every Android programmer had in the beginning xD I have an activity in which at the beginning a fragment is loaded in it, then that fragment will change for another one depending on a Drawermenu . Well, so fa...
asked by 01.12.2016 / 12:19
2
answers

App adapter failed to ask test questions

I am doing an App of test questions and when making the adapter I must have an error because when I run the App it closes automatically. The main activity is the following: public class ActivityTest extends AppCompatActivity { private Butt...
asked by 15.01.2017 / 18:40