Questions tagged as 'android'

1
answer

ExpandableListView inside TabLayout and ViewPager but not shown

Good! I need a help, I initially have a TabLayout with ViewPager and 4 fragments, 3 of them with custom lists and working correctly, in the remaining tab (fragment) I want to add an ExpandableListView with its logic implemented but I can not get...
asked by 06.03.2017 / 00:07
0
answers

Can MySQL data be displayed on Android without using listView?

Is it possible to display data from a query MySQL in different textViews without using a listView , taking into account that my query MySQL gives me only one row as a result? So far I have the following: MainActi...
asked by 05.03.2017 / 23:22
2
answers

cycle for does not travel correctly, replaces all by the last data, which are stored in a database

Hello Good day I'm doing my first app and what happens is that the information that will be in the application, will be extracted from a database and if I have a connection with it. I have a cycle for with which I call several states t...
asked by 03.03.2017 / 19:52
1
answer

Save Photographs in Horizontal Mode ExifInterface class

I have an application on android, when I take the picture, and every time I show it in an imageView, the image always changes its orientation. Is there a way to store it in the orientation I want? Can you take a picture in android studio and...
asked by 21.02.2017 / 04:54
0
answers

From HttpUrlConnection to HttpsUrlConnection

I was programming a code (which works without any inconvenience) that sends everything by HttpUrlConnection. It is the following: protected String doInBackground(String... url){ try { HttpURLConnection connection = (HttpURL...
asked by 13.02.2017 / 01:07
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 / 11: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 / 19:46
0
answers

Error java.lang.NullPointerException

an app launches the error java.lang.NullPointerException but I do not know what part of the code is wrong, I would appreciate it if you could help me, this is the code private class ImagePagerAdapter extends PagerAdapter { private LayoutI...
asked by 18.02.2017 / 14:56
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 / 11: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 / 18:52