Questions tagged as 'android'

0
answers

How to request the consent of European users

I have tried to request the consent of European users for the new google policies, but I have not been able to use that sdk, or I do not know how to use it, I have already read the documentation but I do not get the screen where the users are re...
asked by 20.06.2018 / 22:18
1
answer

How to correct the error in activity_main.xml design?

The present error is:    java.lang.ClassNotFoundException:   android.view.View $ OnUnhandledKeyEventListener at   org.jetbrains.android.uipreview.ModuleClassLoader.load (ModuleClassLoader.java:180)     at   com.android.tools.idea.rendering.Re...
asked by 03.07.2018 / 21:06
0
answers

How to get the id of a view that I just added to a layout ..? (Android)

After: TextView iv = new TextView(this); iv.setText("Letrasletras"); //Este es el ID int id=100+1; //Aqui se asigna el ID iv.setId(id); ElLayout.addView(iv); Exactly in what way can I use the "findViewById" (or...
asked by 18.06.2018 / 23:41
0
answers

new request to an api

Very good I do not know if my question is well formulated. I will comment .. I'm doing an android app where I have a RecyclerView and Cardsviews. where I intend to show the results of football matches. obtaining the data of an API. So far everyt...
asked by 19.06.2018 / 03:26
1
answer

Problem calling an ImageButton from a Toolbar to a Fragment

What I'm trying to do is make visible in a Fragment an ImageButton that is contained in a layout toolbar. When doing this same action in a normal Activity does not give me any problem, but doing so in the Fragment gives me an error and picks up...
asked by 19.06.2018 / 01:05
1
answer

Start a service at a specific time

I am trying to create a service that runs and executes some tasks in back. It has to start running at one hour and finish at another. For example, a service that starts running at 3:00 and stops at 7:00. I'm seeing examples with class Ser...
asked by 18.06.2018 / 15:52
1
answer

change marker icon with contextual menu

I am developing an application in android studio. I have a map with several markers that I generate as shown in the image, when I click on the inforwindows I get a contextual menu with several options what I need is to choose an option the marka...
asked by 18.06.2018 / 15:47
0
answers

Move an image Bitmap from one Fragment to another

I have a problem that I still can not find a solution for. I have about an activity two Fragments one takes from a base remora a series of values in which an image is included. // PHP File while ($reg=mysqli_fetch_array($resultado)) {...
asked by 22.06.2018 / 19:14
0
answers

Google Maps: Get data from a bookmark and send it to an activity

My problem is as follows, I have a map in which there are several markers, which show two data that they collect from a database, what I want to do is to press a marker to show an activity with the marker data, but when I press a marker, it send...
asked by 19.06.2018 / 08:07
1
answer

AlarmManager does not work when the device is rebooted

I am making an application that, given a specific time and date, shows a notification on that date and time. Everything works normal but the problem arises when I restart the device, when this happens the notification does not jump as expected,...
asked by 17.06.2018 / 17:22