Questions tagged as 'arraylist'

1
answer

Show only user-installed applications

Good friends, I'm developing an app for the user to share, back up .. from third party apps. Get create a list where shows all the app's. It turns out that I do not want the system applications to appear, I want only those that have been install...
asked by 10.06.2016 / 00:45
1
answer

ArraList java does not return data

My question is the following problem. I'm building an application (didactic purposes). In this has a Contact class that receives a String with a name, a String with the phone, and the builder initialize the date and time of the object's creat...
asked by 28.05.2016 / 18:25
0
answers

Listing DB data using SELECT and ORDER BY

Doubt There is a screen with an EditText and a Button. When entering any information in EditText and selecting the Button the system must redirect the information of the EditText to an activity and this activity should select in the BD all...
asked by 09.01.2016 / 00:06
1
answer

Comparing textView with txt using Android arrayList

I'm putting together a very simplistic project in which I display the processes that are running on android and compare them to a list in a txt file that has other processes. The intent is to verify that all processes that are appearing in the t...
asked by 17.10.2015 / 16:36
2
answers

What are the applications of arrays in day to day? (examples of its usability)

I did an internet search on the use of arrays and I found many results aimed at creating games only ... But outside this example, where else do I use arrays in everyday (application development for example)? I have this doubt because the book...
asked by 28.10.2017 / 20:27
3
answers

Check if the values of an array are all equal PHP?

I would like to check if all the values in my array are the same and I did it as follows: $minha_lista = array('a','a','a'); if(!empty($minha_lista)) { if(count(array_unique($minha_lista))===1){ return true; } else {...
asked by 06.12.2016 / 12:29
2
answers

How to store split strings in an ArrayList?

I'm doing a job where I need to save the information for a checking account, I need to read the information in a file (text) and split this information to divide it into account code , name and balance . Also, I need to save this information...
asked by 31.03.2017 / 16:09
1
answer

What is the most efficient way to remove an item from the ArrayList? [closed]

I would like to know which of the methods available by class ArrayList is most efficient for deleting an item from the list.     
asked by 27.05.2017 / 23:11
2
answers

Working with vectors / arrays

Hello, I have the following question, I have 5 vectors string[] Defesa = { "Gigante", "Golem", "Gigante Real" }; string[] AtkTorre = { "Corredor", "Ariete de Batalha", "Gigante Real" }; string[] AP = { "Bárbaros de Elite", "Gigante Real", "P...
asked by 09.04.2018 / 22:37
3
answers

Getting values in String from ArrayListObject

I get all my values from the database and I put it in array list<object> I would like to know how to access the value inside that emu arraylist, for example TesteLinhas.get(0).toString() or something like this returns me to w...
asked by 29.01.2017 / 14:37