Questions tagged as 'android'

2
answers

Is it possible to have two projects with the same package name?

My idea is to be able to use the same Google.services.json file for two different projects, since I have a limit of 3 projects in firebase and I have already used the maximum. I want to be able to use the same json file for two apps that use the...
asked by 03.12.2018 / 01:33
2
answers

Is it possible in Android to save in a variable a reference to an Activity to be used later in an Intent?

I have the following code, which listens for the clicks that occurred in the elements of a RecyclerView to call another Activity according to the item pressed. public void onItemClick(MainItem item) { Intent i; switch (it...
asked by 06.12.2018 / 19:51
0
answers

enter a list in webservice with asyntask

I would like to enter a list of sales of the day in the web service, but I always enter only the first line of the list. Does anybody have an idea? this goes on global variables and the oncreate of the activity List<"OrdenDetalleEntity"...
asked by 06.09.2016 / 17:39
0
answers

How could I fill out a list [closed]

How I could fill out a ListView. Using button to call another activity and enter the data that I want to show in the activity that has the list.     
asked by 07.09.2016 / 18:35
1
answer

Check existence of a directory

I have a problem and I can not verify the existence of a list of addresses obtained from a JSON file using retrofit. This is part of my code: @Override public void success(HypedModelsResponse hypedModelsResponse, Response response){ int...
asked by 08.09.2016 / 21:57
0
answers

Is it possible to create a new Google calendar from an Android App?

I want to create a Google calendar programmatically that is synchronized with the Google account. I've been searching and using ContentProvider allows you to create local calendars with type ACCOUNT_TYPE_LOCAL that do not allow...
asked by 09.09.2016 / 10:30
1
answer

How do I call the method requestCoffee to the method on click

In the onClick method I have to add the call to the requestCoffe method but I do not know how to do it private void requestCoffe(){ RequestQueue queue= Volley.newRequestQueue(this); JsonArrayRequest arrayRequest=new JsonA...
asked by 29.06.2018 / 20:14
1
answer

Android - Method setOnMarkerClickListener execute the second click

I want to know if you can perform the setOnMarkerClickListener method, but perform the scheduled task on the second click. googleMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override...
asked by 26.06.2018 / 03:17
2
answers

SVG image or PNG image

I would like to know if it is possible to guide me about loading svg images into a FrameLayout element. I have a LinearLayout element where inside there is a WebView and a FrameLayout , within this FrameLayout...
asked by 19.04.2016 / 16:17
0
answers

ERROR W / EGL_emulation: eglSurfaceAttrib not implemented

I am developing a mobile app on the android platform which should consume webservices asmx, I have already implemented my class to AsyncStack .. but to mail my app in my emulator ... send me this error in the android monitor W / EGL_emulation...
asked by 14.04.2016 / 17:00