Questions tagged as 'android-studio'

1
answer

Upload an image to hostinger with web services

I have an account with hostinger and I want to upload an image through a web services with php I see that the image goes to the database but it is not recorded in the root folder of the hosting. I attach my php code which is very simple <...
asked by 09.10.2017 / 06:45
2
answers

Problem with the android cellphone keyboard

I have a problem that when I run my application on Android what happens is that I have some buttons at the bottom of the screen and pressing an EditText appears the keyboard and hides my buttons , I want to know how to do so that the button g...
asked by 10.10.2017 / 23:44
1
answer

close app from notification

I want to finish with the app by clicking the notification, my current code launches an activiti but I want to directly finish the app private void notificacion (String radio){ NotificationCompat.Builder mBuilder; NotificationManager...
asked by 06.10.2017 / 18:20
1
answer

Android Studio verify characters from a TextView

I am starting with Android studio and I have a problem I want to verify that when entering the name and surnames there are characters but to warn that you have not put anything. The code is as follows: import android.support.v7.app.AppCom...
asked by 24.09.2017 / 20:51
1
answer

Null value in database call (SQLite)

I'm doing an app that requires a database where when looking up / searching for a number in the first column of the database, the data that is in the second column corresponds to that data. The problem is that when I enter the number it retur...
asked by 24.10.2017 / 02:13
1
answer

Problem with DatePicker on Android

The intention is that when you click on an EditText there will be the datepicker. Attachment screenshot where you see the error + code import android.app.DatePickerDialog; import android.icu.util.Calendar; import android.os.Build; import...
asked by 04.09.2017 / 03:09
1
answer

Error compiling com.google.android.gms to 10.0.0

Updating the dependencies in Android studio I find the following error.    Error: Execution failed for task ': app: processDebugGoogleServices'. >   Please fix the version of the conflict either by updating the version of the   google-serv...
asked by 22.09.2017 / 03:01
1
answer

How to open the file browser in an Android app?

Greetings I have an android application to download files, the problem is that I need to download the file there will be the system's default file browser in the folder where my file is downloaded so that the user can view your file. Th...
asked by 20.07.2017 / 17:14
1
answer

Put a switch in a viewHolder - Custom List in Android Studio

I have created an APP, a personalized list that is inflated with data from a WebService, as you see one of its fields is state, but it returns it in number (0,1,2) what I want to do is put it in "VACANTE", "EMPLOYED", "RESERVED" and that I achie...
asked by 18.07.2017 / 23:38
2
answers

How to delete in android studio something drawn on the canvas

I would like to know if you can delete something drawn on the canvas. In this example I have 2 circles, circle 1 can move while circle2 is static. I would like that when the circles collide the circle2 disappears. Is it possible to do that? T...
asked by 16.07.2017 / 02:51