Questions tagged as 'android-studio'

1
answer

Chat on android, without intermediary server [closed]

I want to do a chat on android , where chat messages pass directly between phone and phone, without having to go through the server. The process to start a chat between a user A and B would be something like this: User A connects to the...
asked by 19.01.2017 / 02:43
2
answers

how can I control the volume with the android screen?

Hello, my friends, programmers, how are you, I hope very well I have a problem with an app I'm doing for the University which has to control the volume by means of the screen, that is to say that if I press the screen up or down the volume of...
asked by 18.09.2016 / 23:31
1
answer

Download PDF on Android [closed]

I have a button and I want to make that when I press it, a .PDF that is saved on the server is downloaded to the phone. How can I do it?     
asked by 27.03.2017 / 11:15
2
answers

Concatenate log.i with a textview [closed]

Is it possible to concatenate a textview with a log so that it shows me the value of this in the log? That is, if a variable can be created and it is sent to the log to show the value of the textview it is receiving.     
asked by 22.03.2017 / 09:50
1
answer

SharedPreferences push [closed]

I would like to save my push messages in SharedPreferences and then teach them in a layout as it could be. I use firebase cloud messaging to send push messages.     
asked by 31.08.2016 / 03:57
1
answer

ProgressDialog help

I'm looking for a way to have a progressBar or launch a progressDialog and it will disappear when all functions are finished. I have the saveItems function in which other functions are executed, I think that's where the problem comes from....
asked by 13.12.2018 / 21:39
1
answer

Android Studio problems with ScrollView

I have a problem. I have a scroll view that contains text and buttons, the idea is as the buttons are pressed, the texts appear (the texts the buttons are invisible and when they are pressed the buttons change to visible). The problem is that wh...
asked by 21.09.2016 / 17:57
1
answer

Problem when deploying to Gradle Braintree in Android Studio

I am trying to implement in a Braintree application and the following problem arises. When I try to add the following dependency. implementation 'com.braintreepayments.api:drop-in:3.3.0' Skip the following Error:    Error: Program type a...
asked by 20.12.2018 / 12:17
2
answers

Problems with ViewPager

I'm with a problem. I made a ViewPager with 3 screens. Until then everything was fine, the problem came when I wanted to program on one of the screens and I do not understand why I'm throwing an error into something as simple as a button becomes...
asked by 18.10.2016 / 01:52
1
answer

Access an element of an XML that is not the one of the activity_main

I happen to have a ListView in the main, and within that ListView another ListView with its corresponding xml, I would like to apply an event to the internal ListView from the main but I have problems when locating the element, then I show you...
asked by 25.11.2018 / 09:33