Questions tagged as 'android'

1
answer

Difference between current date and later date, late minutes, tracking

I want to calculate the difference in minutes between one date and another, however when this difference is greater than 45, I want it to say that it goes "x minutes late", if they pass "and" minute (s) should show: " x + and late minutes " I cu...
asked by 10.04.2017 / 22:26
0
answers

Android SDK not found

   Android SDK not found. Confirm that it is installed. If it is not   in the default location, set the environment variable   ANDROID_HOME. This is the problem that returns cordova when I use the command cordova requirements t...
asked by 06.04.2017 / 10:07
2
answers

Rotate N angle an ImageView respecting the initial angle in Android

How to rotate an image taking into account the angle it is currently? Example when pressing a button rotate an image 180º a 180º That is to say click 0º a 180º click 180º a 360º click botón 0º...     
asked by 24.04.2017 / 21:07
1
answer

How to redirect to a form of the app after validating the username and password in Android

I do not know how to explain myself but I will try to do it in the best possible way. I have been designing Android apps with the help of Eclipse and Cordova. My app can connect to an external database (web hosting). What it does is verify if...
asked by 13.04.2017 / 04:28
1
answer

Check username already registered Firebase Android

Backend: Firebase / Language, platform: Java, Android. The problem is this: If I use the code snippet that checks if the username was already registered, the app does not work and does not save the data in the database or register the...
asked by 13.04.2017 / 01:35
0
answers

java.lang.OutOfMemoryError: Failed to allocate to 24 byte allocation with 0 free bytes and 3GB until OOM

I have an Android application that constantly sends several data to my server, I need this data to be sent constantly throughout the day, however, sending the data takes about an hour and then the application closes and it shows me this error:...
asked by 30.03.2017 / 02:21
1
answer

Sockets Xamarin Android

I wanted to ask you, yes Does Xamarin Android support System.Net.Sockets'? I have tried it in the following way (this is a part of the code) IPAddress ipAd = IPAddress.Parse("192.168.1.4"); // use local m/c IP address, and // use...
asked by 27.03.2017 / 02:38
0
answers

web service json twitter

I'm trying to make an application to search a profile on twitter through a Json web service, I'm looking in the official twitter api uri to show the profile of a specific user. I use this:    link       (Example of official documentation)...
asked by 27.03.2017 / 05:22
1
answer

Retrieve id on an onclick Recycler

My problem is how to adapt this tutorial link Since I have a Recycler using a modified adapter (I think it's like that, I'm new) and I want to get an id for example of the title (name) of each item, since they are different, and that I crea...
asked by 25.05.2017 / 15:26
1
answer

Android-rest-ListView

ANdroid - Rest Services I need to invoke a restful service after clicking on a record in the ListView. The application restarts without marking error. If this event is handled by a button, it correctly consumes the service. They can help me see...
asked by 09.05.2017 / 14:38