Questions tagged as 'android-studio'

1
answer

Android app always vertical?

I want my APP to only run vertically but I can not, I have implemented the following without success. Manifest: < application ... android:configChanges="orientation" android:screenOrientation="portrait"> Act...
asked by 27.04.2018 / 17:56
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
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

I can not access the files in my app from the Andoid Device Monitor

If you know what's wrong, please tell me. I have the mobile phone emulator open with the app that I want to see your files open. Just click on to open the android device monitor I get this Then I give it to yes and it opens but it...
asked by 02.02.2017 / 20:56
1
answer

Error in database, Android Studio

I have a method in the DBHelper class (which is where the database is created), and what I want to do in this method is read data from one table and add it to another table but it gives me the following error: 01-20 23:51:07.697 5880-5888/? W/...
asked by 20.01.2017 / 23:58
1
answer

Can an Activity be saved in a preference?

I'm creating an App, I've already finished it, but I start thinking as a user if I'm browsing and suddenly I'm forced to close the App or minimize it, it starts again with the activity that is predetermined in manifest de android ,...
asked by 06.01.2017 / 23:58
2
answers

Open an Url within an Activity

I have the following question: How to Open an Url in an Activity. This activity is my Activity_ Main, in it I have an image of a cardview with Url, but when I click it opens the browser options, but what I want is for these links to be...
asked by 04.01.2017 / 20:18
1
answer

Read data from a Custom Dialog generated in a Fragment

By clicking on the "Add Client" button that is seen in the first photo, it generates a dialog (of a layout) where I will enter data. I'm doing the tests to capture that data with a Toast but it returns it as null: "Added clientenull" (I...
asked by 24.10.2016 / 18:43
2
answers

Comments on android

How can I put comments for the classes imported into the gradle to read them as a description when implementing a method of that class?    The question is from android, although I suppose it also applies to Intellij IDEA.     
asked by 30.11.2016 / 16:56