Questions tagged as 'android'

2
answers

Can I put an image of the internet in an ImageButton?

It is possible to create a imageButton and within it put an image of internet . Can I do this with webView , but can it do with imageButton ?     
asked by 10.04.2015 / 14:30
2
answers

Hide the keyboard

As soon as the user clicks on one of the EditText of my Android application, the keyboard appears, however, it does not disappear when it finishes typing and clicks off of it. I would like to know which method would be appropriate, kno...
asked by 14.05.2014 / 16:20
2
answers

What is PushNotification really?

I've been in doubt now about PushNotification and if that's really what I want. To solve my problem do I need PushNotification ? See, what I want is this: When the user (seller) changes the flag of the database, this indicates that this selle...
asked by 24.09.2017 / 19:30
2
answers

Best practices in the interaction between Activities

I'm developing an application just to validate the interaction between activities and intents . I created 5 ImageButton with an image for each. Each button represents a movie and if the user clicks on one of them, it is di...
asked by 20.10.2015 / 15:09
2
answers

The location obtained by getLastLocation () always returns null [duplicate]

I'm making several attempts, but I can not get a user's current location using the Location API . I'm running the following example: public class MainActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks,...
asked by 20.08.2016 / 19:26
3
answers

What is the base.OnCreate (bundle) and what is bundle?

I'm starting with Xamarin studio and wanted to know what this "base" class is for, this method onCreate() and what is bundle ?     
asked by 06.10.2016 / 19:40
2
answers

How to transform String from time to an integer?

Example, I get a String with the time of day "16:20". The day has 1440 minutes. How to know in what interval from zero to 1440 is this time? An integer value.     
asked by 30.03.2017 / 04:24
4
answers

What are the main differences between Handler, Thread and AsyncTask? [duplicate]

The documentation for Android may end up being a bit confusing for those who are starting to understand better what are the differences between Handler , Thread and AsyncTask . Handlers are background Threads...
asked by 25.08.2015 / 13:20
1
answer

How to send data via POST and retrieve in PHP?

How do I send the data via POST with the send-json method, value 0, following my PHP code: // Recupera os dados $nomeUsuario = $_POST['nome']; $cpfUsuario = $_POST['cpf']; $bairroUsuario = $_POST['bairro']; $emailUsuario = $_POST['email...
asked by 19.06.2015 / 22:14
3
answers

Animation in pictures

Is there any way to make an image rotate for example by 90 degrees when clicked on it? I want that by clicking on the image, it takes a turn, like a clock hand for example.     
asked by 14.08.2017 / 19:15