Questions tagged as 'android'

1
answer

Error with firebase and Android studio Failed to convert value of type java.lang.Long to String

I have a mistake that I would like to see if you can help me, what happens is that in firebase I enter a long string manually which I want to be in my application in my code I have the following to bring the data from the base, the scrollt...
asked by 23.11.2018 / 09:24
1
answer

conditional PreferenceCategory

I'm doing an app in which I'm using Preference and I'd like to show in PreferenceCategory only a title of several that are available, the selection of the title could be through a conditional, but how to do it, can you? This is my Preference....
asked by 22.11.2018 / 20:48
1
answer

Android Studio Debbuger view content from a Cursor

I am debugging an application and would need to know which branch to enter to see the contents of when Cursor.getString (int) is called; To see if you are grabbing something from my Database and if you grab it, check that it's what I'm looki...
asked by 22.11.2018 / 21:50
1
answer

Pass object of an activity to another Android

I'm looking for a way to pass an object to another activity. What I do is create it in an activity. And in the other I want to receive it and work with it. Try passing data by object data with intent.putExtra() but it is not the most p...
asked by 29.11.2018 / 14:06
1
answer

Google Address Autocomplete (Android Studio)

Good morning I THINK I have an error in the method getAutocompletePredictions since the error that comes out in a toast when writing in the autocomplete of the app comes out Error : status{statusCode=ERROR, resolution=null} . Everyt...
asked by 12.12.2018 / 13:10
2
answers

Why does my studio android apk not install?

   Why is my installation android studio not complete? When I emulate it on the cell phone it works great, but when the apk I want to install it does not complete the installation, I have tried several times but the same thing happens, it is...
asked by 27.11.2018 / 15:57
1
answer

Browse last data entered in PHP json

I am working on a project with sound arduino the theme that every few minutes a new datum is added to the bd, but I want to show in an android view the last data entered and update when a new datum is added the issue is that I have raised a half...
asked by 11.12.2018 / 22:49
2
answers

TextView Clickeable Android Studio

I need to make a TextView Clickeable, but the text of this is not always the same so I can not hardcode it in the xml, so I need to assign it dynamically, I do it this way: aux = (TextView) findViewById(R.id.tvPagWeb); aux.setText(c.getString(...
asked by 19.11.2018 / 21:36
1
answer

finalize a function in Android Studio

I have a problem with a function. In fact what I do is read the SMS inbox and when you enter a new text message it is executed. The problem comes from the second time I call the same function because it is not updated but it reads the same messa...
asked by 21.11.2018 / 13:06
1
answer

Use of the reserved word assert on android [duplicated]

I have a question and it is that the IDE AndroidStudio marks some warning when the line of code can produce a null result, in that case it suggests a assert variable != null the question is whether it would have the same meaning as sayi...
asked by 18.11.2018 / 05:19