Questions tagged as 'android'

1
answer

app development ordering, firebase android [closed]

Good night guys I wanted to take a doubt, I'm developing an app, and I use firebase but I'm still a layman in programming, so I wanted to know if there's any way to sort the data that comes from firebase in recyclerview in the form of cards, if...
asked by 29.09.2017 / 02:49
2
answers

What error is this "D / TAG: Return ...: [Lcom.example.gastevo.domanda.ConsultarPojo; @ 11c78941"

I have the following code which should return a list of data package com.example.gustavo.domanda; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; im...
asked by 06.09.2017 / 22:23
2
answers

In the firebase, how to read the value of the "Created" metadata of users?

I want to get the date of creation of the user registration in the application, to compute a trial period. I thought about creating a cloud function to feed a variable with this value, which would be perfect for new cases, but it would not do an...
asked by 12.09.2017 / 13:34
1
answer

Attempt to invoke virtual method 'long ContactID.change (Contact)' on a null object reference [closed]

Error: 09-12 14:05:28.662 10410-10410/costamilam.guilherme.contatosempresariais E/AndroidRuntime: FATAL EXCEPTION: main Process: costamilam.guilherme.contatosempresariais, PID: 10410 java.lang.NullPointerException: Attempt to invoke virtual me...
asked by 12.09.2017 / 19:21
1
answer

How to delete not only tables but a database in SQLite

I would like to delete not only a table but the whole database in SQLite. Searching, I was told of a Context.deleteDatabase() method, but I can not use it, if I try to call a method, it says it is not static to be used in a static class,...
asked by 31.08.2017 / 01:28
1
answer

Popular spinner with data stored on a node in Firebase for Android

I'm performing a service for a client where I need to populate a Spinner with data stored on a node in Firebase. I've tried several tutorials, but I did not get results. I have created two entities in my project, a Clientes , whi...
asked by 06.10.2017 / 18:55
1
answer

How do I click items in a list in Android Studio?

For the time being my code is like this? how to implement the click of the list items the click would be to open a new screen ListView lista_teste = (ListView)findViewById(R.id.lista_teste); String[] dados = new String[]{"xxxxx","xxxx"...
asked by 06.10.2017 / 17:14
1
answer

Passing parameter to another Android activity

I created a QRCode and made it as soon as it generated the value, it was shown on the screen and I would have the option to say ok or just quit, I would like it when I clicked on Ok it was thrown to another activity where inside of this a...
asked by 18.09.2017 / 15:42
1
answer

Webview and php page [closed]

I have an android WebView application and I developed an html form that validates and sends the information to my database, developed in MYSQL. As a manager, I'm using MySql Workbench. But as is the Web, sometimes it becomes more agile to access...
asked by 18.09.2017 / 06:05
2
answers

How to assign data from an object to editText on Android?

I need to assign the data in an object's EditText field, from my form. For example, I'm using an API that looks up the user's address via ViaCep. I am already able to return the data, now I need to play this data in its due fields. public void...
asked by 24.08.2017 / 21:29