Questions tagged as 'android'

0
answers

Place different TextView on top of ImageView always in the same place

Hello! What I need is that the textview are always in the same place as the imageview using match_parent for layout_width and layout_height in the. This is how I want it to be on any screen (The test would b...
asked by 31.03.2018 / 00:35
1
answer

AsyncHttpClient does not run onSucces or onFailure

I execute the DNITaxistes method, but when I make the call, I do not execute the code of the onSuccess and neither the one of the onFailure , it directly exits the method. The searchTaxist method executes another asynchronous call....
asked by 29.05.2018 / 00:27
0
answers

How to use in the Android studio the gradle that is installed in linux?

I installed the gradle that is in the linux repository 9. How can I use it from the android studio to not use the one that brings android studio? greetings     
asked by 30.03.2018 / 17:44
0
answers

The data is not shown in the listview with SQLite (Android studio)

I am creating an application in android studio, on a menu of a cafeteria, what I want to do is that when the person clicks on the "hamburger bbq" button (to give an example) a dialogue box is displayed that ask if you really want to add the hamb...
asked by 31.03.2018 / 00:18
0
answers

RUT format in TExtview

I have the following Login class. public class LoginActivity extends ProgressBarActivity implements LoginActivityContract.View { private final static String TAG = LoginActivity.class.getSimpleName(); LoginActivityPresenter presenter; LoginAc...
asked by 27.03.2018 / 06:13
2
answers

How can I rename a database on android?

What happens is that at the beginning The database name without the extension ".db" and when reviewing data does not appear but if I create a new one with the extension ".db" if it appears, this is uncomfortable because I can not see what is hap...
asked by 27.03.2018 / 16:03
0
answers

Sort items in a RecyclerView using StaggeredGridLayoutManager

I am creating an application where users create elements with an image and they are displayed as a list. It looks like Google Keep, where the elements created do not have the same height but the same width, distributed in two columns. The order...
asked by 27.03.2018 / 04:49
0
answers

Why does it fail to add row in Mysql?

I have an android application connected by webservice to a database in Mysql, when I add rows to an already created table I get to number 12 and from there it does not let me add more, since when I open the application to see that data , they do...
asked by 16.03.2018 / 22:08
1
answer

Retrieve data from a Fragment from another Fragment

Let's say I have a Activity called MainActivity that has three Fragments    F1, F2 and F3 These three'Fragments' are loaded from the MainActivity in the following way: public void initFragments(){ FragmentManag...
asked by 15.03.2018 / 16:22
1
answer

How to compare hour system against a set time

I need to compare a set time against the system time, but I jump to the message "there is nothing", please help me determine what I need so that at the end I get the message "hello" when that time is in the system. This is the code: package...
asked by 03.04.2018 / 06:28