Questions tagged as 'android'

2
answers

setOnItemClickListener just take me the value of the first item in the list in android

Hi, I would like you to take a look at my code, the list of the filling from a call in the database where I dump the values in that list. What I want to do is that when you click on an item in the list, the data is displayed on an alert dialog....
asked by 22.05.2018 / 17:48
1
answer

Android PayPalPayment: invalid long

I have an error in android studio , my code is: private void ProcessPayment() { montoPagar = montoTotal.getText().toString(); PayPalPayment payPalPayment = new PayPalPayment(new BigDecimal(String.valueOf(montoPagar)),"$","USD",Pay...
asked by 03.07.2018 / 17:31
1
answer

How to show a local folder image to an "ImageView"

I'm trying to show an image that is stored in the "drawable" folder and I'm using'setImageURI 'but for some reason I'm not sure the code is not working for me. The information that I am uploading in the app is from a json file in which I have...
asked by 29.06.2018 / 18:09
1
answer

Android Studio transfer objects between activities [closed]

Hi, I'm having a problem, and I do not know how to send an object to another activity. They told me that I could through the putExtras (), of the intent. But I could not     
asked by 09.03.2017 / 04:05
1
answer

Pixelated image when taking Android photo

I have an application in which I use the camera, the problem is that when I take the photo, in the preview of the Android camera application I see the pixelated image, here an example: I access the camera in this way: val takePictureI...
asked by 23.04.2018 / 20:18
1
answer

AutoCompleteTextView does not work when giving space

I have a TextAutoCompleteView, which brings the data from a WebServices and when loading the adapter to make the suggestions, everything works perfectly. The problem I have when including a space, since it eliminates all possibilities. E...
asked by 16.02.2018 / 16:49
1
answer

Load content script "Playbuzz" in a WebView

I try to upload content from a "playbuzz" script within WebView , I found a way to do it, which is loading the script in a web page: String urlPlayBuzz = "http://www.jorgesys.com/playbuzzcontent.html"; webview.loadUrl(urlPlayBuzz);...
asked by 13.12.2017 / 04:42
1
answer

How to do an AUTOUPDATE to update without PlayStore in Android Studio?

Do any of you know how to update an application that will not be uploaded to the Play Store? I thought that when you start the application it will verify its internal version number (Versioncode and VersionName) and compare it with a WebServi...
asked by 18.01.2018 / 18:09
1
answer

mkdirs () do not create folders on my sd card

Good morning programmers ("the magicians"). I'm going to the following: I need to create files on the SD card, whenever I try to create it ends up creating it in the memory of the phone and not in the external SD. My code is as follows: String...
asked by 09.03.2018 / 13:06
1
answer

How to attach .txt in an email (Android Studio)?

I am trying to attach a ".txt" file in a message.  When I run the application, and in principle it is when the message should be sent, nothing is sent, I do not know if it is because it does not take the file well or because reason. I want the m...
asked by 10.11.2017 / 22:12