Questions tagged as 'android'

1
answer

Compare JSONArray and the current server time

Cordial greeting, I have a Mysql database and I pass the value of a column called hour to a JSONArray, my problem is that I do not know how to compare if the time in database is greater than the time in the database server. JSONArray ja = n...
asked by 20.02.2017 / 16:52
1
answer

Perform a second URL query at the end of the first URL query

Cordial greeting, I have the following code: public class LoginActivity extends AppCompatActivity { GlobalVariables globalVariables; EditText miUser; EditText miPass; Boolean UsrOk; @Override protected void o...
asked by 20.02.2017 / 05:00
1
answer

Error generating apk [duplicate]

I have an error to the general my apk, my gradle is the following: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.taxiconductor"...
asked by 26.02.2017 / 05:47
1
answer

My TimePickerDialog and DatePickerDialog do not modify my EditText when I edit the person (Sqlite)

I have a clase that I use to add and edit people in my ListView with Sqlite , when I add a person my editTextFecha I edit it with TimePickerDialog and DatePickerDialog and it works perfectly, but when I e...
asked by 17.02.2017 / 17:07
2
answers

I need you to force me to change my TextView

I have a TextView that I fill with DatePickerDialog and TimePickerDialog , I also have to default by automatically adding the date and time of the day on which We are, because here is my problem. I have since I need to fi...
asked by 18.02.2017 / 13:47
1
answer

How to change toolbar when changing fragment in Android? [closed]

I have a lower navigation and when I change from one fragment to another I want the top toolbar to change the options.     
asked by 17.02.2017 / 19:33
1
answer

How can I go through all the editText of LinearLayout?

Hello guys, this time I would like to collaborate on the way in which all the EditText of a Linearlayout are covered: here my XML code still has nothing in Java: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http...
asked by 14.02.2017 / 15:55
1
answer

User movement between two points in Google Maps

I have a little doubt, I'm making an Android app of a subject I have and it consists of the fact that depending on the user's position, a nearby bar / restaurant is recommended to eat according to certain parameters that the user enters (radio ,...
asked by 09.02.2017 / 18:51
1
answer

custom views

I need to dynamically add to my main activity (a number) a view that I have defined in an xml file in the layouts folder. I have defined the custom view as a RelativeLayout where I have different types of views. The problem I have is that after...
asked by 18.03.2017 / 13:02
1
answer

Consume local web service from my android device

I am working with a Web Service made in ASP.NET, the problem is that I can not run the url localhost from my android device, I used the IP address of my computer in this way in the mobile browser: link or link but do not there's an answer, I...
asked by 29.04.2017 / 08:29