Questions tagged as 'android'

1
answer

How to change the color of the Toolbar menu icon on Android? [duplicate]

By default it appears white, what I need is to put the background in White and the icon in orange, how could the color of the icon change?     
asked by 21.12.2017 / 03:28
2
answers

Specify Minetype in Intent for geojson type in Android

I have an app that generates a track in geojson format and I would like to give the possibility to share the file using intent in Android, but in minetype specific application/json but of course that makes any app that can r...
asked by 09.11.2017 / 13:43
2
answers

How can I calculate the distance between 2 points on Google Maps V3

Good afternoon. I am using the Google Maps API which I must trace from any location and trace a line to my geolocation. This I have already accomplished, but the problem is that when I perform the calculation using SphericalUtilities....
asked by 11.11.2017 / 22:36
2
answers

Get a response from USSD Android Studio

I am currently facing the problem of getting the answer from a USSD call, I have researched a bit and found that just from the API 26, OREON, Android I get an api called TelephonyManager.UssdResponseCallback link that the code to execute...
asked by 25.10.2017 / 16:23
2
answers

Events in Adapters listView

I am in the dilemma of having a listview, with a custom adapter I have the following adapter What I would like to achieve is that if you click on the sign to accept, or if you click on the sign to reject something happens, The fir...
asked by 23.10.2017 / 22:23
1
answer

Android Studio Filter, ListView With Perzonalized adapter

I have the next class public class ContactsListDialog extends Dialog implements DialogInterface.OnClickListener { private ListView list; private EditText filterText = null; AdapterMostrarContactos adapter = null; private sta...
asked by 24.10.2017 / 21:57
1
answer

Change KEYBOARD LANGUAGE android

Currently I find that using my MASCARA class for the amounts written, as the phone reacts differently, this is my mask class public class Mask implements TextWatcher { private DecimalFormat df; private DecimalFormat dfnd; private boolean...
asked by 03.11.2017 / 14:41
1
answer

What is the way to work with a JSONArray to fill a table with a database?

I am using a JSONArray object in an Android application to dynamically fill a table with the information obtained in the query. The problem is that until now I was working with a JSONObject, with which the table was filled, but it was only with...
asked by 03.11.2017 / 10:11
1
answer

How can I make a Toolbar with a transparent gradient background?

I need to achieve this effect in the Toolbar: This is the code I use to call Toolbar : //... Toolbar myToolbar = (Toolbar) findViewById(R.id.toolbarMap); setSupportActionBar(myToolbar); myToolbar.setTitleTextColor(getResources()....
asked by 21.10.2017 / 21:43
1
answer

Obtain control of an IMAGEVIEW CONTROL

I currently have a menu that is a NavigationView . Where this is made up of the header and the body , in the HEADER I have a image , which is the following <ImageView android:layout_height="100dp"...
asked by 03.11.2017 / 20:03