Questions tagged as 'android-studio'

1
answer

Android Action_DIAL error "No Activity found to handle Intent {act = android.intent.action.DIAL"

When making a call using Action_DIAL I get the following error: 09-28 16:47:31.610 2079-2079/? E/AndroidRuntime: FATAL EXCEPTION: main java.lang.IllegalStateException: Could not execute m...
asked by 28.09.2017 / 18:52
2
answers

Android Studio: The opening quotes should be used for the 'X' attribute associated with an element type 'x'

The following error occurs to me and I do not know why:    Error: Execution failed for task ': app: processDebugManifest'.   com.android.manifmerger.ManifestMerger2 $ MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 17; colum...
asked by 31.08.2017 / 13:43
1
answer

Create Button to return to the Android studio application

I have 2 Activities: Mainactivity.xml and Messages_predet.xml I have a button that directs me to the second activity without problem and it will send other activities, but in each one I have to place a button (imagebutton) that will bring me...
asked by 17.08.2017 / 20:49
1
answer

Pass a value to a Textview that is in another Layout that is not loaded in the setContentView ()?

I have a problem sending text to a TextView, the problem is that the TextView to which I want to send the text is in a Layout that is not loaded in the setContentView (). This is the nav_header_main from where I try to take the TextView:...
asked by 15.01.2018 / 20:00
1
answer

No permission to write APN settings

Greetings, I am developing an Android application to create an apn, the problem persists in that it generates an exception of type Java.Lang.SecurityException In my manifesto I have a permission uses-permission android:name="android.permi...
asked by 14.08.2017 / 19:31
2
answers

Generate Random on Android and place them in a Text box

I have 3 XML files in my resources, these are: <resources> <string-array name="nombres"> <item>Ivan</item> <item>Jose</item> ... </string-array> ... </resources&g...
asked by 14.07.2017 / 18:00
1
answer

Android Studio message: Missing Constraints in ConstraintLayout

It was not until recently that I learned in Java how to program applications on Android and I am practically a novice in this technology, it would help me a lot if you helped me with this warning message.    Message: This view is not constrai...
asked by 01.07.2017 / 01:45
2
answers

Security certificate in android studio + Volley

I am using the following code to generate a Singleton instance of the Volley class and incorporate a security certificate, the problem is that now I need to attach another certificate and I have no idea where to do it. public class VolleySingl...
asked by 07.12.2018 / 13:39
2
answers

Error: NumberFormatException inside an Asynctask: java.lang.NumberFormatException: For input string: ""

I convert the whole number that the user enters to hour / minutes / seconds as follows int time = Integer.parseInt(minutos.getText().toString().trim()) * 60 * 1000; i.putExtra("tiempo",time); startService(i);...
asked by 13.11.2017 / 23:03
1
answer

Error: Attempt to invoke virtual method 'java.io.FileOutputStream

I have an error that I do not understand because it shows, I have two classes one is the class called Dialogue that extends from a DialogFragment, in this class I have a method called onClickSavePersona , this class uses it to create a dialog b...
asked by 05.03.2018 / 16:45