I'm trying to change the TEXT color of this listView I made following some examples on the internet, but the most I got was the comment from the line 39 txt.setTextColor (Color.GREEN); The problem is that this only changes the color when cl...
I have a single table in the DB, which contains records with fields like: tipo, data, hora, cliente, historico
According to the value of tipo , the cliente field is mandatory, ie vazio .
To create a ListView...
I'm developing a app that needs to be always connected to the server. For this I thought to use a async task to run the connection to the server in the background but when I change from Activity the connection ends.
I've...
I'm developing an android with Firebase authentication, I need place a screen where the user will define a "nickname", but it must be immutable. Therefore, this screen must appear soon after the registration and only this time, when accessing...
When I use this permission, an error occurs in TODO. What do I do?
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this,...
Personally I found the following webservice tutorial: link
Looking at the tutorial I was a bit confused about it.
1- Should the web service be part of the Android application?
For example I create a web service I put this web service...
Good luck, in this app I intend to test by inserting a vector image into the main activity.
I made the entire integration process, as you can see:
ButeventhoughIhavefollowedthewholetutorial,thefollowingerrorappears,soIcannotevenruntheapp...
In my Android Studio is giving the following error when trying to make an apk to store:
Error: Execution failed for task
': app: transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException:
com.android.i...
I have this method where you display a message.
public void mensagenExebir(String titulo, String texto){
AlertDialog.Builder mensagem = new AlertDialog.Builder(Activity.this);
mensagem.setTitle(titulo);
mensagem.set...