Questions tagged as 'android'

0
answers

infinite loop, blocking android studio interface

I have a problem with an infinite loop that I generate in a handler, the idea of the infinite loop is to wait for a button to be pressed that modifies the value of p, but the theme is this when it enters the infinite loop it blocks the interface...
asked by 03.07.2017 / 21:59
1
answer

custom listview hidden switch when downloading scrollview

Custom listview hides the Switch when downloading the scrollview of elements where getTipoIncidencia() equals "Disconnection of the Modem" or "Reconversion of the Modem" This is my adapter class: public class AdaptadorIncident...
asked by 24.06.2017 / 03:10
0
answers

Android Studio screen limits

I have a Bitmap on the canvas that I move around the screen with an On Touch event. The question is, how can I make the image I move not to leave the screen? Type set some limits where you can move it and hit the edge of the screen and do not le...
asked by 17.06.2017 / 16:18
0
answers

Login Android Studio PHP and Mysql

I have managed to know if the username and password exists but I have more data in that same table as surname, email and other things. In other words, if you have logged in correctly, send the other information in Android.    My PHP file &...
asked by 16.06.2017 / 20:42
0
answers

Error calling url from DefaultHttpClient

I'm creating an app on Android and consuming a ws that is in a hosting 1 & 1 problem I have is that when I run my sentence always the error that can not find the document however if I copy and paste I get the url to which I am calling in an expl...
asked by 23.06.2017 / 11:24
1
answer

ListView setSelection - select item but do not change the background

I have a problem, when wanting to select an item after filling the listview, it does not use the drawable that I have of background <item android:state_selected="true" android:drawable="@color/colorTouch"/> <item android:s...
asked by 21.06.2017 / 17:20
1
answer

Pass username between classes

I need to pass the content of the object that has the username between different classes ... I tried it with an intent but it does not work for me User login class. public class Login extends AppCompatActivity implements View.OnClickListe...
asked by 19.06.2017 / 11:14
2
answers

How to create a horizontal scroll view that moves automatically and cyclically

I'm trying to do a% horizontal% co_of which is going to take several images, what I'm trying to do is that the scrollview moves automatically and that when it reaches the end it automatically starts again from the first image something so...
asked by 20.06.2017 / 03:57
0
answers

Generate PDF from stream

I would like to know how to generate a PDF from the response I get from a request by https, I receive a stream in this way: %PDF-1.4\n%âãÏÓ\n3 0 obj\n<</Filter/FlateDecode/Length 1314>>stream\nxÕXÍn\u001b7\u0010¾ïSðè\u001cLsH\u000e...
asked by 15.06.2017 / 22:22
1
answer

Error creating a new project in Android Studio 2.3.3

When I create a new project in Android Studio 2.3.3 I get the following error:    Your Android SDK is missing, out of date, or is missing templates. You can configure your SDK via Configure | Project Defaults | Project Structure | SDKs Ca...
asked by 16.06.2017 / 02:47