Questions tagged as 'android'

1
answer

Error opening a SQLite database

Here I have this code: encuestadoSQLiteHelper encuestado = new encuestadoSQLiteHelper(this, "DBEncuestado", null, 1); final SQLiteDatabase db = encuestado.getWritableDatabase(); String nombre = "...
asked by 06.03.2017 / 13:28
1
answer

Implement RecycleView

Good people, I am trying to implement a recycleView, the thing is this, I have several layouts, which have many fields (editText, textView, etc). Since there are so many fields I can not load them all of one but it is very overloaded, I need a w...
asked by 06.03.2017 / 14:49
1
answer

How can I parse an XML String?

I am doing an application on Android, my error is as follows, from the Application, I send a parameter to a query, from a php, within this php, when it makes the query, it generates a response in a way structuring an XML. (I enclose the php so y...
asked by 19.04.2017 / 17:17
1
answer

Android Studio Modify graphic part of the xml, from java code [closed]

I hope to explain well what I want to achieve: I'm from java code, defining buttons, TextView etc. but I'm having problems defining its properties, specifically for example: to a button, give property of padding, margin etc. I would like to a...
asked by 09.03.2017 / 19:14
1
answer

GoogleSignInApi does not allow me to login with a google account

I have encountered the following problem, I need to access from an application to a google account that will be selected at runtime in order to access the printers that this account has added in Google Cloud Print. In this question from OS in...
asked by 21.03.2017 / 15:47
1
answer

Rotate an image in Mobile with Javascript

I am trying to make an image (particularly a roulette), rotate via css / javascript, for an application made in Jquery mobile and packaged in phonegap. With the code that I have, in PC, it turns perfectly, but when installing it in the cell phon...
asked by 06.03.2017 / 22:51
1
answer

Exporar ArrayList from one activity to another

I have an ArrayList called "answers" in an activity. And I want that, when in an activity where a survey is created, a certain question is answered, add the answer, which is in string, to the array "answers". But I can not because the array is n...
asked by 06.03.2017 / 20:43
1
answer

Sort a FirebaseRecyclerAdapter

Hello, I'm doing an app that shows the days of the week from FireBase, the problem is that I have messy and I want to be ordered. I have searched in many places and they put in order with the sort method of the adapter: link The probl...
asked by 22.02.2017 / 19:10
1
answer

Error after "run app" in android studio [duplicated]

I get this error in android studio when I try to launch the app (run app) to the mobile connected by usb to the pc to test it:    Error: Execution failed for task ': app: transformClassesWithDexForDebug'.    com.android.build.api.transform....
asked by 22.02.2017 / 11:32
1
answer

How to create a file with the data of an InputStream using commands?

I have asked this question to be able to solve my doubt or obstacle, which is: I want to be able to create a file but not empty already created with its data from the command terminal. Why from the command terminal and not from java with...
asked by 20.02.2017 / 21:34