Questions tagged as 'android'

2
answers

Make a chain of if and pick up a value for a variable when it meets the conditions

What happens is that I made a chain of if () with many conditions and I hope to collect a different value for "TipoAtencionX" depending on each of the conditions. Example: If you meet condition 1, I want "TypeAttendanceX" to be "attention1"....
asked by 12.06.2018 / 14:08
2
answers

Add two edittext while typing, error Resources $ NotFoundException

Tara = (EditText)findViewById(R.id.txtTaras); Tara.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @...
asked by 31.08.2017 / 17:52
3
answers

Problem with android notifications [duplicated]

Hello I would need help with notifications on android, I'm with an app that I need to send several notifications during the day, and I only get that if for example send three notifications I get the last, the first and second are ignored, I gu...
asked by 19.08.2017 / 16:21
1
answer

How can I get my firebase records from 10 to 10? [closed]

I have my database in firebase and I want you to return the data of 10 in 10 every time you press a button. How can I do this?? I am programming in android studio and I am new in this of firebase Thank you very much ... This is what I'm doing...
asked by 19.07.2017 / 15:53
1
answer

First steps on Android

Recently I started learning a bit about Android and working with AndroidStudio. I have a project that serves as a study, but it was developed in Linux and I use Windows 8.1 when compiling it, it shows me the following error:    Error: (1,...
asked by 05.07.2017 / 14:17
3
answers

Android - Use a database?

I'm developing an application for Android , what my application does is just show ListViews with information (Approximately 100 items). This information will always be the same and will never change. What I want to know is: What is the...
asked by 14.11.2016 / 20:11
2
answers

Pass data from activity to fragments [closed]

I am trying to pass a data from a Activity to a Fragment , this must happen when I press a button. I tried with Bundle or directly with get and it happens to me is a predefined data, but when editing the text field and joinin...
asked by 07.05.2017 / 00:01
3
answers

Get id ListView elements

I have a ListView where I have the buttons of a View of my application. The problem is that I do not know how I can give them "life" by finding their identifier. My question is: How can I get the id of each of the buttons that make up the list?...
asked by 28.04.2017 / 08:26
4
answers

make a listview fill the entire screen

I am developing an app where in one of the activities I have a listview. It is a dynamic listview that is completed with an own arrayadapter, so its extension is unknown. I would like it when it exceeds the size of the screen it reaches down and...
asked by 20.10.2016 / 09:46
2
answers

Firebase: Save UID in the database

I would like to know how I can save the uid that it generates for each user in the same database? I would like this uid to be stored below the sex field, that is to say that it will keep its own uid in every user that believes. And o...
asked by 25.12.2018 / 01:11