Questions tagged as 'android'

0
answers

Check Checkbox depending on an Arraylist

I have a listView with an editText and a checkBox, what I want to do is that the checkboxes in the listView appear checked if this is the value of the editText in an arrayList I leave you some code so that it can be identified: The xml of the...
asked by 27.12.2018 / 10:45
0
answers

Ask for insertion or update query in SQLite Android

In my application I have defined a database in which I will store numbers from 1 to 99 as they go out, if they leave more than once it will be stored how many times each one has left. The problem comes to me when formulating the query, I need th...
asked by 29.12.2018 / 18:38
0
answers

sqlite listview query

import java.util.ArrayList; import java.util.List; import static java.lang.Integer.parseInt; public class MainActivity extends AppCompatActivity { BDPaises conn; ListView lista; ArrayList<String>lis; ArrayAdapte...
asked by 01.01.2019 / 19:24
1
answer

WebView Android studio

I am trying to load a web page and my application works perfectly. The problem I have in that the web has a header that I would like to hide is the following data: How can I hide it? <div id="progression-sticky-header" class="" style="z-...
asked by 27.12.2018 / 16:09
0
answers

Modify selected element of a GridView filled with TextView

I find a class exercise in which I have a GridView to which I have put an Adapter , this is filled with TextView , which have a number each. The functionality of my program is to know if any number that I select from my GridView ha...
asked by 25.12.2018 / 15:58
1
answer

Filter by dates with rawQuery

I can not filter by end date on an SQLite. For this I have created a method which is passed 2 dates, one start and one end. private void consultListaDietas (Date di, Date df) { SQLiteDatabase db =conn.getReadableDatabase(); Dieta...
asked by 25.12.2018 / 12:44
0
answers

RecyclerView with Dates

I want to filter in a recyclerView With Dates. To do this I make a query on the db SQLite, the dump in a cursor. I have created a method to which two variables type date di=fechaInicio and df=FechaFin are passed. My problem is that...
asked by 25.12.2018 / 21:27
1
answer

Error logging into the database: remove from the app

I have problems with my database, I try to login but it takes me out of the app. public class MainActivity extends AppCompatActivity { Button bt_Ingresar; Button bt_registrarse; EditText et_Nombre, et_Password; private Cursor...
asked by 25.12.2018 / 10:05
0
answers

attach pdf files to an email

I can not get Android N versions or higher when trying to gmail content to write me the email, add the attached file, I say, uri.fromFile without problems but with Uri.parse. He tells me he could not attach anything. these are my permissions...
asked by 24.12.2018 / 09:29
1
answer

How to mark all the checkboxes of a Listview through another Checkbox

I have the following xml: <TextView android:layout_height="50dp" android:layout_width="match_parent" style="@style/AlertDialog_TPV_family_Style_Title" android:gravity="center" android:layout_marginBottom="20dp" an...
asked by 21.12.2018 / 10:25