Questions tagged as 'android'

3
answers

How can I execute a method for about 10 minutes on Android and after that time stop running?

How could I do that, for example, a method or condition runs a few minutes and then stops working when the time limit expires.     
asked by 07.07.2016 / 23:24
3
answers

Problem with eclipse - Debian

happens that I use I am recently testing java, and I installed eclipse on my computer, it is not high performance, I decided to install the plugin to program android apps with eclipse and after finishing the installation of the jdk, when trying...
asked by 22.08.2016 / 03:25
2
answers

Versions - How can I know the version of my application through code? [duplicate]

How can I get this data from the gradle: versionName "1.0.2" Thanks in advance for the help     
asked by 16.05.2018 / 12:55
3
answers

Detect contour of a [closed] card

I have to make an android application that allows me to detect the outline of a card with the help of the camera and then take the image, Do you know if there is a library or an example that can help me make this app? Thanks for answering. Gr...
asked by 07.10.2016 / 22:05
2
answers

Activity is not displayed

Good morning, I am learning to program in java with the Android Studio tool ... I am trying to call another activity through a button but in the emulator, when I press the button, the application closes and the IDE gives me this error FATAL EX...
asked by 10.09.2017 / 23:42
2
answers

Calculate the age of a person in Android Java

How can you obtain the age of a person having your birth date in Date format? DateFormat dateFormat = dateFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()); Date dob = dateFormat.parse("1989-10-10");     
asked by 29.09.2017 / 20:45
3
answers

NumberFormatException making parse

I have a method that receives a series of parameters, one of them is a value of type Float and when trying to cast it to a int it gives me failure and cascates the application. The error occurs in the third row of the method, where I decl...
asked by 29.05.2017 / 10:13
2
answers

Refresh activity from a later activity

I have an app in which I launch a settings activity in which you can configure the w-fi and the url to show in the first activity. The problem is that, when you go back and return to the beginning app, the changes are not automatically shown. Ho...
asked by 26.07.2017 / 12:03
2
answers

Help with android studio various activitys, obtaining data

I have a program of 2 activities, the initial activity is a log that connects to a bd by remote control, establishes the connection if the user and password are correct. Now in activity two I need you to show me in a TextView the name...
asked by 10.11.2016 / 10:43
4
answers

how to connect android to mysql (external DB)?

Friends I am creating an app and I need to consult data from my host, so I have read this obsolete so far using the apache httpcient library now I must use threads, I'm not lost, any help or tutorial. first of all, Thanks!!! and eye is my first...
asked by 20.04.2016 / 16:59