Questions tagged as 'android'

0
answers

Proper process

I need my Android-App to retrieve the configuration from the server once per hour via http-get. I'm new to Android, I've been fighting for days ... Finally I made it using AlarmManager. With setInexactRepeating (alarm type RTC_WAKEUP) trigger...
asked by 10.05.2018 / 10:34
0
answers

Problems showing Google maps in production

I have not been able to see Google maps in production mode, there are other questions that refer to this case, I have followed each of the indications and tips but I can only see google maps in the emulator but not when it is downloaded or updat...
asked by 24.04.2018 / 18:17
1
answer

Help with failure in an adapter of a recyclerview, when putting several items

and thanks in advance. I show you my code to see if you can tell me what my mistake is ... public class AdapterHome extends RecyclerView.Adapter<RecyclerView.ViewHolder> { private ArrayList<Item> items; Context context;...
asked by 27.04.2018 / 01:24
3
answers

Can an AlertDialog be customized with buttons and that these work as the default ones?

In my XML I set the view with 2 buttons (Cancel, Accept), and create my own class of AlertDialog and AlertDialog.Builder so that it is the same throughout the application. The question is that I want my Cancel and OK button...
asked by 12.03.2018 / 21:43
1
answer

Error saving document in SD

I am creating an app and I want to save a report with pdf. From what I have seen the itext library is a good choice. I have the problem when creating the document because it returns an error: open failed: EROFS (Read-only file system) T...
asked by 16.03.2018 / 16:07
3
answers

Format rut in TextView

I am working on an app which contains a form of Login (rut and pass), they ask me that when entering values in the field of rut it will deliver the format instantly, for example: xx.xxx.xxx-x . You can give me some suggestions on how to do...
asked by 19.03.2018 / 20:24
0
answers

How to move an object in a certain direction

Hi, I want to create the effect of throwing an object, in this case a circle that is drawn in the canvas . The problem is that I do not understand how to identify where to touch on the screen and move the circle in that direction. My final...
asked by 13.02.2018 / 17:43
0
answers

Error customizing a google maps marker

I thus define the marker with an asset vector taken from the library of the Android Studio itself. mMap.addMarker(new MarkerOptions() .position(agentepos) .title("Agente " + agentes.getMovil()) .sni...
asked by 03.05.2018 / 23:04
1
answer

Error Resources $ NotFoundException: String resource ID # 0x1 Android

I have a program that loads data in RecyclerView but gives me an error in: holder.curso.setText(alumno.getCurso()) getCurso() returns an int. This is the method where I get the error. I tried to cast a string, but noth...
asked by 02.05.2018 / 16:43
0
answers

Android studio does not allow me to emulate

I am using Android Studio in a virtual machine vmware , the machine I have configured it as in some tutorials indicated with the option in the processor Virtualize Intel VT -x/EPT or AMD-V/RVI . I have installed version 3...
asked by 24.01.2018 / 13:57