Questions tagged as 'android'

1
answer

problems with Action_send: ActivityNotFoundException

Hi, I'm executing action_send but I'm stopped by the application I'm using android 7 and with other versions it works but with this it stops. String email = "[email protected]"; Intent intentMail = new Intent(Intent.A...
asked by 12.09.2017 / 04:07
2
answers

Get the device owner's contact on Android

In the Contacts application, the first one shown is the owner's. Is it possible to extract contact information from the owner of the device? I have searched for all the contacts available from the provider ContactsContract.Contacts...
asked by 18.09.2017 / 20:52
1
answer

When creating a project in Android Studio. Error ... cache.properties (The system can not find the specified file)

I wanted to tell you about my problem since I am a bit new to this and I still do not understand much about the Android Studio theme. Every time I create a new project in Android Studio I have the following error, no matter where I save the proj...
asked by 03.04.2016 / 04:54
3
answers

Mascara does not show decimals with 0

I have this class that I use as a Number Mask public class Mask implements TextWatcher { private DecimalFormat df; private DecimalFormat dfnd; private boolean hasFractionalPart; private EditText et; public Mask(EditText...
asked by 14.09.2017 / 17:32
1
answer

Passing onClick parameters of btn Android

I have this class that loads a WebView with a constructor where I must pass a String that is the link to the page. public class amazonWeb extends AppCompatActivity { String url; public amazonWeb(String url){ super(); this.url = url;...
asked by 31.05.2017 / 23:35
2
answers

listview prints repeated values

I have a listview that should print 13 fields, the problem I have, is that 7 are different and the other 6 are repeated, then I leave the code I use: Class Laws: public class Leyes extends Activity implements AdapterView.OnItemClickList...
asked by 17.04.2017 / 03:43
1
answer

Validate the existence of a URI before launching the intent on Android

Normally I use the try-catch to detect if the process of launching an Intent has been successful or not. For example to open the equalizer panel of the system configuration, there are models that have it and others the manufacturer has...
asked by 18.05.2017 / 18:35
2
answers

org.json.JSONException: Value

I am trying to fill a spinner with mysql data using php web services that return a JSONArray, the problem is that it is giving me back the error that says the title. private class consultarDatos extends AsyncTask<String, Void, String> {...
asked by 15.05.2017 / 03:13
2
answers

How to add image as Wallpaper on Android

On an Android device we can add an image as a wallpaper ("Wallpaper"),    What are the methods to programmatically add an image as   background on an Android device?.     
asked by 08.11.2017 / 18:56
2
answers

Element superimposed on a Framelayout

I put a FrameLayout blue (see image) and I move it with my finger, but it hides when I go over the edge of FrameLayout father, and the idea is that it is always superimposed, but that it is still added in Framelayout father...
asked by 31.01.2017 / 20:19