Questions tagged as 'android'

1
answer

Error sending ArrayList via POST in Retrofit 2: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING

When I try to send an ArrayList via @POST to be saved in my webserver with Retrofit2, the ArrayList is saved, however I am getting the following error:    java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1...
asked by 29.12.2015 / 14:34
1
answer

WebView - Update option only appears once in onReceivedError, see more

Hello, I'm developing a project for my site, and until then it's getting really cool. But I had a problem and it is as follows, whenever the page of error I called the Snackbar feature, it looks like this: webView.setWebViewClient(new WebViewC...
asked by 01.03.2016 / 15:18
1
answer

Disable Fabric Answer

I have the Crashlytics added to my app. Today out of curiosity I've enabled the Answer on the dashboard of the Fabric.io . Would you like to disable it? I looked for several options in the dashboard of the site, but I did not find any...
asked by 26.02.2016 / 20:33
2
answers

Toast is not displayed with the GPS position

I'm developing a very simple app, when the app runs it opens a TOAST with my GPS position. The app is running normally, but TOAST is not showing. What could be wrong? AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <mani...
asked by 22.11.2015 / 15:36
1
answer

What happens when the subscription key expires?

I have read that when the application signing key expires we can no longer update our application on Google Play . The Google recommendation is for this key to have an expiry date of at least 25 years. Taking this into account, I have a...
asked by 08.12.2015 / 12:48
1
answer

How to rotate imageView 90º?

Hi, I'm doing an Image editing app and I need to know how to do a 90-degree rotation of an imageView and replace the original with the rotated image I searched the sites and found this way, but when I do the rotation, the image gets very small a...
asked by 08.12.2015 / 23:18
1
answer

Pass the item name clicked on the Android ListView

I have a code that I get the ID of the item clicked on ListView and step to another Activity , but I would like to get the name clicked and not the ID. My code: if (controle != null) { controle.setOnItemClickListener(new Ad...
asked by 09.12.2015 / 13:47
2
answers

How to receive two data in a listview but only present one and use the other in the click?

I have a listview where people name and when I click on a person I use the adapter.getitem(position) that takes the person's name, however, I needed to get the id of the person and not the name. Does anyone know how I can do this? Briefly...
asked by 30.11.2015 / 19:48
1
answer

Date and Time Update to check if it is online

In my android app I have a service that sends from time to time a user location and saves in another field lastUpdate the day and time the update happened. I currently use Calendar.getInstance().getTime() to get the Date and send it to th...
asked by 27.01.2016 / 02:55
1
answer

Ubuntu Cordova - Build with problem

I'm uploading the cordova on Ubuntu 64, but I'm having a build problem. [Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to inc...
asked by 26.01.2016 / 19:54