Questions tagged as 'android'

1
answer

How can I go from one activity to another without losing data?

In my RegistroPedidoActivity I have two buttons that take me to two Activities: SeleccionProductoActivity and SeleccionDatoActivity and SeleccionClienteActivity . First I must go to SeleccionClienteActivity , wit...
asked by 05.09.2018 / 00:47
1
answer

Show an ImageView and TextView Running [duplicate]

Show a ImageView for 1s and after the time the image is deleted and then show a TextView for 1s, and so on until you go through the% List . way to do it: Code: This way it is working: Thanks to the contribution of:...
asked by 16.04.2017 / 06:02
1
answer

Android custom layouts

How can I make two containers in a layout that I have created? The idea is to try to do something similar to what is highlighted in the following image. And try to insert something similar in the topLinearLayout of my code In t...
asked by 21.04.2017 / 23:37
1
answer

Get a list that I sent to the Adapter within the Viewholder

They commented to me that it is the ideal practice to use the OnClick inside the ViewHolder, but if with the OnClick I should use the values within the list that I use in the Adapter, how can I get the list? I just passed the list to static, but...
asked by 27.04.2017 / 15:49
2
answers

Show information FireBase

Hi, I have a PPP where I keep information about a notice in FireBase, when I have it and keep it fairly well and will keep me on each user sending notices. Now I need to show all that information on a different screen, I tried to do it with a...
asked by 26.04.2017 / 13:09
1
answer

how to know if there is connection or not with download manager on android

I have the url to connect but I need to verify to know in what way I can say when there is connection or not through a toast.Greetings and thanks in advance     
asked by 27.02.2017 / 04:32
1
answer

Change the font type only in the title of the Activity

Cordial greeting, In my styles.xml file I have managed to change the title of my second activity with title_activity_options, as well as the color of the bar: <resources> <!-- Base application theme. --> <style name="Ap...
asked by 02.03.2017 / 04:31
2
answers

Problem with arranging objects on android

EditText[] PNacionales; float [] Calculo; int x; PNacionales = new EditText[] { (EditText) findViewById(R.id.PRextra), (EditText) findViewById(R.id.PRprimera), (EditText) findViewById(R.id.PRsegunda),...
asked by 12.03.2017 / 22:22
1
answer

How can I load more data into a ListView on Android when the end of the list is reached?

Good, in my project I need to upload a news section in my ListView , obviously I can already list them, the problem is that as I have many news what I want is to load them in parts, that is suppose I have 3000 news, What I want is to load...
asked by 15.02.2017 / 17:42
2
answers

Launch Window from the Android background

I am trying to launch a window when an action is executed on my app. The problem of this scheme can sometimes be executed in the background, which is why sometimes I will have to launch it without an activity: I am running this fragment: pu...
asked by 16.02.2017 / 14:38