Questions tagged as 'android'

1
answer

Double Click Android

I'm developing an application that has a list in RecyclerView and the idea is for the person to choose one or more products from this list and change color to show that it is selected, but in case the person chooses the wrong one, a doubl...
asked by 18.09.2017 / 21:55
1
answer

Create new node in Firebase

I'm developing an application for chat rooms on Android using Firebase. The current structure is as follows (being Siege, Beauty etc rooms): Sofar,userdataisbeingstoredwithFirebasedefault,com.google.firebase.auth.FirebaseUser;,butnowIneedtos...
asked by 13.09.2017 / 16:44
1
answer

When I click, I want to define the phrase through the indexes

As you can see in the code, when I click I'm defining the phrase in a random way, but when I click, I want the phrase to be defined by the indexes myself, how do I do this? Public class MainActivity extends AppCompatActivity { private Tex...
asked by 13.10.2017 / 05:31
1
answer

COUNT on firebase

Hello, Is it possible to do COUNT (record count) in the firebae database? Because I would like to return in my app the total number of occurrences created (TODAS of all users) and total per user, but, I do not know how to do count in the fire...
asked by 14.10.2017 / 15:45
1
answer

Navigation Drawer - Change color menu

Hello, I'm implementing a navigation drawer in my android application and for a design issue I would like to know how to change the background color of the activity_home_drawer, where are the menu items?     
asked by 07.09.2017 / 16:52
1
answer

Haversine formula for SQL SERVER

Well, I have an Android app that uses Google Maps API. On the map, I get data from a SQL Server database. I need to create a radius in KM in which I just load the data from the bank that are within this radius. This is based on the current geolo...
asked by 08.09.2017 / 03:14
1
answer

Searching for parameter by editText

I'm having trouble fetching some data from a specific parameter in my android app, in webservice I already search and using GET already with the data I want it brings me the data, but I need it when I insert a text inside my edittext and hit the...
asked by 28.08.2017 / 16:13
1
answer

Disable checkbox in RecyclerView

Each item of a RecyclerView contains a Checkbox , and when selecting a checkbox you would like to disable all other checkboxes. I created setOnCheckedChangeListener inside onBindViewHolder and I believe I should dis...
asked by 29.08.2017 / 17:06
1
answer

Space between ImageButton Android

I wanted to leave a space between the ImageButton, and a space between the ImageButton and the sides, but I can not. I would like the application to look something like this: ButsheisthiswaywiththeImageButtonalltogether,andpastedonthesideoft...
asked by 29.08.2017 / 07:16
1
answer

How to notify the Jsoup function

I have to notify an action that occurs within the site, I have the following code that. Appears in a texview and wanted to notify enves of sending the name to textview. TextView txv; @Override protected void onCreate(Bundle savedInstanceState)...
asked by 26.08.2017 / 19:48