Questions tagged as 'android'

1
answer

how to show saved data in Firebase database with android studio

Friends I'm doing a project in Firebase database with android and I need to consult and get the last three values saved with the name of "dose" this is the structure in Firebase This is my user.java class public class usuario { private S...
asked by 04.10.2018 / 23:20
0
answers

Update to external database from android

The problem is the following, in my application I try to change a database record from android, which would be a user's password, the problem comes when pressing the button that should do the action does nothing , neither shows error message, no...
asked by 08.10.2018 / 16:42
0
answers

How to create a Bluetooth Service on android?

I am making an application that searches and connects to bluetooth devices My problem is that when I change Activity and return to close the connection my BluetoothSocket returns to NULL and when I call the method for close()...
asked by 08.10.2018 / 21:54
1
answer

Images, Buttons, Sounds and Share on Android

Hello, how are you? I tell you I'm a Java student (I'm just starting) and I wanted to try doing an application on Android by following some YouTube tutorials, I managed to do it and now I want to improve it, I find some problems that I'll detail...
asked by 02.10.2018 / 22:02
0
answers

How can I customize the ranges of a list?

I have an app with a list of articles loaded with data from a JSON (code, description, price location) within the list there are articles that have promotions and others do not.) My idea is to change color to the ranges that have promotions some...
asked by 01.10.2018 / 13:30
1
answer

Intents, bundles

My question is the following as it can be done to send images in intents using bundles. A serious example I have an activity in which pressing an Imagebutton happens to the next in which I want to put the image that had the button. But instead o...
asked by 02.10.2018 / 06:46
2
answers

Compare TextView color in android studio

How can I compare the color of a TextView with some color in my colors.xml Something like this comparison of background but with the color of the text if ( relajado.background.constantState == ContextCompat.getDrawable(ctx,R.drawable.bg_rec...
asked by 30.09.2018 / 19:43
1
answer

How to use Android clipboard in Python scripts

I'm doing some tests for an Android script. It is a series of randomly generated numbers that automatically and without displaying anything on the screen, go to the clipboard and is available to be copied anywhere. For now, I run without problem...
asked by 02.10.2018 / 11:39
0
answers

Exchange of information between Activity and Service (vice versa)

I am studying services on android and I have a little problem, I try to see how the exchange of information works both from the activy to the service and vice versa, I have no problems passing data from the activity to the service, but I got thi...
asked by 30.09.2018 / 16:00
0
answers

Error java.net.SocketTimeoutException on Android with REST API

I have an application that sends JSON's to a controller so I can handle them and save them to the Database. I have tried and saved them correctly. The problem I have is that I do not get the server's success answer but I have a message the Log...
asked by 28.09.2018 / 16:08