Questions tagged as 'android'

2
answers

Activity does not work when you add id to button

I have an activity whose xml code I leave below, the problem is that when I add an id to a button inside the xml of the activity, like this: android:id="@+id/pinbutton" The activity no longer raises and closes the application, returns this...
asked by 27.05.2016 / 00:02
2
answers

Unable to delete Sqlite table

I want to make sure to delete a table (if it exists) before creating another table with the same name. But this does not happen, I realize because I make changes in the code and command to compile and execute, and I only notice the changes (whic...
asked by 28.05.2016 / 21:26
1
answer

Detect onBackPressed () from the main activity

I have an application with a button that takes us from Activity A (Main) to Activity B, I would like that when I close activity B with an onBackPressed () the application A (Main) will detect that it is the activity again active and act by makin...
asked by 13.06.2018 / 23:22
1
answer

SQLite query

When I want to ask a question, the program closes. I attach the code: public void consulta (View v){ AdminSQLiteOpenHelper admin= new AdminSQLiteOpenHelper(this, "administracion", null, 1); SQLiteDatabase BaseDeDatos=admin.getW...
asked by 14.06.2018 / 01:36
2
answers

Passing data from one activity to another, does not validate the Key

a query. I try to send data through a variable from one activity to another, but I can not extract the value. I send it this way: Intent intent = new Intent(this, EssenMain.class); intent.putExtra("foto",account.getPhotoUrl());...
asked by 25.06.2018 / 23:55
0
answers

Problem loading admob ads

I have problems implementing rewarded ads in my app. I'm using admob for the ads and I followed all the steps indicated here: link link But when launching the application it tells me that the ad failed to load. I am doing something wro...
asked by 25.06.2018 / 01:11
0
answers

YouTube videos with ReyclerView Android [closed]

How do I do this? that are updating themselves     
asked by 12.07.2018 / 20:00
0
answers

Ionic gets the contacts very slow

By obtaining the contacts through the cordova-plugin-contacts plugin. When I run the script to get about 300 contacts is very delayed, it lasts 8 seconds approximately, does anyone know a solution? Ionic Info: cli packages: (/ usr / local...
asked by 12.07.2018 / 18:58
1
answer

Problem with the context of a Toast

The program marks me error in the context of toast . I already tried with getApplicationContext() , with NombreActivity.this and with only this . I have a main activity called ReaderActivity, from it I send a call to...
asked by 12.06.2018 / 23:03
1
answer

HELP! "Falied to resolve: com.android.support:appcompat-v7:28.+"

I just installed version 2.1.2, but when I opened my project I got this error: When I click on Install Repository it does not open anything, it does not do anything. How can I solve it?     
asked by 27.06.2018 / 19:50