Questions tagged as 'android'

2
answers

Problem to login in android studio using KSOAP

I am developing a mobile application in Android Studio consuming from a WebServices made in asmx. Only when I run my app and enter the username and password send me an error    E / Response: Error: Can not create handler inside thread that ha...
asked by 13.04.2016 / 19:48
1
answer

Change image of ImageView included in CollapsingToolbarLayout

I want the user of my application to be able to change the image of ImageView included in the CollapsingToolbarLayout , either by obtaining it through the camera or from a file in the internal memory. For now I just try to change it...
asked by 08.03.2016 / 11:29
1
answer

Put the current date by Default in the calendar

I have made a method that allows me to choose the date of a calendar that is shown and paste the selection in an EditText, but what I want is that by default the date of the current day appears in the EditText, without having to be selecting the...
asked by 21.12.2018 / 17:24
1
answer

delete buttons ok / retry the intent of the camera

When I run the intent to take the picture, the camera opens. When making the photo, it asks me for confirmation with an ok and a retry, the weird thing is that it only asks me in an adnroid 6.0.1 (Samsung S6), in an andorid 4.3 (sony xperia v) n...
asked by 23.08.2016 / 12:14
1
answer

Capture events from the navigation bar

You can capture and block the back, home, and navigation bar tasks. Or hide it and never appear .     
asked by 27.08.2016 / 00:53
2
answers

Specify the ratio of the image to be displayed on Android

Is there any java or attribute function in xml of the imageView to specify the ratio of the image? that is, 16:9 , 3:2 , 4:3 etc ... <ImageView android:id="@+id/image_header" android:layout_width="match_par...
asked by 23.08.2016 / 18:47
1
answer

How can I check if he clicked again?

I'm doing a program for Android with access to database. Then I have an edit button, which when I pulse I deactivate a create button. To modify a text. Then I want that when I click again on the edit button (which at this moment has te...
asked by 30.11.2018 / 18:16
1
answer

App does not work on android 5.0, but on android 7.0

I'm a novice in programming. I'm running an app that detects if an app is installed and open the play store; I found this code How to make the PlayStore open if an app is not installed? and work perfectly on a smartphone with android 7, but on...
asked by 30.11.2018 / 22:46
1
answer

Error IndexOutOfBoundsException when selecting item in an AutoCompleteTextView

I have a AutoCompleteTextView that shows the matches from a query SQL . Matches are in a List<Predio> where Predio is an object with the data of a terrain. The AutoCompleteTextView only works well when I select t...
asked by 12.02.2016 / 03:17
1
answer

How can I redirect to another activity after returning from the screen lock or other app?

I have a simple app with a login, what I want is that in "x" number of activies when the user changes the application or the screen is blocked when returning to the app return to a specific activity (the login). For example: I am in the app in a...
asked by 30.03.2016 / 00:41