Questions tagged as 'android'

3
answers

return to the main activity in navigation draw

Good morning. When I launch my application, the first screen that shows me is the main container of the fragments that I have in the navigation draw. When selecting the items that take me to the different fragments I could not find a way to retu...
asked by 02.10.2017 / 16:28
1
answer

Show several markers stored in an array on the map

I am developing an application in Android Studio in which I connect to a server using SOAP and get something like that TCXXX,lat,long/TCXXX,lat,long I store each component in array where the latitude and longitude are d...
asked by 28.07.2017 / 02:23
2
answers

Format String

I have the following code: String convertedString = new DecimalFormat("##.###.###,##") .format(Double.parseDouble(Constantes.TRANSACCION_MONTO)); TXTTRANSMONTO.setText(convertedString); How do I make the app not crashee? I get an error....
asked by 13.08.2017 / 18:27
2
answers

removeView () AlertDialog on Android

I'm trying to show a personalized list within an alertDialog, everything goes well until the user clicks on an item followed by the alertDialog is closed and when I want to show the alertDialog again I get this error: The specified child alrea...
asked by 16.05.2017 / 19:07
2
answers

uri = data.getData () is null in Jelly bean

I am developing an application in Android Studio and testing it with my smartphone 4.2.2, I need to take a photo first and get its Uri to then cut it out. On the internet I found that for that it is used: url = data.getData(); But in the sa...
asked by 15.05.2017 / 21:43
1
answer

Fragments are created with a Gray background and not white as default

In my project, when I create a fragment, it creates them and the backgrounds instead of being White or Transparent creates it with a gray color, which at the time of executing any component of type gridLayout, for example, shows a gray color at...
asked by 19.05.2017 / 17:58
0
answers

Receive and read SMS content on Android

In summary my application calls a Raspberry with GPS that cuts the call and answers with an SMS with the coordinates in which it is. With my code I can call it, but when I receive the SMS I can not get my APP to detect it and read the content. I...
asked by 25.07.2017 / 21:24
1
answer

Use different strings.xml files regardless of Locale

I would like to know if, without changing the Locale of the app, there is some possibility to choose which file of strings.xml to use in the app. For example, if I have a file of strings.xml and when translating this I ha...
asked by 25.07.2017 / 10:01
1
answer

Android GridView update background Previous click

I am changing the color of the cells in a GridView depending on some comparisons. I have a method that checks if the number is closest to a randomly generated number, then I paint yellow if the selection is closer than the ones that have already...
asked by 21.07.2017 / 20:16
1
answer

Error updating APK previously uploaded to Google Playstore

I want to update the apk I uploaded previously in alpha and when I wanted to upload it, this error appears, could someone guide me in what I should do? please and thank you very much for your help     
asked by 30.05.2017 / 20:04