Questions tagged as 'android-studio'

1
answer

Navigation Drawer Activity with a Fragment that has a Button that brings data from a server

I created a project of type Navigation Drawer Activity as you will see in the image below: Where the Import - Gallery, etc sections treat each one as a fragment As you will see in the image above when clicking on Import in th...
asked by 13.02.2017 / 12:40
1
answer

Issue with permissions on Android Marshmallow [duplicated]

I am developing an application that allows you to upload a profile picture. For this I access the gallery through an intent. The problem comes with the read permissions, I solved them, in part, including in the manifest the following: <...
asked by 14.03.2017 / 20:46
1
answer

Go through all the rows of a custom listview and get the values of their respective Textview

I have a custom list which is loaded with radiobuttons and textview, by selecting a radiobutton (Yes or No) the textview changes to a value, at the end of the list I have a button that when pressed will go through row by row the listview, gettin...
asked by 15.03.2017 / 12:59
0
answers

Android app signed ANR when disconnecting from BlueTooth

I am developing an application that is giving me problems with Android 6.0 , when I compile the application directly from Android Studio via USB cable it works perfectly, but if that same code I sign it to upload it to the play store, that apk...
asked by 21.02.2017 / 19:52
1
answer

Load spinner in a specific layout

I had managed to deploy a spinner in a project but now I'm doing it loading it from different layouts and I can not show it, any idea of where to put the code I had before in the new project? ! [This is the interface, the two buttons above are i...
asked by 14.03.2017 / 09:48
1
answer

One of the SQLite columns is not generated in Android Studio

In one of the tables I have in my database does not generate a column and I do not understand the reason because I created it exactly like the other and the other does not give failures. When I call the cursor that reads the entire table, it...
asked by 06.02.2017 / 17:33
0
answers

Generate Alarms with respect to a specific day and time

I need to create alarms in android given the time, from so much research try to do it, I would like to be guided or give me an idea that I am doing wrong since I am noob (next to many) and the app does not generate me to the notification...
asked by 28.01.2017 / 14:19
2
answers

Problem with list of options with string-array on Android

I am creating a list of options. My problem is when I select and then I want to select that same option. Mark me error in this part: mMercado.remove(position); Strings Code: <string-array name="mercado"> <item>Nacional...
asked by 20.02.2017 / 07:31
1
answer

Change the Navigation Drawer information from its parent activity [duplicated]

Simple, I have a navigation drawer (auto generated by the andorid studio assistant) happens that he generates his main activity which calls the drop-down menu and this in turn is divided into 2 sections ie the header and the body ( that is, th...
asked by 20.01.2017 / 00:17
0
answers

I have a ListView in a fragmet and I want to go to another fragment

when I run the app it closes. This is the error:    01-18 12: 33: 01.371 5953-5953 / com.aguila0017.fruits E / AndroidRuntime:   FATAL EXCEPTION: main                                                                        Process: com.aguila0...
asked by 18.01.2017 / 18:40