Questions tagged as 'android'

2
answers

Save data in an application entered by the user [closed]

There is some way for, for example, in a survey, the user to answer a series of questions, and then click on "Send survey", then click on "Surveys" and the information that you put in the previous survey appears . So on, but when the application...
asked by 06.03.2017 / 02:04
1
answer

How to compress the contents of a directory in a zip?

Hello everyone. I have asked this question so that you could give me a hand in the obstacle that has been presented to me on my way. My problem My problem is that I want to be able to compress the data or the contents of a folder i...
asked by 12.02.2017 / 19:39
1
answer

How to add rows to table in Android

Good morning guys, I am new to Android, I have consulted many sites and would like to know how to add rows or records to a table on Android, I appreciate the collaboration. Layout Code: <TableLayout xmlns:android="http://schemas.android....
asked by 09.02.2017 / 12:52
1
answer

Convert image to base64 android

My code what it does is take an image from the gallery and take its route in string and waiting for it in the database awaits the route of the image and displays it. I want to be able to take a photo from the camera and also choose fro...
asked by 27.04.2017 / 04:36
3
answers

Does Android Studio remove resources that the app does not use or leave them even if they are not used?

I have a question: if I have in my project in Android Studio resources that the application itself does not use (for example, some pictures that are not used in the app) but these are stored in the / drawable folder, when I compile the apk, does...
asked by 14.02.2017 / 14:31
1
answer

Disk persistence with Fireblade, avoid calling it twice

I do not think it is necessary to show them code to help me with the following: I have a login with firebase, and I use disk persistence for when I do not have an internet connection and so I can continue using my app, once I log in, the user...
asked by 20.02.2017 / 01:26
1
answer

How to fix a spinner that does not show well on android

I have a problem with two spinners that are not shown correctly, in the interface, in the simulator the last two spinners are shown with a smaller font than the first one that says It's a Workshop, and testing in real devices in some cases the s...
asked by 12.02.2017 / 20:55
1
answer

ProgressBar within a drawable

With the help of a post from a user here, how to remove the white screen from the "pre-load" before splahScreen I solved the problem, now I would like to know if in this drawable a progressbar can be integrated. I leave th...
asked by 14.02.2017 / 22:54
1
answer

Current date in DatePickerDialog

When I open my DataPickerDialog I get the wrong date, exactly 9/8/21, how can I make it default by today? However in my EditText by default the date of today's date comes out. My code: public class Main2Activity extends AppCom...
asked by 16.02.2017 / 22:01
1
answer

Send image to the server with MultipartEntityBuilder and HttpURLConnection

I am trying to send an image to the server using HttpUrlConnection and MultipartEntityBuilder. The problem is that when I execute the background function, to send it and get as a response a String that says on the part of the server that has bee...
asked by 15.02.2017 / 18:40