Questions tagged as 'android'

2
answers

Disable a button according to the content of an arraylist

Good I'm doing an application in android studio, and in a part I create several dynamic edittext according to an intent of the previous screen, and I would like to do it is that the start button, which starts another intent, will only be enabled...
asked by 30.08.2018 / 06:40
3
answers

How can I stop (stop) a location event on android?

Good evening thank you very much for answering, I would like to know how I do so that only once that event happens ok I mean the AddOnSuccessListener event ok here I put the code. mFusedLocationClient.getLastLocation() .addOnSuc...
asked by 01.09.2018 / 02:12
1
answer

Problem when pressing a floating button

I am developing an application for Android, the fact is that I have a floating button that when I pulse it displays several options The fact is that when I pulse I deploy the options and occupy a ListView and when I want to press o...
asked by 20.08.2018 / 18:06
1
answer

Send plain text with retrofit

{ Cliente_ID: 1, Nombre_Usuario: "dsadsadsa"} The problem is that the api receives plain text, try to use retrofit in the following way:    Interface @POST("Cliente") Call<Client> newClient(@Body Client client);    Model @Ser...
asked by 19.08.2018 / 19:54
1
answer

Create Button that gives you your location in Android Studio

I want to create a Button that tells me exactly where my device is located, and that it is indicated to me in a MapView, I tried to do it in some ways but I did not get it. For now this is code that I have: public class CameraFragment exten...
asked by 11.09.2018 / 00:58
1
answer

How to prevent ConstraintLayout from occupying the entire screen

I have created a horizontal menu in the main Activity , where one of your items has a button that calls a Activity that contains a ConstraintLayout p> But when I enter that Activity it occupies the whole screen hiding the menu...
asked by 09.09.2018 / 19:01
1
answer

Error implementing FirebaseAuth AuthStateListener

I would like to get the following flow in my App: The user registers, validates email and then initiates session Once inside, if I delete the account from the Firebase console, redirect the user to MainActivity (because obviously he no lon...
asked by 15.08.2018 / 16:34
2
answers

Error trying to consume pokeapi REST API

I'm trying to consume the api from PokeAPI - JSON apparently works perfect but trying to use retrofit send me msj: OnFailure: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb86735f0: Failure in SSL library, usuall...
asked by 06.08.2018 / 21:05
1
answer

AsyncTask Error when changing Activity

When I register a user in the app, an AsyncTask is executed that sends an email to my gmail account, this works correctly but generates an error and causes the new Activity to be loaded once and then loads the new same Activity. This is the e...
asked by 17.08.2018 / 01:50
1
answer

Android: Recharge fragment from the same fragment

, good to everyone. My question is this, I am using fragments to show the different views. I have a fragment that is CONFIGURATION, from the, I can among other things, change the language and I do it in the following way Configuration config...
asked by 16.08.2018 / 18:54